i just installed Zenphoto 1.2.5 and modified zp-config.php

i just installed Zenphoto 1.2.5 and modified zp-config.php uploaded as "zp-config.php" i m seeing this error. i am using PHP Version 4.2.3,GD Version 1.6.2, MySQL 4.0.21

May i know what could be problem ?

Warning: Wrong parameter count for setlocale() in /usr/home/a/k/user/public_html/script/zen/zp-core/functions-i18n.php on line 245

Fatal error: Call to undefined function: gd_info() in /usr/home/a/k/user/public_html/script/zen/zp-core/lib-GD.php on line 502

Comments

  • acrylian Administrator, Developer
    First, running setup is actually enough, no need to change the file manually.

    The errors are because our usage of setlocale seems to require PHP 4.3 or later, same with the function `gd_info()` that is not available before PHP 4.3 also. We apparently missed that but we actually develop on PHP 5.2.x (and MySQL 5) so that sometimes we misse the lack of support for older versions. We will see if there is a way to workaround.

    I am sorry no other fix right now than suggesting to upgrade the server (which is a good idea anyway).
Sign In or Register to comment.