-
Bug
-
Resolution: Fixed
-
Minor
-
1.8.2
-
None
-
Moodle Server --> Windows 2003 running latest XAMPP moodle 1.8.2+ package
ISA Server --> Windows 2003 R2 running ISA Server 2006
ISA Server acting as a reverse proxy from the internet to the internal moodle server
ISA Server connecting with clients using SSL
ISA Server connecting with moodle server not using SSLMoodle Server --> Windows 2003 running latest XAMPP moodle 1.8.2+ package ISA Server --> Windows 2003 R2 running ISA Server 2006 ISA Server acting as a reverse proxy from the internet to the internal moodle server ISA Server connecting with clients using SSL ISA Server connecting with moodle server not using SSL
-
MOODLE_18_STABLE
-
MOODLE_20_STABLE
I'll try to describe my config as best as possible.
-When a browser connects to https://my.org/moodle ISA Server retreives pages from the internal site known to it as http://my.org/moodle
cfg$->wwwroot =https://my.org/moodle
-Moodle in general works great under this configuration
-You can create quizzes and add questions, however once questions are added and you try to preview the quiz you receive the following error:
/* begin error */
Page class mapping requested for unknown type: http:--webmail.brsd.ab.ca-moodle-mod-quiz-view line 100 of lib\pagelib.php:
call to debugging() line 65 of lib\pagelib.php:
call to page_map_class() line 50 of lib\pagelib.php:
call to page_create_object() line 51 of mod\quiz\view.php:
call to page_create_instance()
Notice: Undefined index: http:--webmail.brsd.ab.ca-moodle-mod-quiz-view in C:\moodle\wwwroot\moodle\lib\pagelib.php on line 103
Notice: Undefined index: http:--webmail.brsd.ab.ca-moodle-mod-quiz-view in C:\moodle\wwwroot\moodle\lib\pagelib.php on line 104
Page class mapping for id "http:--webmail.brsd.ab.ca-moodle-mod-quiz-view" exists but class "" is not defined line 104 of lib\pagelib.php:
call to debugging() line 65 of lib\pagelib.php:
call to page_map_class() line 50 of lib\pagelib.php:
call to page_create_object() line 51 of mod\quiz\view.php:
call to page_create_instance()
Notice: Undefined index: http:--webmail.brsd.ab.ca-moodle-mod-quiz-view in C:\moodle\wwwroot\moodle\lib\pagelib.php on line 107
Fatal error: Class name must be a valid object or a string in C:\moodle\wwwroot\moodle\lib\pagelib.php on line 67
/* end error */
Workarounds:
1. Disable ISA SSL connection for the external https://my.org/moodle (not desirably since we want all traffic encrypted) and change cfg$-->wwwroot=http://my.org/moodle
2. Enable SSL Bridging in ISA so that ISA retreives https://my.org/moodle (not desirable as is puts ssl load on moodle server), this is a little more difficult because you need to export the ssl cert from apache and then import it into the Trusted Certificate Store on the ISA Server. this can be done by using the following command: bin/openssl pkcs12 -export -in server.crt -inkey server.key -out server.p12 (of course adjusting the command line to point to correct paths of the files.
The problem I beleive lies in the pagelib.php as it does not seems to be construting the pagetype correctly for quiz view in this environment but it does appear to do it properly for other pagetypes since I can not reproduce the problem in any other module.
- has been marked as being related by
-
MDL-17754 Session improvements and related rewrites
- Closed
- is duplicated by
-
MDL-9029 Chat doesn't work
- Closed
-
MDL-11833 Quiz appear a blank. I put in debug mode and received the following message "Fatal error Class name must be a valid object or a string in C \moodle\moodle\lib\pagelib.php on line 67".
- Closed
-
MDL-16932 Quiz does not display questions - displays a blank page
- Closed