I am trying to copy course to reuse it again. However from wherever I try to reuse the course, I keep getting errors.
While trying to create copy from the Manage Courses and Categories, I get this error:
error/error_opening_file
On switching to debugging mode, the stack trace is as follows:
File:
...ggers/file_logger.class.php
Line:
71
Stack trace:
Error code: error_opening_file $a contents: /home1/chemtopp/moodledata310/temp/backup//2b4d40bd153bac2f9f5c37cefd48bb2e.log * line 71 of /backup/util/loggers/file_logger.class.php: base_logger_exception thrown * line ? of unknownfile: call to file_logger->__wakeup() * line 97 of /backup/util/dbops/restore_controller_dbops.class.php: call to unserialize() * line 502 of /backup/controller/restore_controller.class.php: call to restore_controller_dbops::load_controller() * line 244 of /backup/util/helper/copy_helper.class.php: call to restore_controller::load_controller() * line ? of unknownfile: call to copy_helper::{closure}() * line 247 of /backup/util/helper/copy_helper.class.php: call to array_map() * line 143 of /backup/util/helper/copy_helper.class.php: call to copy_helper::map_backupids_to_restore_controller() * line 75 of /backup/util/ui/classes/output/copy_form.php: call to copy_helper::get_copies() * line 214 of /lib/formslib.php: call to core_backup\output\copy_form->definition() * line 5033 of /course/lib.php: call to moodleform->__construct() * line 8064 of /lib/moodlelib.php: call to course_output_fragment_new_base_form() * line 415 of /lib/external/externallib.php: call to component_callback() * line ? of unknownfile: call to core_external::get_fragment() * line 251 of /lib/external/classes/external_api.php: call to call_user_func_array() * line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function() Error code: error_opening_file $a contents: /home1/chemtopp/moodledata310/temp/backup//2b4d40bd153bac2f9f5c37cefd48bb2e.log * line 71 of /backup/util/loggers/file_logger.class.php: base_logger_exception thrown * line ? of unknownfile: call to file_logger->__wakeup() * line 97 of /backup/util/dbops/restore_controller_dbops.class.php: call to unserialize() * line 502 of /backup/controller/restore_controller.class.php: call to restore_controller_dbops::load_controller() * line 244 of /backup/util/helper/copy_helper.class.php: call to restore_controller::load_controller() * line ? of unknownfile: call to copy_helper::{closure}() * line 247 of /backup/util/helper/copy_helper.class.php: call to array_map() * line 143 of /backup/util/helper/copy_helper.class.php: call to copy_helper::map_backupids_to_restore_controller() * line 75 of /backup/util/ui/classes/output/copy_form.php: call to copy_helper::get_copies() * line 214 of /lib/formslib.php: call to core_backup\output\copy_form->definition() * line 5033 of /course/lib.php: call to moodleform->__construct() * line 8064 of /lib/moodlelib.php: call to course_output_fragment_new_base_form() * line 415 of /lib/external/externallib.php: call to component_callback() * line ? of unknownfile: call to core_external::get_fragment() * line 251 of /lib/external/classes/external_api.php: call to call_user_func_array() * line 83 of /lib/ajax/service.php: call to core_external\external_api::call_external_function()
Any help in resolving the issue is appreciated.
Thanks