ZenphotoCMS Forum
Where are my JPG files - 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: Where are my JPG files (/thread-9809.html)



Where are my JPG files - yaron - 28-03-2012

Just uploded using USB key many JPG files in many folders under /albums
made sure i have write permissions on both albums and cache (as per the manual)
and here is the issue - i can see all the folders, ican even see some .MOV files that were included BUT i can see any .JPG files????
thanks in advance




Where are my JPG files - acrylian - 28-03-2012

the images are where you uploaded them. If you mean you don't see them on the site itself, you need to publish them and their album first.




Where are my JPG files - yaron - 28-03-2012

you see everything is published, when i am in the site i can see all the albums but they are all empty from images or thumbs.
i can see the few .MOV files and i can play ythem but all the jpg are missing.
BTW when looking in the MySDWhat is PHP Safe MySQL, image table i see only the MOV file too???
and they were added automaticly when i just drop all my files and folders to the /albums
any idea why the only missing part is the JPG files?
thanks,




Where are my JPG files - yaron - 28-03-2012

is there a cmdline that i can use to "rescan" the /albums folder?




Where are my JPG files - acrylian - 28-03-2012

Please look at your server PHP error log to see if there are any errors. Best also post a link to your site. There are numerous things why jpgs don't work. Otherwise all is guessing.




Where are my JPG files - yaron - 29-03-2012

didnt find php error log, but in the error.log for the apache2 i found many of the following

[Wed Mar 28 08:17:48 2012] [error] [client x.x.x.x] PHP Fatal error: Call to undefined function zp_imageCanRotate() in /var/www/AZenPHOTO/zp-core/functions-image.php on line 172, referer: http://???.???.???/ZenPHOTO/zp-core/admin-edit.php?page=edit&album=test&=subalbuminfo




Where are my JPG files - yaron - 29-03-2012

YAY found the problem, i was missing php5-gd.

problem is, i dont recall anywheer seeing that it was required.

anyhow now it seems to work

thanks....




Where are my JPG files - sbillard - 29-03-2012

PHP 5 is required. That is shown in the http://www.zenphoto.org/news/installation-and-upgrading link. GD or Imagick is needed to render images. Also noted there.