Moodle
  1. Moodle
  2. MDL-10355

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      28868

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

        Activity

        Hide
        Petr Škoda added a comment -

        fixed in cvs, thanks for the report!

        Show
        Petr Škoda 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: