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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2
    • Component/s: Authentication
    • Labels:
      None
    • Environment:
      Debian Etch
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      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

            Assignee:
            skodak Petr Skoda
            Reporter:
            gints Gints Neimanis
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Jul/07