PDA

View Full Version : Database error!!!


sdfaheem
06-03-2009, 06:22 PM
I am recently getting this error when i try to edit a post or start a new thread. Could anyone please tell me what's going wrong here

Database error in vBulletin 3.8.2:

Invalid SQL:

SELECT postid
FROM vb_post
WHERE threadid = 512
ORDER BY dateline
LIMIT 1;

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, June 3rd 2009 @ 03:17:43 PM
Error Date : Wednesday, June 3rd 2009 @ 03:18:46 PM
Script : http://www.mysite.com/forum/editpost.php?do=updatepost&postid=1095
Referrer : http://www.mysite.com/forum/showthread.php?t=512
IP Address : 59.165.93.2
Username : Admin
Classname : vB_Database
MySQL Version :

HMBeaty
06-03-2009, 06:55 PM
This may help..
http://dev.mysql.com/doc/refman/5.0/en/gone-away.html

Lynne
06-03-2009, 06:57 PM
This is a server issue. See this: http://www.vbulletin.com/docs/html/troubleshoot_mysql_goneaway and this: http://www.vbulletin.com/forum/showthread.php?s=&postid=310265#post310265

sdfaheem
06-03-2009, 07:03 PM
A few days back i was having problem editing Newthread, Newpost templates and i was redirected to the homepage from my Admincp.

Is this something related?

Lynne
06-03-2009, 07:57 PM
I don't know. What was the reason why that was happening? Did you have your host look into it?

abbasbsp
06-03-2009, 08:42 PM
I am ever experience also this problem, usually problem is from server hosting and with wrong scrip

sdfaheem
06-04-2009, 03:46 PM
I don't know. What was the reason why that was happening? Did you have your host look into it?

No, but i am still facing problem in editing few templates in Admincp, i get 404 error and redirected to homepage.
What do i tell me host, please advise!

THanks

Lynne
06-04-2009, 03:54 PM
Tell your host about the errors you are getting. Have then look at the error_logs and see what is going on.