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
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
Thanks! This worked for me.
Roland