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

Fatal error when attempting to use external DB authentication

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Authentication
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      When working on splitting the auth strings I found that external db authentication was causing a fatal error when attempting to log in. The error itself is:
      Fatal error: Call to undefined function ADONewConnection() in /var/www/m20.dev1/moodle/auth/db/auth.php on line 115

      Adding the following line to auth/db/auth.php solved the problem but I'm really not sure whether that would be the best solution?
      require_once($CFG->libdir.'/adodb/adodb.inc.php');

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              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: