rgbstock
![]()
Sorry to post about another possible bug.... I uploaded some new images today, happily had them accepted, but I'm seeing 2 copies of each of them, in my gallery, on my photo management page, and in the site-wide New Photos page. Screen grabs of what I'm seeing at:
http://www.colinbrough.pwp.blueyonder.co.uk/GalleryDouble.png
http://www.colinbrough.pwp.blueyonder.co.uk/NewImagesDouble.png
![]()
Adding to that, the "extra" images are being counted in the total reported in my gallery - I've uploaded and had accepted 33 images in the last 24 hours, but the total number of images has gone up by 43 - there are 10 doubles in my gallery...
![]()
And digging deeper, the "doubles" both present with the same image URLs. The images appearing twice in my gallery are:
http://www.rgbstock.com/photo/nIUKOFe/Rural+landscape
http://www.rgbstock.com/photo/nIUKIAs/Rural+landscape
http://www.rgbstock.com/photo/nIUKtHe/Rural+landscape
http://www.rgbstock.com/photo/nIUKrju/Rural+landscape
http://www.rgbstock.com/photo/nIUKifI/Rural+landscape
http://www.rgbstock.com/photo/nIUIHu0/Fence+perspective
http://www.rgbstock.com/photo/nIUIBfI/Rural+frame
http://www.rgbstock.com/photo/nIUGbFc/Pond+landscape
http://www.rgbstock.com/photo/nIUGbdW/Pond+landscape
http://www.rgbstock.com/photo/nIUG3pK/Pond+landscape
TouTouke has one - appears twice in the New Photos page, and in their gallery:
http://www.rgbstock.com/photo/nIUL79w/Earth
![]()
We've even stopped approving for now not to cause more images to be doubled.
updates:
__
At least the double are gones, but the new-page still seems to contain less images than you'd expect.
And I've not looked for the real cause yet.
__
The doubles are gone and the http://www.rgbstock.com/new page now looks like it should.
There is still more to do though.
![]()
Thanks. If it helps track down what is going on, my photomanagement page looks a bit odd - some of the presumably deleted duplicates showing up, without thumbnail, as pending but on the approved page:
http://www.colinbrough.pwp.blueyonder.co.uk/PhotoManagementDouble.png
![]()
You are correct. Those are the "deleted" duplicates. Those will be removed by me.
I just give them some status which prevents them to be shows on the public website.
Just leave them for now while I try to find the cause and fix that.
Or more likely we'll just add code which prevents something like this ever happening again, whatever the cause is.
update:
Jay and I had a small discussion about how best to improve the code so it can't happen again, I'll implement it later today and so photos can be approved again.
![]()
Just found the last photo that was still wrong in the database.
The fix is ready, I've let everyone know approving photos should now work again.
I still need to clean up the database, but at least people searching for photos won't see any problems.