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

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

Napisane bez: oguz altun ()
Liczba ôdpowiedzi: 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.

 

Bajlaga ($a)
W ôdpowiedzi na oguz altun

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

Napisane bez: Tim Hunt ()
Ôbrŏz Core developers Ôbrŏz Documentation writers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Peer reviewers Ôbrŏz Plugin developers
W ôdpowiedzi na Tim Hunt

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

Napisane bez: 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...