PDA

View Full Version : Database Help


Dcoy
09-25-2013, 02:58 PM
I know that this is not the place for this. But i can't access vbulletin.com forgot my login details and the details that was saved on my notepad was not recognized. Also tried to use forgot password but nothing happened.

Anyway my problem is, I'm constantly getting lots of Database Error lately

Database error in vBulletin 3.8.4:

Invalid SQL:

REPLACE INTO externalcache
(cachehash, dateline, text, headers, forumid)
VALUES

'a:5:{i:0;s:33:\"Cache-control: max-age=1380128315\";i:1;s:38:\"Expires: Wed, 25 Sep 2013 16:58:35 GMT\";i:2;s:44:\"Last-Modified: Wed, 25 Sep 2013 15:58:35 GMT\";i:3;s:40:\"ETag: \"fe57209d4d2fc9dd5dd48649a0947371\"\";i:4;s:42:\"Content-Type: text/xml; charset=ISO-8859-1\";}',
0
);

MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes
Error Number : 1153
Request Date : Wednesday, September 25th 2013 @ 11:58:35 AM
Error Date : Wednesday, September 25th 2013 @ 11:58:36 AM
Script : http://site.com/external.php?type=RSS2
Referrer :
IP Address : 50.22.114.35
Username : Unregistered
Classname : vB_Database
MySQL Version :

(

It has a very long text containing what the user posted on a thread. Any idea how to fix this?

Thank you

ForceHSS
09-25-2013, 03:10 PM
Full error needed also check error logs and error that was sent to your email

Dcoy
09-25-2013, 03:38 PM
Original post updated. Hope you can help me mate. Didn't post the very long text as it changes on every email and it just random stuff poster by users

ForceHSS
09-25-2013, 05:05 PM
the error is fairly self explanatory - you need to increase the max_allowed_packet size in MySQL.

About the error - that is a server issue. You need to contact your hosting provider and request them to increase the value for your mysql setting max_allowed_packet in the my.cnf file and then restart MySQL. I would try 32M and if that doesnt work, then try 64M.

Simon Lloyd
09-26-2013, 06:20 AM
As an added, what you can do is look at the files you downloaded from vbulletin and find tools.php (which is in the do_not_upload folder) and upload it to your admincp folder. Then point your browser to www.yourforum.com/admincp/tools.php (or whatever your forum address is replacing index.php with admincp/tools.php ) and use the "Reset Admin Access" function to make yourself and admin, change your original access usernames password to whatever you want. Then delete tools.php from your server.