Using Moodle v2.6.4 on Windows Server with IIS7, MySQL and php
Logged in as site administrator
Example of course being restored:
https://drive.google.com/file/d/0ByY6oN9kOSHMUjc1OWFRU3FKd0k/edit?usp=sharing
====
Every time I try to restore a course, when you click on the button to actually do the restore Moodle falls over with the following error (this occurs no matter if it is the above mentioned course or one I have just backed up):
Default exception handler: Coding error detected, it must be fixed by a programmer: Cannot call moodle_page::add_body_class after output has been started. Debug: Error code: codingerror * line 1078 of \lib\pagelib.php: coding_exception thrown * line 7 of \theme\bsdcint\lib.php: call to moodle_page->add_body_class() * line 465 of \lib\outputlib.php: call to include_once() * line 385 of \lib\outputlib.php: call to theme_config->__construct() * line 6943 of \lib\moodlelib.php: call to theme_config::load() * line 1097 of \backup\util\dbops\restore_dbops.class.php: call to get_list_of_themes() * line 740 of \backup\moodle2\restore_stepslib.php: call to restore_dbops::create_included_users() * line 34 of \backup\util\plan\restore_execution_step.class.php: call to restore_create_included_users->define_execution() * line 181 of \backup\util\plan\base_task.class.php: call to restore_execution_step->execute() * line 177 of \backup\util\plan\base_plan.class.php: call to base_task->execute() * line 167 of \backup\util\plan\restore_plan.class.php: call to base_plan->execute() * line 333 of \backup\controller\restore_controller.class.php: call to restore_plan->execute() * line 184 of \backup\util\ui\restore_ui.class.php: call to restore_controller->execute_plan() * line 99 of \backup\restore.php: call to restore_ui->execute() Potential coding error - existing temptables found when disposing database. Must be dropped!
Can anyone suggest a solution other than up grade to v2.7 or greater?