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

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

par oguz altun,
Nombre de réponses : 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.

 

Annexe Capture.JPG
Moyenne des évaluations  -
En réponse à oguz altun

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

par Tim Hunt,
Avatar Core developers Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar Peer reviewers Avatar Plugin developers
En réponse à Tim Hunt

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

par 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...