Maximilien Posted January 4, 2014 Share Posted January 4, 2014 I just made some modifications to a page and now i get an error 500 when i try to access the website. In /sites/assets/logs/errors.txt I get : 2014-01-04 16:31:32 ? Error: Exception: Table is marked as crashed and last (automatic?) repair failed (in /home/cjeaorg1/public_html/demo/wire/core/Database.php line 118) It's my first website with Processwire. What should I do? Link to comment Share on other sites More sharing options...
teppo Posted January 5, 2014 Share Posted January 5, 2014 This would seem to be MySQL issue; one or more of your database tables is broken. I've never had to deal with this particular issue, but this Stack Overflow thread seems to contain some tips on fixing it: http://stackoverflow.com/questions/8843776/mysql-table-is-marked-as-crashed-and-last-automatic-repair-failed. Try googling with the error message (without specific paths) and you'll find other guides too. You'll still have to find out which table exactly is broken, though easiest way to do that might be running repair on all tables starting from something like "pages". Since this does sound a bit "techy", especially if these kind of actions are strange to you I'd first consider re-installing PW (unless there's already a lot of existing data), returning your site from backups (if those are available) and/or contacting your web hosts support (if such service is available). I hope this helps a bit. Please don't hesitate to ask if you need more (or more specific) pointers! 4 Link to comment Share on other sites More sharing options...
Maximilien Posted January 6, 2014 Author Share Posted January 6, 2014 Thank you. I just made the following query in phpMyAdmin : REPAIR TABLE `tbl_name` and now everything work fine. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now