Parse error

Hello,
I'm trying to install the Zengallery on my website cyprusbilliards.com
I have uploaded the installation files for a new installation on webhost4life.com servers and I get this error:
Parse error: parse error, unexpected '=', expecting ')' in e:\hosting\member\ckonnaris\billiards\Zenpictures\zp-core\template-functions.php on line 4407
I contacted webhost4life support and their answer was:
""I have done some troubleshooting and could find that the issue is with the coding in the script in the file Zenpictures\zp-core\template-functions.php . Therefor, you need to debug the issue from your end and resolve the issue with the coding. ""
Can u pls advice

Comments

  • acrylian Administrator, Developer
    Without more information of your install or if setup complained about anything I would suggest to re-upload the files as they might have been corrupted on upload.
  • I'm having the exact same problem. I'm running other .php applications from my website, so I know it's set up/capable. I can't get to setup.php either. It gives me a similar parse error: Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /***/***/public_html/art/photos/zp-core/lib-utf8.php on line 240
    I've tried reuploading all files involved, including the setup.php file, just in case. There's not much more info I can provide.. I downloaded the files, then transferred them directly into my folder (photos) and then tried to enter the setup screen... and that template-functions.php on line 4407 parse error popped up instead.
  • You can provide the version of PHP and Zenphoto you are using. I can see nothing amis on that line.

    The error from the template-functions.php is normally caused by PHP version 4 which is below the minimum requirements for Zenphoto.
  • Ah, that did it. I upped the version to 5.something and that fixed the problem. Thank you! :)
Sign In or Register to comment.