PDA

View Full Version : Nasty error


NuclioN
10-24-2003, 12:43 PM
Once a month, sometimes it last longer...a database error shows up and members are unable to post. It is this error:

Database error in vBulletin 2.2.6:

Invalid SQL: SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1
mysql error: Can't open file: 'thread.MYI'. (errno: 145)

mysql error number: 1016

------------------

After this error, a thread is gone usually in one subforum. When i go to the user cp to update the counters 'Update Thread Info' this error appears:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: UPDATE thread SET lastpost=1026675120,replycount=9,postusername='xme mber', postuserid='0', lastposter='xmember',attach= WHERE threadid=1979
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE threadid=1979' at line 1

mysql error number: 1064

---------------

When i delete this post another 'UPDATE thread SET' error shows up etc.
Is there a connection between these events and how can i prevent this from happening? Tnx in advance.

Zachery
10-24-2003, 01:37 PM
Once a month, sometimes it last longer...a database error shows up and members are unable to post. It is this error:

Database error in vBulletin 2.2.6:

Invalid SQL: SELECT COUNT(*) AS count,postuserid,postusername FROM thread GROUP BY postuserid ORDER BY count DESC LIMIT 1
mysql error: Can't open file: 'thread.MYI'. (errno: 145)

mysql error number: 1016


------------------

After this error, a thread is gone usually in one subforum. When i go to the user cp to update the counters 'Update Thread Info' this error appears:

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: UPDATE thread SET lastpost=1026675120,replycount=9,postusername='xme mber', postuserid='0', lastposter='xmember',attach= WHERE threadid=1979
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE threadid=1979' at line 1

mysql error number: 1064

---------------

When i delete this post another 'UPDATE thread SET' error shows up etc.
Is there a connection between these events and how can i prevent this from happening? Tnx in advance.
first off your thread.myi table keeps crashing id suggestin updating to vbulletin 2.3.x and also installing the self healing DB hack

also request to have your mysql updated ^^

assassingod
10-24-2003, 02:09 PM
Run


REPAIR TABLE thread;


And then upgrade to 2.3.2

Zachery
10-24-2003, 02:12 PM
Run


REPAIR TABLE thread;


And then upgrade to 2.3.2
doh i forgot that part ^^

NuclioN
10-24-2003, 02:27 PM
Tnx for your support Faranth (and assassingod) We have hundreds of hacks on our forum and upgrading would be nearly impossible. I've installed the auto repair function and will make a mysql backup every day. Hopefully this will do untill VB3 will go final. The critics about VB3 however are reason to wait longer. It's NOT userfriendly.

Zachery
10-24-2003, 02:28 PM
Tnx for your support Faranth (and assassingod) We have hundreds of hacks on our forum and upgrading would be nearly impossible. I've installed the auto repair function and will make a mysql backup every day. Hopefully this will do untill VB3 will go final. The critics about VB3 however are reason to wait longer. It's NOT userfriendly.
vb3 not user friendly? wtf are you reading ^^

i love vb3 and i refuse to do anything vb2 related ^^