"Unable to insert lock record" error

"Unable to insert lock record" error

by Mike Fruechting -
Number of replies: 3

When trying to add an entry to an existing wiki, I receive an "Unable to insert lock record" error. Anyone have an idea on what I can do to fix this problem?

Moodle version 1.8+

Average of ratings: -
In reply to Mike Fruechting

Re: "Unable to insert lock record" error

by Mike Fruechting -
I found the problem. I had a couple of corrupt tables in the MySQL database. I repaired them and all is well.
In reply to Mike Fruechting

Re: "Unable to insert lock record" error

by Erin Mayabb -
Hi, I'm having this same problem and was wondering if you could be more specific about repairing the tables. Which tables required the repair and how did you determine there was something wrong with them?
In reply to Erin Mayabb

Re: "Unable to insert lock record" error

by Erin Mayabb -
Nevermind. The problem we were having was not table-related so much as the title field in the database has a 160char limit and my user was trying to set titles longer than that.
Average of ratings: Useful (1)