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

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

oguz altun -
回帖数: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.

 

附件 Capture.JPG
回复oguz altun

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

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
回复Tim Hunt

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

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