Giovanni Posted December 6, 2011 Posted December 6, 2011 Has anyone ever encountered this error before? Here is the full error message: Exception: Table './eyedent_pwcms/field_body' is marked as crashed and should be repaired (in /home/eyedent/public_html/wire/core/Database.php line 72) #0 /home/eyedent/public_html/wire/core/DatabaseQuery.php(84): Database->query(Object(DatabaseQuerySelect)) #1 /home/eyedent/public_html/wire/core/Fieldtype.php(421): DatabaseQuery->execute() #2 /home/eyedent/public_html/wire/core/Wire.php(267): Fieldtype->___loadPageField(Object(Page), Object(Field)) #3 /home/eyedent/public_html/wire/core/Wire.php(229): Wire->runHooks(Array, Array) #4 /home/eyedent/public_html/wire/core/Page.php(522): Wire->__call('loadPageField', Array) #5 /home/eyedent/public_html/wire/core/Page.php(522): FieldtypeTextarea->loadPageField('loadPageField', Array) #6 /home/eyedent/public_html/wire/core/Page.php(467): Page->getFieldValue(Object(Page), Object(Field)) #7 /home/eyedent/public_html/wire/core/Page.php(556): Page->get('body') #8 /home/eyedent/public_html/site/templates/abouthost.inc(9): Page->__get('body') #9 /home/eyedent/public_htm This error message was shown because you are logged in as a Superuser. Error has been logged.
ryan Posted December 6, 2011 Posted December 6, 2011 I have seen that before, though not in ProcessWire. But feasibly it can happen anywhere. It's what happens when MySQL gets abruptly killed when it's writing data or building an index (like if your webhost did an emergency reboot of the server or the process). You need to run a 'REPAIR TABLE field_body;' in a MySQL client. If you've got PhpMyAdmin, just check the box next to that table and click repair.
Giovanni Posted December 6, 2011 Author Posted December 6, 2011 just got it fixed haha thx for the super fast response ryan!!
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