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
-
☆ 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.