Corrupt database? Stats says more images than uploaded

If I look at the stats for my gallery it says I have 68 images, even though I've only uploaded 36. During some searches, I've found images appear twice. If I delete one of those images and then reinstall it with the same tags and description, the galley image stats first decrease by 2 on the deletion and then increase by only 1 when I reupload. Could my database be corrupt - or could I have duplicate images inside my zenphoto directory structure that I need to purge?

Comments

  • acrylian Administrator, Developer
    Have you tried the "refesh database" button on the admin overview page?
  • Yes. It does not change the statistics.
  • acrylian Administrator, Developer
    What zenphoto version do you use? If it is not 1.2.5 you should update.
  • Sorry, I was going to add that to my original post but forgot.
    I'm using zenphoto version 1.2.5 [4022]
  • How are you deleting the image?
  • I've either used the administration tools to delete the image, or I simply move it out of the catalog folder and then move it back using a FTP tool. If I use the latter technique I then reload the main catalog in a separate Firefox tab. Using either method, I then restore the old comments by hand, using cut and paste from a separate text file, and then re-tag the image. Either deletion method seems to give the same effect.

    As the number of images in the db are small, if necessary I can simply regenerate all the images and text files, and hope that whatever I did before to cause this problem doesn't happen again. I don't want this to turn into a time sink for anyone, as I may have cause this weird problem merely but uploading the same images more than once or some such error, which I'm unlikely to repeat again now that I've set up a better way to edit my php files offline.
  • Please intstall the 1.2.6 RC1 and do a database refresh. Let us know if the problem is then solved.
  • It did not solve the problem, but I'm okay with simply closing this case.
  • What are you using to look at the stats for your gallery?
  • The zenphoto admin overview tab and statistics tab.
Sign In or Register to comment.