2007-01-01, 11:25 PM
The database for my site is currently down. I go to MyBB and I get this:
Gotta say, I'm not really happy to see the full server path there for all to see because of the database being down. MyBB should die(); with a vague "Could not connect to the database" or something. From the look of this error, it seems that MyBB was simply never written to deal with the database being completely unavailable.
Someone please fix that in the next version
Quote:Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /full/path/to/my/forum/inc/db_mysql.php on line 313
MySQL error:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /full/path/to/my/forum/inc/db_mysql.php on line 314
Query:
Gotta say, I'm not really happy to see the full server path there for all to see because of the database being down. MyBB should die(); with a vague "Could not connect to the database" or something. From the look of this error, it seems that MyBB was simply never written to deal with the database being completely unavailable.
Someone please fix that in the next version