Table './nla/_messages' is marked as crashed and should be repaired: select _messages.author, _messages.datestamp, _messages.email, _messages.message_id, _messages.meta, _messages.moderator_post, _messages.modifystamp, _messages.parent_id, _messages.sort, _messages.status, _messages.subject, _messages.thread, _messages.thread_count, _messages.user_id, _messages.viewcount, _messages.closed from _messages where status=2 and ((parent_id=0 and sort=0 and forum_id=0) or (parent_id=0 and sort=1 and forum_id=1)) order by sort, modifystamp desc