Member
Member
mlavine   2009-07-27, 17:55
#1

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?

Administrator
Administrator
acrylian   2009-07-27, 18:36
#2

Have you tried the "refesh database" button on the admin overview page?

Member
Member
mlavine   2009-07-27, 18:49
#3

Yes. It does not change the statistics.

Administrator
Administrator
acrylian   2009-07-27, 18:59
#4

What zenphoto version do you use? If it is not 1.2.5 you should update.

Member
Member
mlavine   2009-07-27, 19:08
#5

Sorry, I was going to add that to my original post but forgot.
I'm using zenphoto version 1.2.5 [4022]

Member
Member
sbillard   2009-07-27, 19:34
#6

How are you deleting the image?

Member
Member
mlavine   2009-07-27, 19:48
#7

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.

Member
Member
sbillard   2009-07-27, 20:11
#8

Please intstall the 1.2.6 RC1 and do a database refresh. Let us know if the problem is then solved.

Member
Member
mlavine   2009-07-27, 21:51
#9

It did not solve the problem, but I'm okay with simply closing this case.

Member
Member
sbillard   2009-07-27, 23:57
#10

What are you using to look at the stats for your gallery?

Member
Member
mlavine   2009-07-28, 02:02
#11

The zenphoto admin overview tab and statistics tab.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.