[vBulletin] Understanding vBulletin Database Errors!6019+8.6

Status
Not open for further replies.

Exel

Active Member
2,074
2008
543
100
[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:

1104139582.jpg


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:
k2kNP.png


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() [&lt;a href='function.mysql-connect'&gt;function.mysql-connect&lt;/a&gt;]:[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 : 
-->
The error is in red, it tells you.

Now you can either google search it or already know what's wrong. ;)
 
Last edited:
Status
Not open for further replies.
Back
Top