Zenphoto comes as an option on my server and looks to be exactly what I need. I installed it and can get admin access and upload etc but when viewing the gallery I get
Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web018/b183/glo.zorgon/gallery/zp-core/template-functions.php on line 4516
Any help on fixing this would be appreciated. Also I am not that fluent in php yet
Thanks
Comments
The error is most likely caused by some sort of file corruption, though since such an error would prevent the script from loading and the template-functions script is pretty integral to any Zenphoto insatallation.
[code]Parse error: syntax error, unexpected T_STRING in /homefolder/zenphotos/zp-core/template-functions.php on line 4516[/code]
This seems to have something to do the call to the printZenphotoLink function, which included an optional link to SiteLock. Commenting out the function (near the referened line 4516) seemed to fix the problem:
[code] function printZenphotoLink() {
echo gettext("Powered by...
}
[/code]
I'm guessing that this is auto-generated somehow during the install process and that there is some single-quote/double quote confusion, but I haven't had the time to go through it.