PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   Galleries not showing (http://www.photopost.com/forum/photopost-pro-installation-upgrades/133250-galleries-not-showing.html)

Fortissimo September 10th, 2007 04:23 PM

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.

Example:

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.

Thank you.

Chuck S September 10th, 2007 07:21 PM

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.

Fortissimo September 10th, 2007 10:53 PM

Couple questions.

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?

Thank you.

Chuck S September 11th, 2007 08:26 AM

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.

Code:

Content visible to verified customers only.

Fortissimo September 11th, 2007 08:42 AM

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.

Quote:

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.
If they are not the same, should they be changed so that they are?

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?

Chuck S September 11th, 2007 09:08 AM

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.

Fortissimo September 11th, 2007 09:36 AM

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.

Chuck S September 11th, 2007 10:30 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97