We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 44706
    • 4 Posts
    After making a simple change to some data on a page and pressing save this error message has come up and now we cant access our site or edit it.. how do we fix it?(in as much detail as possible please)

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - Table './leftba69_leftbank/modx_site_content' is marked as crashed and should be repaired »
    SQL: SELECT sc.* FROM `leftba69_leftbank`.`modx_site_content` sc LEFT JOIN `leftba69_leftbank`.`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.0024 s (0 Requests)
    PHP: 0.0134 s
    Total: 0.0158 s

      • 18373 ☆ A M B ☆
      • 3,141 Posts
      If you're still experiencing the problem, open up a database management tool like PhpMyAdmin on your server. Find the database and in the list of tables, select the modx_site_content table. Now, go to the bottom of the grid (in PhpMyAdmin) and choose "Repair table" in the dropdown that asks you what to do with the selected tables.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.