Please help, I don't know what is happening.

Please help, I don't know what is happening.

Paul Platts發表於
Number of replies: 5

I have just upgraded to 1.6 Beta. Generally things have gone well. I was just changing the front page when I got a load of messages. The messgae is too long to post but you can see it as soon as you go to my Moodle on:

http://www.elmgrove.brighton-hove.sch.uk/moodle2

I have turned debugging off (I think) but I am still getting this message.

I hope you can help?

評比平均分數: -
In reply to Paul Platts

Re: Please help, I don't know what is happening.

Przemyslaw Stencel發表於
I see noone has replied for nearly two days, so even though I don't know what's happening either, I can at least tell you what I would do if I were in your shoes 微笑

This is a very odd thing to happen and since you were using beta code, it may have contained some stray bugs. First I would download the latest 1.6 beta to replace the files on your server. If that doesn't help, and if you don't get any other advice from others, I would go back to the previous version (you do have a backup, right?) and then try upgrading again with the latest beta code.

Cheers,
Przemek
In reply to Przemyslaw Stencel

Re: Please help, I don't know what is happening.

Gordon Bateson發表於
Core developers的相片 Peer reviewers的相片 Plugin developers的相片
The error message means that Moodle was expecting to find one course record but it found two (or more). Somehow your database has become a little messed up.

You may be able to fix it using your favorite database administration software (e.g. phpMyAdmin). Please locate the "mdl_course" table and remove all except the first of the records which have the "category" field set to "0".

If that doesn't help, please remove all tables from the Moodle database and do a completely clean install . Note: removing all tables means you will delete ALL data on users, courses and activities from your database. If you don't want to do that, please seek assistance from a friendly local programmer 微笑
In reply to Gordon Bateson

Re: Please help, I don't know what is happening.

steve baxter發表於
Thanks Gordon,

That worked for me too. Can you expand on how you figured that out?

Steve
In reply to Przemyslaw Stencel

Re: Please help, I don't know what is happening.

Melissa Cover發表於
Thank you so much!  I had the exact same error after attempting an upgrade, and your solution seems to have solved the problem.  I appreciate your taking the time to help.  smile