Db error !!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacki
    Member
    • Jun 2006
    • 82
    • 3.5.x

    Db error !!

    Hi,
    I get that error on my forum and I can't enter any category I can't read any posts. How can I correct it? I repaired post table but problem still occurs. I have 1.410.000 posts


    Database error in vBulletin 3.6.7:
    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,265895,265894,265893,265892,265891,265890,265889,265888,265887,265742,265741,265740,265 739,265738,265737,265723,265730,265735,265734,265732)
    ORDER BY sticky DESC, lastpost DESC;
    MySQL Error : Can't open file: 'post.MYI' (errno: 144)
    Error Number : 1016
    Date : Friday, July 20th 2007 @ 12:27:45 PM
    Script : http://www.yorumla.net/forumdisplay.php?f=25
    Referrer : http://www.yorumla.net/index.php
    IP Address : 85.101.xxx.xxxxUsername : jackal
    Classname : vb_database
    Yorumla.net
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    MySQL Error : Can't open file: 'post.MYI' (errno: 144)

    144 = Table is crashed and last repair failed

    Your hosting provider has to run optimize and repair on your database.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎