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

Incorrect Error Message When session_start() Fails

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.4.7, 4.5
    • Authentication

      https://moodle.org/mod/forum/discuss.php?d=466857#p1874265

      https://github.com/moodle/moodle/blob/MOODLE_405_STABLE/lib/classes/session/manager.php#L156

      Currently, when session_start() returns false, Moodle displays the generic error message 'servererror'. This misleads users into thinking there is a server connection issue when, in reality, the failure is related to session initialization.

            pholden Paul Holden
            eduardokraus Eduardo Kraus
            Daniel Ziegenberg Daniel Ziegenberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m

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