After sudden power outage: "A problem occurred inserting current version into databases"

After sudden power outage: "A problem occurred inserting current version into databases"

gan oguz altun -
Number of replies: 2

I have been using moodle this semester. Suddenly it stopped working. My guess is that problem was caused by a sudden power outage, as my other box was obviously restarted.

Please see the attached image. When I try to go to main page, I am forwarded to .../admin/, this screen comes, and then when I hit continue, (since yahoo somehow stole all unfound requests) I am redirected to yahoo.

From the forums I saw this error is associated to installation and db problems usually, but I can login by phpmyadmin, and browse/insert/delete rows in moodle tables.

Student assignment grades are there, and the semester end is closing.

How should I continue...

Thanks...

System info: Moodle 1.9x. Ubuntu Hardy (TK linux moodle appliance). Mysql.

 

Attachment Capture.JPG
Cyfartaledd sgoriau: -
In reply to oguz altun

Re: After sudden power outage: "A problem occurred inserting current version into databases"

gan Tim Hunt -
Llun o Core developers Llun o Documentation writers Llun o Particularly helpful Moodlers Llun o Peer reviewers Llun o Plugin developers
In reply to Tim Hunt

Ynt: Re: After sudden power outage: "A problem occurred inserting current version into databases"

gan oguz altun -

Thank you Tim.

I solved the issue before seeing your post. When I tried to get a dump of the database with mysqldump, it said the mdl_config table was corrupted. Then, I logged in to phpmyadmin and issued "repair table mdl_config". It seems to be fine now...