Hi,
this was my first try of updating. Obviously it was not so good as I had expected.
Upgrade Process
The conversion of 400 Courses takes about 30min. This is OK.
Error in mod_imscp
Exception - DirectoryIterator::__construct(C:\moodledata/192/moddata/resource/2525) [directoryiterator.--construct]: failed to open dir: Result too large
After that Error reading from Database. This is part of my phperror.log
[10-Mai-2010 16:33:33] Default exception handler: Error reading from database Debug: Unknown column 'display' in 'field list'
SELECT id, name, display, displayoptions, tobemigrated, mainfile, revision FROM mdl_resource WHERE id = ?
[array (
0 => '5997',
)]
* line 378 of \lib\dml\moodle_database.php: dml_read_exception thrown
* line 632 of \lib\dml\mysqli_native_moodle_database.php: call to moodle_database->query_end()
* line 1216 of \lib\dml\moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
* line 1188 of \lib\dml\moodle_database.php: call to moodle_database->get_record_sql()
* line 1168 of \lib\dml\moodle_database.php: call to moodle_database->get_record_select()
* line 271 of \mod\resource\lib.php: call to moodle_database->get_record()
* line 1099 of \course\lib.php: call to resource_get_coursemodule_info()
* line 1722 of \course\lib.php: call to get_array_of_activities()
* line 2767 of \lib\moodlelib.php: call to rebuild_course_cache()
* line 1066 of \lib\navigationlib.php: call to get_fast_modinfo()
* line 1050 of \lib\navigationlib.php: call to global_navigation->load_generic_course_sections()
* line 864 of \lib\navigationlib.php: call to global_navigation->load_course_sections()
* line 1748 of \lib\navigationlib.php: call to global_navigation->initialise()
* line 610 of \lib\pagelib.php: call to navbar->has_items()
* line 4 of \theme\base\layout\general.php: call to moodle_page->has_navbar()
* line 612 of \lib\outputrenderers.php: call to include()
* line 570 of \lib\outputrenderers.php: call to core_renderer->render_page_layout()
* line 916 of \lib\setuplib.php: call to core_renderer->header()
* line ? of unknownfile: call to bootstrap_renderer->__call()
* line 317 of \login\index.php: call to bootstrap_renderer->header()
I have looked into mdl_resource and the column "Display" is missing. I think this is because of the failed upgrade process in mod_imscp or the missing steps after. I will try to find it out.
Regards, Mathias
My in Error in mod_imscp comes from a missing file. C:\moodledata/192/moddata/resource/2525 does not exist and so the script cannot find it.
I think it would be nice to have a tool which checks all the dependencies from the files in moddledata and the database entries.
Now I have a new error.
[11-May-2010 13:04:47] PHP Fatal error: Call to a member function notification() on a non-object in C:\moodle\mod\lesson\db\upgrade.php on line 119
I will check this but I think it is the same problem that I had with the mod_imscp. Something inside my data directory is missing.
Regards,
Mathias
I think it would be nice to have a tool which checks all the dependencies from the files in moddledata and the database entries.
Now I have a new error.
[11-May-2010 13:04:47] PHP Fatal error: Call to a member function notification() on a non-object in C:\moodle\mod\lesson\db\upgrade.php on line 119
I will check this but I think it is the same problem that I had with the mod_imscp. Something inside my data directory is missing.
Regards,
Mathias
The php error comes from a missing global variable $OUTPUT in moodle\mod\lesson\db\upgrade.php.
See Moodle Tracker http://tracker.moodle.org/browse/MDL-22421.
Regards,
Mathias
See Moodle Tracker http://tracker.moodle.org/browse/MDL-22421.
Regards,
Mathias