Issue Details (XML | Word | Printable)

Key: MDL-18769
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Petr Skoda (frankenstein)
Reporter: Andrea Bicciolo
Votes: 0
Watchers: 4
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

parse error on type/questiontype.php in moodle_19_weekly

Created: 01/Apr/09 11:33 PM   Updated: 14/Apr/09 08:39 PM
Component/s: Quiz
Affects Version/s: 1.9.4
Fix Version/s: 1.9.5

Environment: PHP4, MySQl 5

Participants: Andrea Bicciolo, Martin Dougiamas, Nicolas Connault, Petr Skoda (frankenstein) and Tim Hunt
Security Level: None
QA Assignee: Nicolas Connault
Resolved date: 01/Apr/09
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
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"



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda (frankenstein) added a comment - 01/Apr/09 11:49 PM
Fixed, Martin is going to reroll weekly, thanks a lot!

Tim Hunt added a comment - 02/Apr/09 10:25 AM
Sorry! that was my fault.

Andrea Bicciolo added a comment - 02/Apr/09 04:22 PM
Thanks for the quick fix!

however, moodle_19_weekly looks not rerolled yet.


Martin Dougiamas added a comment - 03/Apr/09 11:07 PM
Damn, I thought this would have been rolled into the standard weekly but it missed it by just a couple of hours.

Rerolling now.


Nicolas Connault added a comment - 14/Apr/09 08:39 PM
Verified. Thanks.