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

undefined function strislashes() in moodle/auth/pam/auth.php

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.8.2
    • 1.8.1
    • Authentication
    • None
    • Debian Etch
    • MOODLE_18_STABLE
    • MOODLE_18_STABLE

      after fresh and successful upgrade from 1.6+ to 1.8 on first time login you got the error
      Fatal error: Call to undefined function strislashes() in /var/www/moodle/auth/pam/auth.php on line 71

      It is a typing error in file ./moodle/auth/pam/auth.php :
      if (pam_auth(stripslashes($username), strislashes($password))) {

      should be:
      if (pam_auth(stripslashes($username), stripslashes($password))) {

            skodak Petr Skoda
            gints Gints Neimanis (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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