Wrong (direct) link in comment notification Wrong (direct) link in comment notification
 

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]

Main Menu

Wrong (direct) link in comment notification

Started by malykazio, April 12, 2005, 01:03:52 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

malykazio

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?

casNuy

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

malykazio

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

casNuy

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

Cas