ratings::showTopCommentsList ::: Incorrect key file for table '/tmp/#sql_4e7_0.MYI'; try to repair it ::: SELECT p.comments_num AS num, pu.first_name, pu.middle_name, pu.login, pu.last_name, p.id, p.is_saled, p.keywords, p.width, p.height, p.kind_id, p.name, p.description, p.genre_id, p.technics, p.created_year, p.owner_type, p.is_permit_comment, p.is_permit_mark, p.price, p.series_id, s.name AS series_name, image_domain, image_small_path, image_big_path, image_small_width, image_small_height FROM Comments AS c INNER JOIN Paintings AS p ON p.id=c.painting_id INNER JOIN PrivateUser AS pu ON pu.id=p.user_id LEFT JOIN Series as s ON p.series_id = s.id WHERE p.is_blocked<>'1' AND p.is_visible='1' AND p.user_type='user' AND c.is_deleted=0 AND c.is_admin_deleted=0 AND pu.id<>348 AND pu.id<>1481 AND p.is_not_raiting=0 GROUP BY c.painting_id ORDER BY p.comments_num DESC LIMIT 12