Member
Member
Soleil   2010-09-10, 20:06
#1

I just wanted to upgrade the gallery on one of my websites and got the following error message after the set up page:

Parse error: syntax error, unexpected ',', expecting '(' in /homez.65/xxxxxx/www/albums/zp-core/lib-Imagick.php on line 100

I looked up this file in the zp-core but could not make out what was wrong.

I hope you can help me quickly.

Member
Member
sbillard   2010-09-10, 20:19
#2

Your site is most likely running PHP version 4. For some reason many PHP 4 sites report that they support Imagick even though Imagick requires PHP 5.

Upgrade your PHP to version 5.

Member
Member
kagutsuchi   2010-09-10, 20:22
#3

There have been a couple of threads posting regarding this error. Your host probably provides both PHP4 and PHP5. On these particular environments, if you're running PHP4, the server will still report you're running PHP5. The easiest option to fix the issue is to switch to PHP5. You should ask your host about that if you don't know how.

Alternatively, you could try the nightly build which has another check for PHP5. That might work better.

Edit: sbillard was quicker.

Member
Member
Soleil   2010-09-10, 20:22
#4

Thanks for the quick answer.

No, it is PHP-Version 5.2.13

Member
Member
Soleil   2010-09-10, 20:23
#5

Sorry I gave the wrong answer. Just a moment. I'll check

Member
Member
Soleil   2010-09-10, 20:34
#6

This was that !

I added "SetEnv PHP_VER 5_TEST" to the .htaccess file and it worked.

I had forgotten that PHP 5 is necessary.

Thanks a lot for your (always) competent and fast help.

Member
Member
sbillard   2010-09-11, 00:02
#7

Unfortunately, nightly builds are broken until our site manager Trisweb can get time to figure out what went wrong.

This might also help http://www.zenphoto.org/trac/ticket/1626

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.