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

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

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

        Gliffy Diagrams

          Activity

          Hide
          skodak Petr Skoda added a comment -

          fixed in cvs, thanks for the report!

          Show
          skodak Petr Skoda added a comment - fixed in cvs, thanks for the report!

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

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