Galleries not showing
Recently we re-uploaded all core files to our gallery, and we did some bulk moves so that we could delete some galleries. I don't know which one broke the gallery, but I need to know how to fix it.
My gallery is under the letter F. If you go to Members Gallery > F my gallery isn't there, even though I have 263 images in my gallery. If I click on MY PHOTOS, everything is there under my name.
If I upload a new image, my gallery will now appear under F's. If I delete what I uploaded, my gallery goes missing again.
Again, we just reuploaded all the core files the day before yesterday and no changes have been made to them since then. The only thing I can think of is that bulk move messed something up in the database.
Please give me step by step instructions on how to troubleshoot this issue and fix it.
Your issue should be resolved with the release of Photopost 6.0 which is in beta 3 stage. You can run the tool in admin scan database to rebuild the last photo data.
There is nothing that we can fix the issue right now? This is affecting about 100 of our members galleries and causing some confusion for the members as to where their gallery went.
How could this of happened in the first place?
Beta 3 is pretty stable I would suggest you use that or alternatively you could download beta 3 and compare the 562 and 6 adm-photo and editphoto files and make sure this type of code is in those two files. I use a program called beyond compare from scootersoftware.com to compare two files and see the difference. You only want to be concerned with this block.
Unfortunately pretty stable isn't something that we really can gamble with. With 64,000 images and 320,000 comments, we really can't install a beta.
I am confused though, as you stated in the first post it was an issue with the database, but now you are requesting I look at templates. Is this trouble shooting to see where the problem is at; ie: database vs. template?
Hello I never said it was a database or template issue anywhere in this thread that I see. I said you could run the scan database tool to update the last photo information.
I linked the exact code to update a members lastphoto above from example editphoto. The code is the same in adm-photo and editphoto except the variable. Please download the beta 6 and just copy over the code linked to the 562 files where noted. You are only concerned with adding the code where noted in both files and if you use beyond compare as I suggested it will be very easy and clear. You are neither working with a template or a database. You are editing two of the core PHP files and placing in a bugfix to those two files which basically tells the app if a photo being deleted is a lastphoto lets grab the next lastest photo for that user and update the information. I hope that clarifies things for you here if not let me know.
Thank you. This has fixed the issue of it removing the gallery if I upload then delete a new picture, however the galleries that were missing before are still missing.
We are now noticing more issues with our gallery.
Thumbnails are not showing the most recent thumbnail of any gallery that has not had an image uploaded to it since we did the core file upload/bulk move. In one gallery I looked at, it's showing a picture that shows up on page 11 that was uploaded in December of last year.
I've looked in admin and "Show last photo thumbnail in member galleries listing?" is marked to YES.
How do we fix the missing galleries and the wrong thumbnails showing up please.
The code I linked would make sure the lastphoto is updated is a member deletes their lastphoto from now on. You need to run the scan database tool to update all users and you should be fine from then forward.
|All times are GMT -5. The time now is 09:18 AM.|
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0