Parse errors during first try at installation.

I have a few errors trying to install a clean version of Zenphoto 1.4.4.5. I had an older version running but could not access it (similar errors as below). Lunarpages updated MySQL to 5.5, then I noticed my old gallery having errors.

http://www.lunarforums.com/latest_hosting_news_and_announcements/mysql_55_updates-t62047.0.html

My server has the following:

Apache version 2.2.24
PHP version 5.3.23
MySQL version 5.5.30-cll

Here are the URLs and errors:

mydomain.name/folder/zentest1/zp-core/setup.php
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/username/public_html/userdomain/folder/zentest1/zp-core/functions-basic.php on line 1474

mydomain.name/folder/zentest1/
Parse error: syntax error, unexpected '=', expecting ')' in /home/username/public_html/userdomain/folder/zentest1/zp-core/template-functions.php on line 4374

I noticed another thread with similar problems.
http://www.zenphoto.org/support/topic.php?id=66419#post-130670

Comments

  • acrylian Administrator, Developer
    The server config looks fine. Try a reupload maybe.
  • Check your PHP level again. The error you are getting is typically associated with PHP version 4.
  • cPanel was telling me that I had PHP 5.3.23, found out my account was processing with PHP 4.4.9. I selected PHP 5 from a drop down menu within the PHP Configuration page, everything runs fine now.
Sign In or Register to comment.