The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
database error
all of the sudden im getting Database Error when I try to view forums.. i can view the main page ok.. http://www.thevhub.com/forums Any ideas??
Code:
Database error in vBulletin 3.6.4: Invalid SQL: SELECT IF(votenum >= 1, votenum, 0) AS votenum, IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg, post.pagetext AS preview, thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid, thread.lastpost, thread.lastposter, thread.lastpostid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach, hiddencount, deletedcount , NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed , deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason , threadredirect.expires FROM thread AS thread LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread') LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1) LEFT JOIN post AS post ON(post.postid = thread.firstpostid) LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid) WHERE thread.threadid IN (0,644,565,541,235,29,329) ORDER BY sticky DESC, lastpost DESC; MySQL Error : Can't open file: 'post.MYI' (errno: 145) Error Number : 1016 Date : Friday, May 18th 2007 @ 03:40:33 PM Script : http://www.thevhub.com/forums/forumdisplay.php?f=19 Referrer : IP Address : xx.xxx.xxx.xxx Username : Xp Classname : vB_Database |
#2
|
||||
|
||||
Have you tried doing an Optimize/Repair on the post table?
|
#3
|
||||
|
||||
error 145 means the table has been marked as crashed and should be repaired.
|
#4
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|