You are not logged in.
Not sure if this affects other versions of PHP, this client's server is on PHP 5.3.3 (not my choice).
Creating an array via [ ] appears to be the problem, replacing these with array( ) resolves the issue.
PHP Parse error: syntax error, unexpected '[', expecting ')' in /core/inc/bigtree/sql-class.php on line 30
(only first instance shown)
Affected files are cms.php & sql-class.php
Joe
Offline
Oh yeah, anything less than PHP 5.4 will throw these errors and prevent proper function. May want to update documentation if you're only supporting PHP 5.4+
Offline
Thanks for the bug report! I pushed a fix to 4.2-devel that will only load the new (beta) SQL class on PHP 5.4+ as well as fixing the [] usage in cms.php back to array().
We're going to support PHP 5.3 in the 4.x branch (including the upcoming 4.3 release) but conditionally add features that require newer versions of PHP. BigTree 5 will require PHP 7.1 when it's released (hopefully late this year).
Offline
My solution was to push for upgrading to PHP 5.6.x
Thanks!
Joe
Offline