DATABASE ERROR:

SELECT con.*,
                    con.pubdate as fpubdate,
                    cat.title as cat_title, cat.seolink as cat_seolink,
                    cat.showdesc,
                    u.nickname as author,
                    u.login as user_login
                FROM cms_content con
                INNER JOIN cms_category cat ON cat.id = con.category_id
                LEFT JOIN cms_users u ON u.id = con.user_id
                WHERE con.is_arhive = 0
                 AND (con.canrate = 1)
 AND (con.pubdate >= '2016-04-03 17:24:59')
 AND (cat.NSLeft >= '2' AND cat.NSRight <= '27' AND cat.parent_id > 0)
 AND (con.published = 1 AND con.pubdate <= '2016-05-03 17:24:59')

                
                ORDER BY con.hits DESC
LIMIT 0, 6

Table './admin_dagstudent/cms_content' is marked as crashed and last (automatic?) repair failed