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

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

    XMLWordPrintable

Details

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

    Description

      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))) {

      Attachments

        Activity

          People

            skodak Petr Skoda
            gints Gints Neimanis
            Nobody Nobody
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              8/Jul/07