SELECT COUNT(id) AS `num` FROM `rates` WHERE `object` = "task" AND `objectid` = "231" AND valid > 0: Table './codelabu_db1/rates' is marked as crashed and should be repaired:
1) /home/codelabu/domains/codelab.ru/public_html/index.php, line "116":require_once(/home/codelabu/domains/codelab.ru/public_html/handlers/rates.php)
2) /home/codelabu/domains/codelab.ru/public_html/handlers/rates.php, line "175":  Rate->GetObjectRates2Page(231, task, Array, 0, 20, 10)
3) /home/codelabu/domains/codelab.ru/public_html/modules/Rate/Rate.php, line "106":  DB->GetOne2Arr(SELECT COUNT(id) AS `num` FROM `?#RATE_TABLE` WHERE `object` = "task" AND `objectid` = "231" AND valid > 0)
4) /home/codelabu/domains/codelab.ru/public_html/modules/DB/DB.php, line "169":  DB->ExecuteRawQuery(Array)