Phantom unpublished photos?

I have over 8,000 images in 161 albums. All photos and albums are published yet on the admin overview page it reports 5,394 unpublished images.

I have run the publish content plugin which reports 0 unpublished images. Any ideas what is causing the discrepancy.

I'm investigating slowness issues so I'm cleaning up my gallery and looking at all issues.

Comments

  • acrylian Administrator, Developer
    If you haven't try a database refresh in case the file system and database are out of sync. That's a button on the overview page.
  • Yes, I've tried that. And also checked the database on the back end using MySQL check/repair. It's not a big deal. Just wondering why the ZP admin is reporting that erroneous number, while the publish-content plugin reports correctly.
  • acrylian Administrator, Developer
    We will take a look if we can reproduce it.
  • Hmm.. yeah in my Overview page it says 31 Unpublished images but
    `
    select * from images
    where images.show = 0;
    `
    Only returns 15 images. I wonder where it's getting the additional numbers?
  • acrylian Administrator, Developer
    Do you have unpublished albums with published images? Because of inheritance those would be "unpublished" as well. That's what the method `getNumImages()` is returning.
  • Hmmm.. yes I do.. and the numbers match that way. I have a private album with 17 private unpublished albums below that.
  • fretzl Administrator, Developer
    So far we found 1 typo that caused an incorrect number of un-published images (fix in the Support build)
    However that doesn't explain the issue @tplowe56 is having.
    Still investigating...
  • Ahhh.. numbers look better:
    650 Images (331 un-published)
    34 Albums (19 un-published)
Sign In or Register to comment.