assembler Posted March 9, 2005 Share Posted March 9, 2005 When my hosted shared server has problems with its database server, I get a message like: Warning: mysql_connect(): Too many connections in /path/to/my/site/www/catalog/admin/includes/functions/database.php on line 19 Unable to connect to database server! I feel that displaying the entire path is a security risk. Has anyone dealt with this by creating custom error messages, suppressing the messages, emailing them, etc? I would love to be able to send a text page whenever this error occurs, and would like to have some sort of apology display to my visitors. Thank you in advance. My Contributions Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.