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

Can't login via Shibboleth while $CFG->authpreventaccountcreation is on

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.2.6, 2.3.3
    • 2.2
    • Authentication
    • None
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE, MOODLE_23_STABLE

      While testing MDL-26257 Eloy found he could not log via Shibboleth because of the following two errors (very likely related):

      Coding error detected, it must be fixed by a programmer: moodle_database::update_record_raw() id field must be specified.
      Stack trace:
      line 961 of /lib/dml/mysqli_native_moodle_database.php: coding_exception thrown
      line 1017 of /lib/dml/mysqli_native_moodle_database.php: call to mysqli_native_moodle_database->update_record_raw()
      line 3073 of /lib/moodlelib.php: call to mysqli_native_moodle_database->update_record()
      line 47 of /auth/shibboleth/index.php: call to update_user_login_times()

      Coding error detected, it must be fixed by a programmer: Invalid $user parameter in check_user_preferences_loaded() call, missing id field

      Cheers
      Sam

            moodle.com Moodle HQ
            samhemelryk Sam Hemelryk
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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