Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12526

CAS Notice line 25 IIS $_SERVER['REQUEST_URI']

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.14, 1.9.10
    • 1.8.3
    • Authentication
    • 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.

            skodak Petr Skoda
            bamnet Brian M (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.