Table './audinew/phorum5_messages' is marked as crashed and should be repaired: select phorum5_messages.author, phorum5_messages.datestamp, phorum5_messages.email, phorum5_messages.message_id, phorum5_messages.meta, phorum5_messages.moderator_post, phorum5_messages.modifystamp, phorum5_messages.parent_id, phorum5_messages.sort, phorum5_messages.status, phorum5_messages.subject, phorum5_messages.thread, phorum5_messages.thread_count, phorum5_messages.user_id, phorum5_messages.viewcount, phorum5_messages.closed ,phorum5_messages.body ,phorum5_messages.ip from phorum5_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=37)) order by sort, modifystamp desc