random image in effervescence theme

Hi,
I use modified effervescence theme in my gallery
http://www.pawelnawrocki.com/zenphoto/
generally it works great, but very rarely I get some minor bug,
which makes that no random image loads and I can see "Image not found", take a look
http://www.pawelnawrocki.com/files/ScreenShot020.jpg
Maybe you know what may cause this problem?
Try reloading few times this gallery http://www.pawelnawrocki.com/zenphoto/
and there is small chance, that you will hit on NoImage in the head

Thanks in advance

Comments

  • trisweb Administrator
    Yes, it actually seems to be not found! I believe that's just a deleted/renamed/moved image that still has a database entry, which needs to be cleaned.

    In admin, in the center column, by the image count, click "[Refresh]". that should fix it.
  • hmm,
    when i hit "refresh" in `gallery stats` window the number of photos doesn`t change :(
    Admin page says that there are "There are 700 images in a total of 14 albums [refresh]"
    but in fact there only 620 images in 12 albums,
    why the [refresh] makes no effect? I have no idea :(
    Maybe b/c of safe_mode is On?
  • trisweb Administrator
    If that's true (your image counts) then it's definitely a database problem... hmm... I'm reworking the garbage collection code for 1.0.8, so perhaps that will help.

    Until then, perhaps look manually at the database tables (albums first, then images), especially for photos with / or ./ in their album names.
  • I deleted manually using phpMyAdmin right records from zen_images and zen_albums
    and problem disappeared.
    Many Thanks
  • trisweb Administrator
    What did the deleted records look like? Did they have extra characters or something? Thanks.
  • Monster, I really like you integration of lightbox into effervescence. Any chance that you can share the theme?
  • @tris
    they came from deleted subalbums
    (I was doing some tests with subalbums, I deleted photos with ftp, but admin.php
    didnt erase their records from database). when I delete photos from base albums everything goes right ...

    @bjornh
    we can negotiate :D lol
    it`s very easy and takes less thank two minutes to implement slimbox/lightbox..whateverJS
    to any theme you want :)
    I have described in this topic
    http://www.zenphoto.org/support/topic.php?id=1242&replies=9

    But if you are lazy... (I suppose not :D) I can send you modified effervescence theme with lightbox system ...
  • trisweb Administrator
    @monster -- gotcha. Thanks.
  • @tris
    It`s me to be grateful for your work.
    Really great job.
  • @monster
    Thanks I will look at it. Time to start learning something about php :-)
Sign In or Register to comment.