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

error_get_last() call breaks installation when PHP version not correct

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Environment:
      Environments that are running less than the required PHP version
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      There is a call to error_get_last() in /lib/weblib.php which halts the installation process of a new Moodle 2.0 instance on environments where the PHP version is older than the require 5.2.8. This means that any developers interested in trialling Moodle 2.0 who were not aware of the PHP upgrade requirement never actually get to see the friendly error message that pops up later in the install process.

        Attachments

          Activity

            People

            Assignee:
            andyjdavis Andrew Davis
            Reporter:
            deeknow Dean Stringer
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10