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

The Config.xml as provided as download is invalid in php ($CFG is not initialized)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.7
    • 1.9.8
    • Installation
    • None
    • Moodle OSX, PHP5, MySQL
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE
    • Easy

    Description

      hi,

      running moodle in a freshly installed php5 environment throws a:

      Strict Standards: Creating default object from empty value in /Users/swagner/Sites/moodle/config.php on line 5

      If you complete it with: $CFG = new stdClass();
      after:
      unset($CFG);

      $CFG = new stdClass();
      $CFG->dbtype = 'mysql';

      solved!

      Attachments

        Activity

          People

            poltawski Dan Poltawski
            seba.wagner Sebastian Wagner
            Nobody Nobody
            Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25/Mar/10