Just to get past the error I removed the =0 and =null's in the function template. Next error was PHP Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /var/www/html/dolphin61/templates/base/scripts/BxBaseCmtsView.php on line 176
I removed the & (which I'm sure introduces some other bug!) and the homepage came up.
Not sure if these require PHP 5 -- but looks like if you can program a different way, you may be OK in PHP 4.4.6.
PHP Parse error: syntax error, unexpected '=', expecting ')' in /var/www/html/dolphin61/templates/base/scripts/BxBaseCmtsView.php on line 40
Line 40 is:
function getComments ($iCmtsParentId = 0, &$iOverflow = null, &$iCountTotal = null)
I am running PHP 4.4.6.
thanks,
Rowland
I removed the & (which I'm sure introduces some other bug!) and the homepage came up.
Not sure if these require PHP 5 -- but looks like if you can program a different way, you may be OK in PHP 4.4.6.
thanks,
Rowland
change
function getComments ($iCmtsParentId = null, &$iOverflow = null, &$iCountTotal = null)
to
function getComments ($iCmtsParentId = null, $iOverflow = null, $iCountTotal = null)
or
function getComments ($iCmtsParentId = 0, $iOverflow = 0, $iCountTotal = 0)
and remove the & @ line 176