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 PWG Bridal Show/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!
Comments
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?
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:
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]
{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 _NEWS_ARCHIVE_ - assumed
'_NEWS_ARCHIVE_' в /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!
Your configuration file may not have bot properly updated. The `rewriteTokens` plugin has a means for resetting these items to their proper defaults.
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.
Does it not create the file till there is an actual error?
I'm lost at this point.
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.