Dynamic albums are blank - bug in zen or bug at user?

Dear mr. or mrs.

i use zenphoto for my new photopage. Version is 1.4.11 and i use zpmasonry (a little bit customized, but only left out some stuff, changed links and made hardcoded language changes to German)).I use bxslider_thumb_nav, slideshow2, viewersizeimage, zenpage plugins.

I sort my pictures by location, e.g. Berlin, Norway, Munich etc. with subalbums by district e.g. But I want also some dynamic albums by topic (e.g. "zoo & wildlife" where I want to show all albums with this topic ("Berlin Zoo", "Munich Zoo").

Therefor i created a Tag "Zoo-Wildlife", added this tag to my "Berlin Zoo" album. Then i created a "Zoo & Wildlife" dynamic album in root, selected "tagged" and entered the Tag there.
If i enter it in backend i see the dynamic album search:
words=Zoo-Wildlife&searchfields=tags_exact&inalbums=1&inimages=1&unpublished=1

I thought perfect - in the dynamic album I see the album i tagged.

BUT:

if i click the link, i see only a blank (colored with backcolor). It is the same if I refresh the page. But i found out, if I go in another tab into the album i want to see, and refresh the "blank page" the stuff is there.

You can test it, i will leave this page as they are.
www.bilder21.de is my page (it goes automaticly to subfolder www.bilder21.de/cms/)

The dynamic album with all zoo albums is:
http://www.bilder21.de/cms/index.php?album=Zoo-Wildlife.alb

you see here one album with the zoo Berlin. The normal link to this album is:
http://www.bilder21.de/cms/index.php?album=Berlin/Zoo-und-Tierpark-Berlin

So enter the dynamic album, click on the Berlin album - you see nothing. Then you open the last link in a new tab and refresh the first tab - then it comes.

Do you have an idea what is wrong here?

Comments

  • acrylian Administrator, Developer
    This usually indicates some kind of PHP fatal error (the page load is stopped if you look into the source). You need to look into the Zenphoto error log and best also at the server php error log for errorr. Otherwise we are just guessing around.
  • with chrome developer tools i found out that in first line of the code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    he gets some internal errors 500.

    But the only code i see in the chrome developertools is:
    `
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">







    //


    `
    looks a little bit less?!
  • where can i find the error logs? in backend there is only a debug, security and setup log.
  • fretzl Administrator, Developer
    Try this:
    In your theme folder find `inc-header.php` and look for line 19. Change this line to:
    `$zpmas_metatitle = $metatitle.' | '.getBareGalleryTitle();`
  • thanks! now it works!
  • acrylian Administrator, Developer
    Even if fixed quick answer:
    where can i find the error logs? in backend there is only a debug, security and setup log.
    The Zenphoto debug log is a good start but it is not always complete on serious errors. So you need to ask your host where to find the server PHP error log. That differs from host to host. And when self hosting a tool like Zenphoto you really need to know where it is. We (and others elsewhere) will constantly ask for it on occasions like these.
Sign In or Register to comment.