Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: User MyFavorites not appearing after moving to another system  (Read 2402 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.017 seconds with 19 queries.