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

Maintenance mode does not make site unavailable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.3.9, 2.4.6, 2.5.2
    • Installation
    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Hide

      Set $CFG->forcelogin to true during maintenance.

      Another option is permanently set both $CFG->forcelogin and $CFG->autologinguests

      Show
      Set $CFG->forcelogin to true during maintenance. Another option is permanently set both $CFG->forcelogin and $CFG->autologinguests

      Discovered while testing MDL-41398:

      When site is in maintenance mode all users are still able to log in. Guests or logged in users are able to see any pages except /index.php that don't call "require_login()", for example /course/index.php, calendar, frontpage resources (together with files), etc.

      Other pages display the maintenance message together with debugging message about missing $PAGE->set_url().

      Reproduced on all stable versions

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            5 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

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