Hi I’m getting the following errors if i try and view pages on a site:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Table ’./web100@002dmodx/modx_site_content’ is marked as crashed and should be repaired »
SQL: SELECT DISTINCT sc.published FROM `web100-modx`.`modx_site_content` sc LEFT JOIN `web100-modx`.`modx_document_groups` dg on dg.document = sc.id WHERE (sc.id IN (1) AND sc.published=1 AND sc.deleted=0 ) AND (sc.privateweb=0) GROUP BY sc.id LIMIT 1
The modx version is 0.9.6.3
For some reason the index.php is fine but it’s only if you click any other links. I think the client removed an image and this happend. Anyone any ideas?
Also according to the manager there are no resouces, and get the same error within the content frame area of the manager.
Ben
Use MODx, or the cat gets it!
You may not need to do this, just repair the table, MYSQL will tell you if its beyond repair so as to speak. Your restore may not work if you don’t repair the table, depending on what exactly your hosts call a backup. If it works back up immediately then bring the site backand you should be OK.
Use MODx, or the cat gets it!
what that is referring to is that when you use phpMyAdmin you will see the list of tables on the screen, on the right hand side
you tick the box next to site_content and right at the bottom of the listing of tables is a dropdown selector, and one of the options is ’Repair’
Hi Ben
No pattern so far, but now looking into it as I thought it might be just us - now I realise it might be a more general problem.
Who is your host? We have only seen this on Heart