Hi,
Today I changed my server's PHP version to 5.5.12 .
After that, I opened Zenphoto and the setup popped up, and everything went well.
But when opening albums in the admin panel, I get "Notice: Bad filename suffix in newImage()". And no photos are displayed.
The same happens with PHP 5.4.28.
Any help?
Thanks in advance.
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.
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.
GD is enabled, Imagick is disabled.
Here is a complete error log:
{30584:Thu, 29 May 2014 19:33:44 GMT} Zenphoto v1.4.6[bbddab76753e1d753a54ead4eb74b41d7d46cf73]
USER NOTICE: Bad filename suffix in newImage(IMG_7101.jpg) in /srv/disk10/1523626/www/pedrofilipe.pt/zenphoto/zp-core/class-image.php on line 73
trigger_error called from newImage (class-image.php [73])
from AlbumBase->getAlbumThumbImage (class-album.php [431])
from printAlbumEditRow (admin-functions.php [2032])
from printNestedAlbumsList (admin-functions.php [3519])
from admin-edit.php [876]
{30584:Thu, 29 May 2014 19:33:44 GMT}
USER NOTICE: Bad filename suffix in newImage(20120915_163921.jpg) in /srv/disk10/1523626/www/pedrofilipe.pt/zenphoto/zp-core/class-image.php on line 73
trigger_error called from newImage (class-image.php [73])
from AlbumBase->getAlbumThumbImage (class-album.php [431])
from printAlbumEditRow (admin-functions.php [2032])
from printNestedAlbumsList (admin-functions.php [3519])
from admin-edit.php [876]
{30584:Thu, 29 May 2014 19:33:44 GMT}
USER NOTICE: Bad filename suffix in newImage(20130208_215733-1.jpg) in /srv/disk10/1523626/www/pedrofilipe.pt/zenphoto/zp-core/class-image.php on line 73
trigger_error called from newImage (class-image.php [73])
from AlbumBase->getAlbumThumbImage (class-album.php [431])
from printAlbumEditRow (admin-functions.php [2032])
from printNestedAlbumsList (admin-functions.php [3519])
from admin-edit.php [876]
{30584:Thu, 29 May 2014 19:33:45 GMT}
USER NOTICE: Bad filename suffix in newImage(20121013_153444.jpg) in /srv/disk10/1523626/www/pedrofilipe.pt/zenphoto/zp-core/class-image.php on line 73
trigger_error called from newImage (class-image.php [73])
from AlbumBase->getAlbumThumbImage (class-album.php [431])
from printAlbumEditRow (admin-functions.php [2032])
from printNestedAlbumsList (admin-functions.php [3519])
from admin-edit.php [876]
{30584:Thu, 29 May 2014 19:33:45 GMT}
USER NOTICE: Bad filename suffix in newImage(IMG_0229.jpg) in /srv/disk10/1523626/www/pedrofilipe.pt/zenphoto/zp-core/class-image.php on line 73
trigger_error called from newImage (class-image.php [73])
from AlbumBase->getAlbumThumbImage (class-album.php [431])
from printAlbumEditRow (admin-functions.php [2032])
from printNestedAlbumsList (admin-functions.php [3519])
from admin-edit.php [876]
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.
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:
http://www.zenphoto.org/support/topic.php?id=116255#post-283588
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.