Advanced search  

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]

Pages: [1]   Go Down

Author Topic: problem with the menu link  (Read 4476 times)

0 Members and 1 Guest are viewing this topic.

rolands

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
problem with the menu link
« on: December 07, 2004, 02:59:02 pm »

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
Logged

casNuy

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 671
  • My other hobby
    • Nuy Community
Re: problem with the menu link
« Reply #1 on: December 07, 2004, 08:56:31 pm »

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 
 
 
 
Logged

rolands

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
Re: problem with the menu link
« Reply #2 on: December 08, 2004, 09:05:01 am »

Thanks! This worked for me.

Roland
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 20 queries.