Closed hartmut1s closed 10 years ago
Hi Gareth,
Problem solved. During the day I say "Invalid course module ID" and deleted that course. It was only a test course. After this the "My Home" page was displayed again. Obviously, it had nothing to do with themes, but I didn't know this a few hours ago.
With kind regards, Hartmut
Hi Hartmut,
Is this resolved so I can close it? :)
Cheers,
Gareth
Hi Gareth,
Yes, you can close this issue or delete it altogether as it was unrelated to themes. I don't know which activity module cause the error message, but after I deleted the test course, the error message was gone.
With kind regards, Hartmut
Hi Gareth,
While I wanted to take screenshots in Shoehorn and Clean theme in order to show the difference of white space below a label, I enabled "Allow theme changes in the URL."
For one course page I used the URL: http://pibc-edu.com/course/view.php?id=259&theme=clean
In a new tab while the other page was still open, I used the URL: http://pibc-edu.com/course/view.php?id=258&theme=shoehorn
After this I clicked on "My home" and got an error message for http://pibc-edu.com/my/index.php
Debug info: Error code: invalidcoursemodule Stack trace: line 230 of /lib/modinfolib.php: moodle_exception thrown line 190 of /availability/classes/info_module.php: call to course_modinfo->get_cm() line 268 of /calendar/lib.php: call to core_availability\info_module::is_user_visible() line 91 of /blocks/calendar_month/block_calendar_month.php: call to calendar_get_mini() line 294 of /blocks/moodleblock.class.php: call to block_calendar_month->get_content() line 236 of /blocks/moodleblock.class.php: call to block_base->formatted_contents() line 993 of /lib/blocklib.php: call to block_base->get_content_for_output() line 1045 of /lib/blocklib.php: call to block_manager->create_block_contents() line 353 of /lib/blocklib.php: call to block_manager->ensure_content_created() line 28 of /theme/shoehorn/layout/mydashboard.php: call to block_manager->region_has_content() line 877 of /lib/outputrenderers.php: call to include() line 807 of /lib/outputrenderers.php: call to core_renderer->render_page_layout() line 167 of /my/index.php: call to core_renderer->header()
I am using Shoehorn version 2.7.0.3. Will this issue be fixed, if I upgrade to the latest version of Shoehorn?
With kind regards, Hartmut