problem with the menu link problem with the menu link
 

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

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