ZenphotoCMS Forum
Parse errors during first try at installation. - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Parse errors during first try at installation. (/thread-11016.html)



Parse errors during first try at installation. - j290gfbn9 - 2013-04-26

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




Parse errors during first try at installation. - acrylian - 2013-04-26

The server config looks fine. Try a reupload maybe.




Parse errors during first try at installation. - sbillard - 2013-04-26

Check your PHP level again. The error you are getting is typically associated with PHP version 4.




Parse errors during first try at installation. - j290gfbn9 - 2013-04-27

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.