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: Add To Favorites.... - Album Doesn't Exist  (Read 3346 times)

0 Members and 1 Guest are viewing this topic.

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Add To Favorites.... - Album Doesn't Exist
« on: May 30, 2006, 02:31:02 pm »

Thank from me too - I finally found the "add to favorites" (after following jb "tutorial") ...
BUT, when I hit "add", I'm told that the chosen album/file dosn't excist...!!!     Whaaat... ???

www,udgang99.dk/galleri99
test1 / test


*** update***
Okay - this is odd. It DOES keep saying that the chosen album/file dosn't excist - but it turns out it DOES save the picture in "my favorites" anyway. Hmmmm ... ???
« Last Edit: June 01, 2006, 08:24:59 pm by Paver »
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Add To Favorites.... - Album Doesn't Exist
« Reply #1 on: May 31, 2006, 12:36:30 am »

I split this off since it's not related to the original thread you posted on.  Unless you are sure your issue is the same, you should start a new thread for a support issue, and reference other relevant threads in your post.

It's good that you browsed/searched for a relevant thread, but if you had searched for "favorites album exist", you would have found the following thread:  I believe you are having the same issue as this thread.

Try the fix from there, which is to add to addfav.php the following lines after the first line shown below:
Code: [Select]
$header_location = (@preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE'))) ? 'Refresh: 0; URL=' : 'Location: ';
// MOD BEGIN
$ref .= '&cat='.$_GET['cat'].'&pos='.$_GET['pos'];
// MOD END
header($header_location . $ref);
Logged

udgang99

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 78
Re: Add To Favorites.... - Album Doesn't Exist
« Reply #2 on: June 01, 2006, 08:14:18 pm »

YES !!!   
Thank you very much - it works perfectly!!!   :)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.