![]() |
|
Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - 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: Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 (/thread-11812.html) |
Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 Hi, Today I changed my server's PHP version to 5.5.12 . Any help? Thanks in advance. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - acrylian - 2014-05-29 Could you please post a complete error log entry of that and details about the install (Theme etc, GD or Imagick libary). I did use PHP 5.4 for a long time and for 1.4.6 all on 5.5.9 without having seen this. Also try a database refresh and check permissions. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 I tried to chenge to php 5.4 and now I am getting this error: Fatal error: Call to undefined function zp_loggedin() in /srv/disk10/1523626/www/pedrofilipe.pt/zenphoto/zp-core/reconfigure.php on line 110 Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 Managed to solve the "Fatal error: Call to undefined function zp_loggedin()" problem by re-uploading files. I am using version 1.4.6 and Basic theme. Here is a complete error log: {30584:Thu, 29 May 2014 19:33:44 GMT} Zenphoto v1.4.6[bbddab76753e1d753a54ead4eb74b41d7d46cf73] Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - acrylian - 2014-05-29 Please try a database refresh (button on admin main page) and clearing the image cache. Could be the file system being out of sync. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 Done the database refresh with no luck. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 I've noticed the DB table "zenphoto_images" only contains 2 images when using PHP 5.4. When I switch back to PHP 5.3, I get all the images in the DB. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - acrylian - 2014-05-29 The image cache clearance is a button on the same page.. Enable the cacheManager plugin. ZP is file system based so it will take the images in the albums within the root /albums folder. If there are no further errors try a reupload of zp-core. Maybe something else not correctly uploaded. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 Image cache clearance did not work... Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 Re-upload did not work too... Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - acrylian - 2014-05-29 Please check that your server is really correctly setup and the graphics libary is installed correctly on the php version. See also this older topic: Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-29 Can you show me your PHP.ini for 5.5? Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - acrylian - 2014-05-30 The one I could show you only is the one of my ready made local server package for Mac called MAMP. You could look directly here: http://www.mamp.info/de/ In general it is not only the php.ini it is also if the PHP packages on the server are compiled the right way. If you manage the server your self and add a new php version that does not necessarily mean the graphics libary of the others is in automatically correctly. But please note I personally have no real knowledge about setting up a server, I always leave that to hosts. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-30 Already contacted my host regarding this issue. Will keep you updated. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - rjpedrosa - 2014-05-30 Server admins have now added JPEG support to GD, and everything is running smoothly. Errors after changing from PHP 5.3 to PHP 5.4 or 5.5 - acrylian - 2014-05-30 You're welcome! |