Warning: MySQL error: Table 'skadate_profile' is marked as crashed and should be repaired
in query: SELECT `profile`.*, `online`.`hash` AS `online` FROM `skadate_profile` AS `profile` LEFT JOIN `skadate_profile_online` AS `online` USING( `profile_id` ) WHERE `profile`.`sex`=2048 AND `online`.`hash` IS NOT NULL AND ( `profile`.`status`='active' ) ORDER BY `profile`.`has_photo` DESC, IF( `online`.`profile_id` <> NULL, 0 , 1 ), `activity_stamp` DESC LIMIT 0, 15
in /var/www/clients/client1/web22/web/internals/SK6_inc/class.mysql.php on line 299 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /var/www/clients/client1/web22/web/internals/SK6_inc/class.mysql.php on line 50 Warning: mysql_query(): Unable to save result set in /var/www/clients/client1/web22/web/internals/API/MySQL.class.php on line 154
Uncaught exception with message: Table 'skadate_profile' is marked as crashed and should be repaired code: 1194
Trace:
#0 /var/www/clients/client1/web22/web/internals/Apps/ProfileList.app.php(142): SK_MySQL::query('SELECT COUNT( `...')
#1 /var/www/clients/client1/web22/web/internals/Apps/ProfileList.app.php(128): app_ProfileList::findOnlineCount('2048')
#2 /var/www/clients/client1/web22/web/components/OnlineList.cmp.php(11): app_ProfileList::OnlineList('2048')
#3 /var/www/clients/client1/web22/web/components/ProfileList.cmp.php(101): component_OnlineList->profiles()
#4 /var/www/clients/client1/web22/web/internals/API/Layout.class.php(470): component_ProfileList->prepare(Object(SK_Layout), Object(SK_Frontend))
#5 /var/www/clients/client1/web22/web/internals/API/Layout.class.php(363): SK_Layout->renderComponent(Object(component_OnlineList), 'httpdoc')
#6 /var/www/clients/client1/web22/web/member/online_list.php(8): SK_Layout->display(Object(component_OnlineList))
#7 {main}
thrown in: /var/www/clients/client1/web22/web/internals/API/MySQL.class.php on line 157