Ticket #798 (closed defect: fixed)
Parse error in Wakka.class.php
| Reported by: | BrianKoontz | Owned by: | BrianKoontz |
|---|---|---|---|
| Priority: | high | Milestone: | 1.3 |
| Component: | core | Version: | trunk |
| Severity: | major | Keywords: | |
| Cc: |
Description
The following error may be generated when attempting to run latest trunk (revision 1200) with PHP version < 5:
Parse error: parse error, unexpected '=', expecting ')' in /var/www/wikka-trunk/libs/Wakka.class.php on line 566
This is due to PHP not accepting values assigned to pass-by-reference default function arguments prior to PHP 5 (as is currently defined in the IncludeBuffered() arg list).
For more info, see http://devzone.zend.com/article/1714-Whats-New-in-PHP-5 (search for "default values for by-reference parameters").
Change History
Note: See
TracTickets for help on using
tickets.