Hi,
I copied a large lesson from course-1 to course-2 using backup and restore. I merged just that one lesson activity into course-2 from the backup made in course-1.
The merge appeared to be successful so I edited the lesson in course-2. The lesson works fine in course-1 but it will not run in course-2. I get this error message:
- line 421 of /lib/setuplib.php: moodle_exception thrown
- line 2665 of /mod/lesson/locallib.php: call to print_error()
- line 1299 of /mod/lesson/locallib.php: call to lesson_page_type_manager->load_page()
- line 271 of /mod/lesson/view.php: call to lesson->load_page()
When I look in the database, I can see the lesson pages in course-2. And I can edit the pages from the lesson editor in Moodle. But the lesson won't run.
I assume that the restore function failed to set an address corectly so now Moodle can't locate the lesson pages. I could edit the address in the database if I had some idea where to look for it.
Does anyone have an idea how to repair the lesson in course-2? I have already spent a lot of time editing the lesson and don't want to have to do it again.
Thanks,
Clarence