hansv Posted January 9, 2018 Share Posted January 9, 2018 I got this morning an error on all pages that uses the hanna-code module on site that is already a few years online. I use the latest pw dev Als guest you see this error on www.orgelpijpjes.be Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Error has been logged. As administrator Error: Exception: SQLSTATE[HY000]: General error: 1036 Table 'hanna_code' is read only (in /customers/9/7/b/orgelpijpjes.be/httpd.www/site/modules/TextformatterHannaCode/TextformatterHannaCode.module line 305) #0 /customers/9/7/b/orgelpijpjes.be/httpd.www/site/modules/TextformatterHannaCode/TextformatterHannaCode.module(305): PDOStatement->execute() #1 /customers/9/7/b/orgelpijpjes.be/httpd.www/site/modules/TextformatterHannaCode/TextformatterHannaCode.module(198): TextformatterHannaCode->getReplacement('inthepicture', Array, true) #2 /customers/9/7/b/orgelpijpjes.be/httpd.www/wire/modules/Fieldtype/FieldtypeText.module(94): TextformatterHannaCode->formatValue(Object(ProcessWire\Page), Object(ProcessWire\Field), '<p>[[inthepictu...') #3 /customers/9/7/b/orgelpijpjes.be/httpd.www/wire/modules/Fieldtype/FieldtypeTextarea.module(119): ProcessWire\FieldtypeText->___formatValue(Object(ProcessWire\Page), Object(ProcessWire\Field) This error message was shown because: you are logged in as a Superuser. Error has been logged Has anyone suggestions how to solve this? thx Link to comment Share on other sites More sharing options...
adrian Posted January 9, 2018 Share Posted January 9, 2018 Google is your friend in cases like this: https://stackoverflow.com/questions/9575914/table-is-read-only Not sure why you would have gotten in that situation though. Maybe it's the innodb recovery mode setting? 2 Link to comment Share on other sites More sharing options...
hansv Posted January 9, 2018 Author Share Posted January 9, 2018 @adrian many thx A simple table check was enough. The cause of this is still a mistery, but I'm glad the site is working again. hansv 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