PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 16th, 2009, 06:19 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Posts: 126
Help: User seeing wrong photos in "My Photos"

This week we moved from phpBB 2.0 to vBulletin 3.8. In addition, we modified both to use a common template for the same look and feel in both places (forum & gallery).

Today I've received a report from a user that when she clicks on "My Photos", she gets someone else's photos.

Here's info from the person who did the conversion for us:

Photopost was converted from the phpbb registration system to vbulletin registration system following the instructions posted here: https://www.photopost.com/forum/1222477-post2.html

...this error might be related to the userfix script that needs to be run after the changeover to the vbulletin registration system. In the userfix script there are three things that need to be clicked..Photos, Comments and Albums

This script will realign your userid's after you import your forum you had priorly integrated with to your new vbulletin userid's
Photos Fix Photo Userid's
Comments Fix Comment Userid's
Albums Fix Album Owners Userid's

...the albums ran successfully, but the first two gave me the following error:

We're sorry, but the system experienced an unrecoverable error. Please try again later.


Can anyone tell us what to do to fix the error, and I assume complete the last two required steps on the userix?

Can I leave my gallery up while this is being resolved, or do I need to lock it down?
pharry is offline   Reply With Quote
Old July 16th, 2009, 11:26 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
You would have to post a link to the site but I would think something is not configured correctly if you get an error trying to realign things.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 11:34 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Posts: 126
Thanks, Chuck. Here's the link: Main Index - A Peek into Yesterday Gallery

mimihp is the one who reported the problem with her photos.
pharry is offline   Reply With Quote
Old July 16th, 2009, 11:53 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
You can add this to the top of userfix.php to see the true error as long as in debug options you have display errors selected in global options in admin

anywhere you see this in userfix.php

Code:
Content visible to verified customers only.
below it add this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 04:22 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 38
Quote:
Originally Posted by Chuck S View Post
You can add this to the top of userfix.php to see the true error as long as in debug options you have display errors selected in global options in admin

anywhere you see this in userfix.php

Code:
Content visible to verified customers only.
below it add this

Code:
Content visible to verified customers only.
Hi Chuck I'm the person who installed vbulletin and did the re-integration for Photopost for Pat...I just need to double check....should that be authenticate(); with a t?

Lissa
__________________
My Gallery...coming soon - PhotoPost Pro v6.23
christon26 is offline   Reply With Quote
Old July 16th, 2009, 05:38 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
Yes authenticate should give you the correct mysql error if you run this as admin
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 05:48 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 38
I have been running this from the browser as that is what I thought I was supposed to do, and I couldn't find any instructions otherwise lol....I added that line in all the places specified and now just get a blank screen after clicking Proceed to upgrade

The debug options are set to display...can you let me know if I have been running it correctly or if there's a different way I'm supposed to run it?
__________________
My Gallery...coming soon - PhotoPost Pro v6.23
christon26 is offline   Reply With Quote
Old July 16th, 2009, 05:51 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
In userfix.php we require pp-inc.php and then you place this line and this should authenticate the user so we see what the issue is

Code:
Content visible to verified customers only.
If users photos belong to someone else then this script is not running
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 06:05 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 38
Ok...so my bad...I pasted the wrong one without the t LOL so I just fixed it and this is what I get:

Code:
Content visible to verified customers only.
Just to clarify...I looked at mimi's gallery after Pat brought this to my attention last night and most of the photos in her gallery do appear to belong to her, it's just that there are some photos in there that don't...it's not that all the photos aren't hers, just some, if that makes any difference.

This error in particular, looks like the username has an unescaped ' that's throwing the script off?

Lissa
__________________
My Gallery...coming soon - PhotoPost Pro v6.23
christon26 is offline   Reply With Quote
Old July 16th, 2009, 06:43 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
You will need to do the same for the comments portion also for the get_userinfo line but try adding something like this in bold

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 16th, 2009, 06:56 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Dec 2008
Posts: 38
Perfect! The script ran through all the way this time, thank you

I will get Pat to have her ladies check their albums....and hopefully all is well now lol
__________________
My Gallery...coming soon - PhotoPost Pro v6.23
christon26 is offline   Reply With Quote
Old July 16th, 2009, 07:23 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
Have a good evening
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 21st, 2009, 06:55 AM   #13 (permalink)
Member
Verified Customer
 
Join Date: Oct 2003
Posts: 126
Chuck, I think we've cleared up the problem with the photos, but now that same person is reporting that she is seeing comments in her message queue. Any suggestions?
pharry is offline   Reply With Quote
Old July 21st, 2009, 11:00 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
Her message que?

Switching integrations is not something we necessarily support here. I wrote up that tool to help realign photos and comments id's because usernames are stored in those tables.

If your talking about private messages, photo notifications etc you might simply want to clear those tables

DELETE FROM pp_messages;
DELETE FROM pp_notify;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set "Uploaded photos require admin approval?" to "no" photopostuser123 Photopost Pro How Do I...? 2 July 23rd, 2006 03:19 PM
"Delete All User Photos" doesnt remove comments mtha Photopost Pro Bug Reports 10 November 24th, 2005 01:45 AM
"Delete All User Photos" doesnt remove actual photoes mtha Photopost Pro Bug Reports 10 November 22nd, 2005 09:37 PM
missing user galleries and "My Photos" link not working Smudges Photopost Pro How Do I...? 6 September 12th, 2005 11:01 AM


All times are GMT -5. The time now is 03:22 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0