Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: User MyFavorites not appearing after moving to another system  (Read 2424 times)

0 Members and 1 Guest are viewing this topic.

rmcneal

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
User MyFavorites not appearing after moving to another system
« on: January 07, 2011, 03:24:39 pm »

We currently have Coppermine 1.4 on out intranet system and we restored this to our test system in order to test the upgrade to 1.5.  Everything worked after the restore of 1.4 on the test system except that the user favorites are lost.  I looked in the _favpics tables on both systems and the value of the user_favpics looked the same for all the users.

I made sure that the path in the config is pointing to the correct server and all other features seems to be picking up this path,  so I was wondering if there was something we may have overlooked or if anyonelse has run into this problem?

Thanks in advance for the help!
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: User MyFavorites not appearing after moving to another system
« Reply #1 on: January 07, 2011, 11:46:34 pm »

I am not 100% sure here, but start looking into cookies....

rmcneal

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: User MyFavorites not appearing after moving to another system
« Reply #2 on: January 07, 2011, 11:57:36 pm »

Yep you are correct. Looks like the user was adding favorites without logging on.  Looks like Coppermine stores the My Favorites location in a cookie named cpg143_fav when you do that.  I wrote a small php program to show the value of the cookie then I replaced the value of my cookie with the value of the user's cookie. Then all of the My Favorites appeared.  Thanks for the tip!
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.