After transferring all the folders and files of the installation to the server, using FTP, when I try to access the first time this error appears:
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /srv/disk5/jolepo/www/joanL/zp-core/functions-basic.php on line 1886
Can you help me?
Thank you very much
Zenphoto 1.5.7
functions-basic.php
line 1886:
if (defined('WEBPATH') && !empty(WEBPATH) && strpos($redirectTo, WEBPATH) === false) {
$redirect .= WEBPATH;
/**
I have uninstalled version 1.5.7 and downloaded and installed version 1.5.8b.
The same error appears, on a different line:
Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /srv/disk5/jolepo/www/joanL/zp-core/functions-basic.php on line 1891
Okay, I see, we had this before. Is it possible that you are still on an outdated PHP version like 5.5 or even older? Then please upgrade to to 7+ or 7.2+ or at least 5.6.
Note 1.5.8 later on - incl. the beta - will probably not allow installs on anything lower than 5.6 which is the minimum requirement anyway. We still had allowed older verions for some user convenience but since we don't even test anything below 7.4 specifically this can happen.