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

Session database sesskey field too small when using sha1 as hashing function for php session

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.7
    • 1.6.3
    • Database SQL/XMLDB
    • None
    • Server 2003 with latest security updates and IIS 6.0 for web.
      Server 2003 with latest security updates and MySQL 5.0.11 for database backend.
    • MySQL
    • MOODLE_16_STABLE
    • MOODLE_17_STABLE

      There is a problem with the field size of sesskey in the sessions database. It is currently set to char(32) but that is too small to hold the entire key. It should be set to char(40). Activate dbsessions with the sesskey still set to char(32) and try to log into your moodle site and it will complain at the footer of the front page and the login page about Session Replace: Duplicate key '...........' for key 1 and never let you log in.

            skodak Petr Skoda (Inactive)
            m3741 Adam Kouse
            Nobody Nobody
            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.