problem with the menu link problem with the menu link
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

problem with the menu link

Started by rolands, December 07, 2004, 02:59:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rolands

I just installed the pn coppermine hack, using postnuke 0.750, PHP 4.3.9 and MySQL 4.1.7. After i added a new menu block with {pnCPG} i get this message:

Wrong method of calling this module use {} instead of []..

What's going wrong? I already searched this forum and find a message that says to use index.php?module=pnprojekt&func=main for an outside link, i also did try this and i get then an error that says: Failed to load module pnprojekt (at function: "main").

Anyone an idea?

Thanks,
Roland

casNuy

Open up index.php within pnCPG and add the following line :

Code:
$url=pnVarCleanFromInput('url');


just before :

Quote
if ($url=="") {
die ("Wrong method of calling this module use {} instead of []..");
}


That's all

next release will have full support for 0.750 and Coppermine 1.4

Cas 




rolands

Thanks! This worked for me.

Roland