-
Third Note Administrator posted a new activity comment: 1 year, 8 months ago · View
Never mind – php 4 instead of 5
In reply to - Third Note Administrator posted an update in the group Biblefox Development: A little help please, getting error trying to install biblefox on new site. I have disabled all plugins but buddypress and still getting fatal error on install: Parse error: syntax error, unexpected T_STRING, expecting ’)’ in /nfs/c07/h04/mnt/108695/domains/notgod.org/html/wp-content/plugins/biblefox-for-wordpress/biblefox-for-wordpress.php on line 56 · View -
Third Note Administrator posted an update in the group
Biblefox Development: 1 year, 8 months ago · ViewA little help please, getting error trying to install biblefox on new site. I have disabled all plugins but buddypress and still getting fatal error on install:
Parse error: syntax error, unexpected T_STRING, expecting ’)’ in /nfs/c07/h04/mnt/108695/domains/notgod.org/html/wp-content/plugins/biblefox-for-wordpress/biblefox-for-wordpress.php on line 56
-
Third Note Administrator joined the group
Biblefox Development 1 year, 8 months ago · View -
Third Note Administrator became a registered member 1 year, 10 months ago · View
Hmm… That syntax error doesn’t occur for me. What does your line 56 look like in that file?
Line 56 should look like this:
if (!isset($_bfox_active_ref)) $_bfox_active_ref = new BfoxRef;
See: http://plugins.trac.wordpress.org/browser/biblefox-for-wordpress/tags/0.8.3/biblefox-for-wordpress.php#L59
Whoops, 56 should look like this:
function bfox_active_ref(BfoxRef $ref = null) {
Also, what version of PHP are you running?
I’m pretty sure the syntax I’m using on that line is only available in PHP 5 or greater. You should upgrade to PHP 5 if you haven’t already, because even WordPress is going to stop supporting PHP 4 soon with version 3.2. See here for some helpful info: http://codex.wordpress.org/Switching_to_PHP5
Hehe… that funny, Biblefox thinks PHP 4 means Philippians 4.
Never mind – php 4 instead of 5