"Parse error: syntax error, unexpected ',', expecting '(' in /mnt/glusterfs/web/m/i/michalrusina.sk/sub/gallery/zp-core/lib-Imagick.php on line 79"
can anyone tell me what can cause this? the latest zp with mysql 5.0.90 & php 4.4.9 started to do this, tried to reinstal, but it happens also. is there a possibility that imagick is not installed and zp cant handle this? (they did some setup changes on hosting maybe)
Comments
Imagick itself requires PHP 5 explicitly but causing this error was an oversite in 1.3 and is fixed in the nightly build (if I recall correctly).
Parse error: syntax error, unexpected ',', expecting '(' in /homepages/19/d87198790/htdocs/colleendurkin/client/zp-core/lib-Imagick.php on line 92
AddType xmapp-php5 .php
AddHandler x-mapp-php5 .php
Add them right at the top of the file, (just below the section with the # hashes).
Good luck
I would assume that mgilpat629's suggestion does just that: forces PHP files to use PHP5. I would assume that this is put in Zenphoto's `.htaccess`. The best way to know is to try it.