Moodle went wacko, everything seems to be missing... with no explanation!

Moodle went wacko, everything seems to be missing... with no explanation!

by Dallas Ray Smetter -
Number of replies: 2

So here I am, Moodling along producing content in a new course and BANG, I get the error outlined in the attached picture.

Then I click continue and the  database acts as if it's upgrading itself!?

I am then returned to what looks to be a brand new installation of Moodle.

I really need help on this one... This is right in the middle of piloting a couple of new staff development courses with Moodle and trying to convince the uppers that we should ditch WebCT.

http://moodledev.stisd.net

Even if I try to access my courses by their direct link such as

http://moodledev.stisd.net/course/view.php?id=4

I get "Invalid Course ID"

What in the heck happened to my DB???

Attachment noactionspecified.gif
Average of ratings: -
In reply to Dallas Ray Smetter

Re: Moodle went wacko, everything seems to be missing... with no explanation!

by Zbigniew Fiedorowicz -
It looks like your Moodle database got corrupted.  Try to repair it with phpMyAdmin, or restore it from backups.
In reply to Zbigniew Fiedorowicz

Re: Moodle went wacko, everything seems to be missing... with no explanation!

by Dallas Ray Smetter -

moodle_development_stisd_net_-_mdl.mdl_cache_text repair info Found block that points outside data file at 44993...
moodle_development_stisd_net_-_mdl.mdl_course repair info Found block that points outside data file at 22860
moodle_development_stisd_net_-_mdl.mdl_course repair info Found block with too small length at 22916; Skippe...
moodle_development_stisd_net_-_mdl.mdl_course repair warning Number of rows changed from 9 to 8
moodle_development_stisd_net_-_mdl.mdl_log repair info Found block that points outside data file at 24821...

---------

Thanks Z!

All seems fine now, but how can I prevent this in the future?