Moodle

Parse error on adminlib.php

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Duplicate
  • Affects Version/s: 1.9.2
  • Fix Version/s: 1.9.3
  • Component/s: Administration
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

The moodle_19_weekly build 20080730 seems affected by teh following parse error when running on php4:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /path/to/moodle/lib/adminlib.php on line 3517

In PHP 5 the error does not appear. This issue makes impossible to update sites to weekly build on PHP4 servers.

Issue Links

Activity

Hide
Andrea Bicciolo added a comment -

Thanks Petr. The fix is still not avbailable on weekly build right ?

Show
Andrea Bicciolo added a comment - Thanks Petr. The fix is still not avbailable on weekly build right ?
Hide
Eloy Lafuente (stronk7) added a comment -

Should be now. Ciao

Show
Eloy Lafuente (stronk7) added a comment - Should be now. Ciao
Hide
Tim Hunt added a comment -

Reopening, so I can re-resolve as Duplicate.

Show
Tim Hunt added a comment - Reopening, so I can re-resolve as Duplicate.
Hide
Tim Hunt added a comment -

Confirming that this is a duplicate.

Show
Tim Hunt added a comment - Confirming that this is a duplicate.

People

Dates

  • Created:
    Updated:
    Resolved: