ZenphotoCMS Forum
syntax error on setup.php - 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: syntax error on setup.php (/thread-7263.html)



syntax error on setup.php - xjasonx - 27-06-2010

Parse error: syntax error, unexpected ',', expecting '(' in /homepages/19/d87198790/htdocs/colleendurkin/client/zp-core/lib-Imagick.php on line 79

i cant even get it to load setup.php

any ideas?

http://pastebin.com/cuCVZj4C is whats in lib-imagick.php




syntax error on setup.php - kagutsuchi - 27-06-2010

Imagick requires PHP5. It's likely that your server is running PHP4, though your server still reports Imagick to be working. This issue has been fixed in the nightly builds. You can fix this by either switching to PHP5 (if you don't know how, ask your provider) or installing the nightly build instead.




syntax error on setup.php - xjasonx - 27-06-2010

awesome! ill try a nightly build.

for anyone else reading, im on host 1and1. will report back on the nightly build!

thanks.




syntax error on setup.php - xjasonx - 27-06-2010

the nightly build did not work for me.. i get this error now

Parse error: syntax error, unexpected ',', expecting '(' in /homepages/19/d87198790/htdocs/colleendurkin/client/zp-core/lib-Imagick.php on line 92




syntax error on setup.php - kagutsuchi - 27-06-2010

If the server is still reporting an error, then I think it would be best to take the issue up with your host. The script checks that PHP5 is running and Imagick is loaded with the required version. If your server reports that incorrectly, then I'm not sure that any amount of checks put into the script will fix this problem.




syntax error on setup.php - xjasonx - 27-06-2010

thanks, ive got a support ticket in to 1and1 so ill report back what they do incase anyone ever has a problem too.




syntax error on setup.php - PerryP - 02-07-2010

xjasonx, did you get your problem solved? I'm running into that too.