Moodle

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

Details

  • Type: Bug Bug
  • Status: Closed 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

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 (skodak) added a comment -

fixed in cvs, thanks for the report!

Show
Petr Škoda (skodak) added a comment - fixed in cvs, thanks for the report!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: