[vBulletin] Understanding vBulletin Database Errors!
We all hate that Database Error page, it's annoying, sometimes you don't know what's wrong.
Granted it emails you the DB error message, but sometimes you don't configure that email or don't have access for whatever reason, or simply want a faster way to view the error code.
Well, when you see this:
You know you're on the database error page, so this is what you do to see the exact error;
1. Right Click on that page > View Page Source.
2. Scroll to the very bottom before the html tags.
</body>
</html>
You'll see something starting with this:
<!--
Database error in vBulletin
For example:
Simply read that code and you'll have an idea of what's wrong.
For example, the code above:
The error is in red, it tells you.
Now you can either google search it or already know what's wrong.
We all hate that Database Error page, it's annoying, sometimes you don't know what's wrong.
Granted it emails you the DB error message, but sometimes you don't configure that email or don't have access for whatever reason, or simply want a faster way to view the error code.
Well, when you see this:
You know you're on the database error page, so this is what you do to see the exact error;
1. Right Click on that page > View Page Source.
2. Scroll to the very bottom before the html tags.
</body>
</html>
You'll see something starting with this:
<!--
Database error in vBulletin
For example:
Simply read that code and you'll have an idea of what's wrong.
For example, the code above:
Code:
<!--
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]:[B][COLOR=Red] Can't connect to local MySQL[/COLOR][/B] server through socket '/var/lib/mysql/mysql.sock' (13)
/home/ACCOUNTNAME/public_html/includes/class_core.php on line 311
MySQL Error :
Error Number :
Request Date : Sunday, April 8th 2012 @ 06:34:06 AM
Error Date : Sunday, April 8th 2012 @ 06:34:06 AM
Script : http://site*********
Referrer :
IP Address : YOUR IP ADDRESS
Username :
Classname : vB_Database
MySQL Version :
-->
Now you can either google search it or already know what's wrong.
Last edited: