The required instance of this module doesn't exist
The last line in the restore page is "Creating blocks" it never says anything like "Done."
http://moodle.occ.utk.edu/course/edit.php?id=50 is an example of one of the bad restores. I restored numerous times with varying whether to restore student data. Oh, and I backed the course up with 1.8 and then tried restoring, thinking that maybe I couldn't restore my 1.7 course with 1.8.
The other courses are fine. I can create new assignments in the bad course.
I've got a few weeks before summer school starts. . .
Thanks.
Re: Restore removes titles from all activities and resources
It might be worthwhile to put the code that is in the Module page in the upgrade code so that it gets pointed out there. (OTOH, perhaps it was there and I ignored it).
I'd still like an easier way to adjust due dates of all of the assignments in a course (though it appears that restoring a course now allows changing the start date and adjusts due-dates accordingly.
Re: Restore removes titles from all activities and resources
In my case I dont have any compatiblitiy issues, I started from 1.8.X went down to 1.7.X and now I am on 1.6.X and I still have the same problem.
We are currenly running 1.5.4. Could it be something on the server, I had problems with 1.8 questionnaire module and later found out that some of the codes were not compatible with php5????
Re: Restore removes titles from all activities and resources
Hi Jay,
Were you able to find a solution or workaround? I'm having the same issue with the "labels" not being displayed and clicking on edit for the activity results in "the required instance of this module doesn't exist". I backed up the course in 1.7.2 then tried restoring to 1.8 and 1.72 with no success.
Thanks
Re: Restore removes titles from all activities and resources
I solved my problem, it turned out that I had an Appointment module installed along with my installation, I removed it and it worked.
Suggestion check if you have any third party modules (non-standard modules) installed and if you have remove them and you should be fine.
Check on the moodle website what are the standard modules. Refer http://docs.moodle.org/en/Category:Modules_(non-standard).
Thanks
Re: Restore removes titles from all activities and resources
Thank you for your response Vickel,
I will double check to ensure that I hadn't installed any 3rd party modules... I don't think so though.
One thing I did do was change the files in /lang/ to display "test" instead of "quiz" .. maybe if I apply those changes to the new v1.8 I installed it may be okay...
I'll take a look at the modules first though,
Thanks,
Re: Restore removes titles from all activities and resources
The change you have made should not be the problem.
I spent about 2 days looking for what could have caused the problem in my case and while doing something I noted that I had a nonstandard module installed. If I am correct then the problem is related to something in the way data is stored in the nonstandard modules hence when upgrading these data are not changed for 1.8 compatibility.
If possible post a list of all the modules you have installed on your moodle site.
Thanks
Re: Restore removes titles from all activities and resources
HI Vickel,
I really appreciate your help on this.. I'm sure I didn't install any extra mods, the mods I have in v1.7.2 (where I source backup of the course with tests isfrom):
assignment chat choice data forum glossary hotpot journal label lams lesson quiz resource scorm survey wiki workshop
The questions/categories import just not the test.
Thank you for your direction on this,
Heather
Re: Restore removes titles from all activities and resources
Re: Restore removes titles from all activities and resources
Hi Vickel,
Yes, data is database and LAMS, Journal and Hot potatoes are hidden.
Instead of typing out the list of folders in /mods/ I selected the column from the database when I was sure that it matched the folders in /mods/.
Thank you,
Heather
Re: Restore removes titles from all activities and resources
I just realized that the restore for 2 courses never completes past "course restore", there was not an error message either.
I have restored a "test" course with a quiz, but am unsure why my existing courses cannot be restored and it fails. I will look to see if there are any posts on what would cause the restore to not complete.
Thank you for your assistance,
Heather
Re: Restore removes titles from all activities and resources
I'm not sure why it seems to fail when I try to restore with test results.
Part way there I guess, at least I have the tests now,
thanks and maybe this will help someone else
Thanks Paul,
Ahhhh... one db is utf8_general_ci and the other is utf8_unicode_ci
so that might be it...
Heather
Re: Restore removes titles from all activities and resources
Paul asked if this could be unicode related and I suspect this may be the problem. I ran the conversion program prior to installation. Using MySQL, the charset is listed as utf_general_ci, but each file still lists latin1_swedish_ci collation.