-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.2.1
-
None
-
LAMP
-
MySQL
-
MOODLE_22_STABLE
– Install User_contact block for Moodle 2.0+.
– Add User_contact block to front page course.
– After adding block to Front page, you should be able to go to the My Home page and in fact navigate to other courses.
– But if you go to Home (Moodle installation site home), then you get a "PHP catchable error" message which breaks the site. See attached screen cap.
– You can hit the browser's Back button and still navigate the rest of the site. You can add the block successfully to non-Front-Page courses. But adding the block to the Front Page course seems to break access to the site's Home page.
---------------
As described above, I could install the block successfully with no error messages. I could add the block inside non-Front-Page courses successfully and those course blocks sent test email successfully.
The only problem I encountered was when I tried to add the block to my Front Page course. Actually adding the block on the Front Page did not throw an error, although I did notice that the block did not actually show on the Front Page. I then went into a non-Front-Page course and successfully added and tested the block in that context-- the block worked fine. Only when I tried to return the site's Home page (not My Home but the site's home page) did the "PHP catchable error" appear.
I ran a trace stack (see attached file for details). I then went into Admin > Plugins > Blocks > Manage Blocks and successfully deleted the User_contact block.
I was hoping to use this very capable block on the Front Page so guests and users with login problems, questions, etc. could easily contact me without my having to reveal my email address to avoid spam (exactly how I have used this block's 1.9 version on my previous Moodle 1.9 installation with no problems). I hope this Front Page context bug can be worked out soon for this Moodle 2 version.