Problems with upgrading to version 5.2.13

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.

Comments

  • 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.
  • 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. :)
  • Thanks for the quick answer.

    No, it is PHP-Version 5.2.13
  • Sorry I gave the wrong answer. Just a moment. I'll check
  • 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.
  • 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
Sign In or Register to comment.