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

Fatal error: Call to undefined method domdocument:load() when extension=php_domxml.dll is loaded

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.9.2
    • Fix Version/s: 1.8.7, 1.9.3
    • Labels:
      None
    • Environment:
      OS: MS Windows Xp
      XAMPP 1.6.7
      extension=php_domxml.dll loaded
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Fatal error: Call to undefined method domdocument:load() in \lib\xmldb\classes\XMLDBFILE.class.php on line 85

      /// Create and load XML file
      $parser = new DOMDocument();
      85-->> $parser>load($this->path);

      This error is shown when extension=php_domxml.dll is loaded

      In mdl 2.0 \lib\xmldb\xmldb_file.php on line 85

        Attachments

          Activity

            People

            Assignee:
            stronk7 Eloy Lafuente (stronk7)
            Reporter:
            darkath Dariem Garces (Demian)
            Tester:
            Dongsheng Cai
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Oct/08