Warning: mysql_connect(): Too many connections in /var/www/site/public/layout/top.php on line 49 Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /var/www/site/public/classes/Database.class.php on line 50 Warning: mysql_error() expects parameter 1 to be resource, boolean given in /var/www/site/public/classes/Database.class.php on line 51 SQL ERROR:
When I try to use it, I simply get a blank screen. It's been like that for around 4-5 days now.
After seeing whothere's post, I now noticed the text at the top. What we're looking at:
I don't know mySQL, but from reading it, there's a problem in the page's code itself from line 49 to line 51. What the code is saying:
Line 49 - It expects parameter 2 to be a resource.
Line 50 - It expects parameter 1 to be a resource.
Line 51 - There is a mySQL error with the boolean.