I also had this error with a brand new ZenPhoto install (my host uses SimpleScripts through CPanel). The admin interface worked fine, but when I went to view my uploaded images the error appeared:
[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.