-
Bug
-
Resolution: Fixed
-
Minor
-
1.8.3
-
None
-
Windows Server 2003
IIS 6.0
PHP 5.2.3
-
MOODLE_18_STABLE
-
MOODLE_18_STABLE, MOODLE_19_STABLE
When visiting the site I get a CAS warning the variable is undeclared on line 25 of cas.php.
The hack by Vangelis Haniotakis to handle the absence of $_SERVER['REQUEST_URI'] in IIS doesn't work, you cannot check !$_SERVER['REQUEST_URI'], isset($_SERVER['REQUEST_URI']) should be used instead. The current one (using !) assumes the variable exists, returning a notice.
I've attached my copy that works, no errors or notices.
- is duplicated by
-
MDL-12659 Undefined property: stdClass::$forgottenpasswordurl in admin\auth.php on line 303 and Undefined index: REQUEST_URI in as\CAS\CAS.php on line 9
-
- Closed
-