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

php notice displayed when moodle installer can't write to the data directory

    XMLWordPrintable

    Details

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

      Description

      Installing Moodle and Moodle doesnt currently have write permission to the data directory. I get the following php notice displayed.

      Notice: Undefined variable: a in /home/andrew/Desktop/review/moodle/install.php on line 320
      Call Stack

      1. Time Memory Function Location
        1 0.0021 443200 {main}

        ( ) ../install.php:0

      Under the data directory text box is the following message:
      Data directory ({$a->dataroot}) cannot be created by the installer.

      The $a isnt being substituted.

        Attachments

          Activity

            People

            Assignee:
            darenc Daren Chandisingh
            Reporter:
            andyjdavis Andrew Davis
            Tester:
            David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              21/Feb/11