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: Wrong (direct) link in comment notification  (Read 4292 times)

0 Members and 1 Guest are viewing this topic.

malykazio

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Wrong (direct) link in comment notification
« on: April 12, 2005, 01:03:52 am »

I have installed cpg 1.3.2 ang pnCPG 2.5 on my postnuke site. In pnCPG index.php I have commented such lines:
//if (!pnLocalReferer()) {
//    die ("You can't access this file from and external site...");
//}
because i got sometimes such an error when i tried to get into my gallery which error dissapeared after refreshing page or entering once more.

and

// if (!pnUserLoggedIn()) {
// if ($guest<1){
// pnRedirect($home) ;
//
// }
// }

to allow guests seeing gallery.

My problem is that after adding comment i receive correct notification exept link which leads direct to my gallery, not by my postnuke but direct so i can see my gallery without blocks, without header of my pn site. Anybody can help?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Wrong (direct) link in comment notification
« Reply #1 on: April 12, 2005, 09:34:18 pm »

Here is a hint, check db_input.php
I know this is happening but was not planning to fix it since i prefer not to change  default code.

cas
Logged

malykazio

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Wrong (direct) link in comment notification
« Reply #2 on: April 17, 2005, 10:05:14 pm »

I found it. But can you tell me what should link look like to pass it througn PN?
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: Wrong (direct) link in comment notification
« Reply #3 on: April 24, 2005, 02:06:54 pm »

The link should be something like :
index.php?module=pnCPG&func=view&soort=1&album=50&pos=1411

Cas
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.