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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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