We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8471
    • 333 Posts
    Guys I’m very worried!
    Today I went to my site and I saw this error:
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource: 
    « Execution of a query to the database failed - Table './modx/modx_site_content' is marked as crashed and should be repaired » 
          SQL: SELECT sc.* FROM `modx`.`modx_site_content` sc LEFT JOIN `modx`.`modx_document_groups` dg ON dg.document = sc.id WHERE sc.id = '1' AND (sc.privateweb=0) LIMIT 1; 
          [Copy SQL to ClipBoard] 
      
    Parser timing 
      MySQL:  0.0440 s (0 Requests) 
      PHP:  0.9440 s   
      Total:  0.9880 s   
    Error while inserting event log into database.



    And if I try to log in the manager I receive this error:
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource: 
    « Execution of a query to the database failed - Table './modx/modx_manager_log' is marked as crashed and should be repaired » 
          SQL: INSERT INTO `modx`.`modx_manager_log` (timestamp, internalKey, username, action, itemid, itemname, message) VALUES('1212606421', '1', 'asp', '58', '-', 'MODx', 'Logged in') 
          [Copy SQL to ClipBoard] 
      
    Parser timing 
      MySQL:  0.0017 s (0 Requests) 
      PHP:  1212606421.2369 s   
      Total:  1212606421.2386 s   
    Error while inserting event log into database.

    Please someone help me!
      Sorry for my bad English grin
      • 8471
      • 333 Posts
      I’ve found.
      I had a lot of table corrupted, I have repaired them through phpmyadmin with command "REPAIR TABLE name_of_the_table", but I can’t understand why this happened... is too strange
        Sorry for my bad English grin
        • 25663 MODX Staff
        • 12,272 Posts
        Your site content table may have crashed due to running out of disk space or other similar reason.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me