ZenphotoCMS Forum
Images not displaying - 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: Images not displaying (/thread-11235.html)



Images not displaying - conradcliff - 2013-08-03

Hey there, we have a ton of albums but recently we've uploaded a couple that aren't showing any images in the album folder or a thumbnail.

Here is a link to one such album: http://snapshootphotobooth.com/eventphotos/7-14-2013%20PWG%20Bridal%20Show/

It now shows a thumbnail in the gallery since I chose an image manually, but none of the images will show in the album.

I tried renaming the folder on my local computer and uploading it with the same results.

I tried editing an image on my locale computer, saving it with a new name and it won't show up in the album either.

I tried manually uploading the album from within Zen and that didn't work.

I upgraded to the latest stable release and that did nothing.

the files are less than 1Meg so it's not a ram issue with large file sizes.

Any ideas?

Thanks for any help you can give!




Images not displaying - sbillard - 2013-08-03

Really can't tell anything since these folders seem protected from outside viewers.

So, maybe a better description of what is actually happening. Do you get place-holder images? If not then check to be sure your images are published. If so, check your error logs.

Do things work with a standard theme?




Images not displaying - conradcliff - 2013-08-11

Yikes, I sent a very detailed reply to your message and it didn't post...not fun I'll have to try again.




Images not displaying - Papyrus - 2013-08-11

Hmm...can you try creating an album from within ZenPhoto and then uploading the images to that folder?




Images not displaying - conradcliff - 2013-08-14

I guess my posts are too big...It wont let me actually post it. I'm going to break it up.




Images not displaying - conradcliff - 2013-08-14

Ok, I'm back...essentially my last post detailed all the things I've tried including what's been suggested to no avail.

Then I posted the repeating portions of the error log.
Papyrus: I tried just uploading a folder from within zen but I don't think I tried creating an album and uploading the images directly to it. I'll try that now.

Here's the items from the error log that repeat multiple times, hopefully someone can make sense of it:




Images not displaying - conradcliff - 2013-08-14

{16970:Fri, 02 Aug 2013 21:28:12 GMT}
NOTICE: Undefined offset: 1 in

/home4/sspbooth/public_html/eventphotos/zp-core/functions-basic.php on

line 966
parse_query called from pathurlencode (functions-basic.php [984])
from printAlbumThumbImage (template-functions.php [1640])
from include (index.php [146])
from index.php [108]

{22476:Fri, 02 Aug 2013 22:17:42 GMT}
ЗАМЕЧАНИЕ: Use of undefined constant TAGS - assumed 'TAGS' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
eval called from rewriteHandler (rewrite.php [104])
from require_once (rewrite.php [112])
from include (index.php [22])
from index.php [15]

NOTICE: Use of undefined constant GD_FREETYPE - assumed 'GD_FREETYPE' in

/home4/sspbooth/public_html/eventphotos/zp-core/lib-GD.php on line 26
lib_GD_Options->getOptionsSupported called from customOptions (admin-

functions.php [582])
from admin-options.php [1587]
{3171:Wed, 07 Aug 2013 09:06:59 GMT}

USER ERROR: Invalid album instantiation: No album name in

/home4/sspbooth/public_html/eventphotos/zp-core/class-album.php on line

678
trigger_error called from Album->__construct (class-album.php [678])
from newAlbum (class-album.php [20])
from Image->getAlbum (class-image.php [617])
from Image->getIndex (class-image.php [1035])
from Image->getPrevImage (class-image.php [1091])
from hasPrevImage (template-functions.php [2226])
from include (image.php [148])
from include (index.php [112])
from index.php [15]




Images not displaying - conradcliff - 2013-08-14

And then there was this block:

{22476:Fri, 02 Aug 2013 22:17:42 GMT}
ЗАМЕЧАНИЕ: Use of undefined constant PAGES - assumed 'PAGES' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
eval called from rewriteHandler (rewrite.php [104])
from require_once (rewrite.php [112])
from include (index.php [22])
from index.php [15]

The following lines were the only difference to the above block so I just included the lines to keep things short:

ЗАМЕЧАНИЕ: Use of undefined constant PAGE - assumed 'PAGE' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
ЗАМЕЧАНИЕ: Use of undefined constant NEWS - assumed 'NEWS' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
ЗАМЕЧАНИЕ: Use of undefined constant SEARCH - assumed 'SEARCH' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
ЗАМЕЧАНИЕ: Use of undefined constant ARCHIVE - assumed 'ARCHIVE' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
ЗАМЕЧАНИЕ: Use of undefined constant _NEWSARCHIVE - assumed

'_NEWSARCHIVE' в /home4/sspbooth/public_html/eventphotos/zp-

core/rewrite.php(104) : eval()'d code строка 1
ЗАМЕЧАНИЕ: Use of undefined constant CATEGORY - assumed 'CATEGORY' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1
ЗАМЕЧАНИЕ: Use of undefined constant TAGS - assumed 'TAGS' в

/home4/sspbooth/public_html/eventphotos/zp-core/rewrite.php(104) : eval

()'d code строка 1

That's it, thanks for any help anyone can give!




Images not displaying - acrylian - 2013-08-14

Please look at /zp-data/zenphoto.cfg. That should have definitions of those constants at the end. If those are not there you should remove it from the folder and re-run setup (save the database etc. data entered in the old one since you will of course need those).




Images not displaying - sbillard - 2013-08-14

Regarding long posts, please read http://www.zenphoto.org/support/topic.php?id=43854 Sorry, but a needed SPAM control.

Your configuration file may not have bot properly updated. The rewriteTokens plugin has a means for resetting these items to their proper defaults.




Images not displaying - conradcliff - 2013-08-22

I posted a fairly short reply earlier today about file permissions and screwing them all up during the upgrade but it seems to have disappeared ...well, after a pretty big hassle I decided to re-install Zen.

So, I deleted the databases and all the files and started fresh...the only problem I came across was that my php version is only 5.2.17 and it recommends 5.4 I think.

Anyway, the install seemed to work fine and the first album I allowed to upload showed up great but all subsequent albums are doing the same old thing.

Please check out the link and tell me what you think: www.snapshootphotobooth.com/eventphotos

I'll post the error log shortly.




Images not displaying - conradcliff - 2013-08-22

I guess it doesn't think there have been any errors because I can't find any error logs...no file in zp-data or option in the CP.

Does it not create the file till there is an actual error?

I'm lost at this point.




Images not displaying - fretzl - 2013-08-22

I had a look. All images show up just fine. (a bit slow though)

Note that you don't have to call jQuery. It's already loaded by the zp_apply_filter('theme_head') function in the `` of your pages.




Images not displaying - acrylian - 2013-08-22

Regarding the disappeared post the reason is probably our db trouble : http://www.zenphoto.org/support/topic.php?id=389175#post-565285