Moodle

parse error on type/questiontype.php in moodle_19_weekly

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.9.4
  • Fix Version/s: 1.9.5
  • Component/s: Quiz
  • Labels:
    None
  • Environment:
    PHP4, MySQl 5
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

This problem appears on PHP4 after teh upgrade to the latest weekly build (Build: 20090401)

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in .../corsi/question/type/questiontype.php on line 741

Line 741 is:
private $htmlheadalreadydone = false;
workaround: comment it out, but another parse error appears in line 799:

protected function find_standard_scripts_and_css()
workaround: remove "protected"

Activity

Hide
Petr Škoda (skodak) added a comment -

Fixed, Martin is going to reroll weekly, thanks a lot!

Show
Petr Škoda (skodak) added a comment - Fixed, Martin is going to reroll weekly, thanks a lot!
Hide
Tim Hunt added a comment -

Sorry! that was my fault.

Show
Tim Hunt added a comment - Sorry! that was my fault.
Hide
Andrea Bicciolo added a comment -

Thanks for the quick fix!

however, moodle_19_weekly looks not rerolled yet.

Show
Andrea Bicciolo added a comment - Thanks for the quick fix! however, moodle_19_weekly looks not rerolled yet.
Hide
Martin Dougiamas added a comment -

Damn, I thought this would have been rolled into the standard weekly but it missed it by just a couple of hours.

Rerolling now.

Show
Martin Dougiamas added a comment - Damn, I thought this would have been rolled into the standard weekly but it missed it by just a couple of hours. Rerolling now.
Hide
Nicolas Connault added a comment -

Verified. Thanks.

Show
Nicolas Connault added a comment - Verified. Thanks.

Dates

  • Created:
    Updated:
    Resolved: