Moodle

error_get_last() call breaks installation when PHP version not correct

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

Activity

Hide
Martin Dougiamas added a comment -

Thanks Dean! Assigning to Andrew to check in.

Show
Martin Dougiamas added a comment - Thanks Dean! Assigning to Andrew to check in.
Hide
Andrew Davis added a comment -

All checked in.

Show
Andrew Davis added a comment - All checked in.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: