cpg 1.3.3 - nuke portal error cpg 1.3.3 - nuke portal error
 

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

cpg 1.3.3 - nuke portal error

Started by stwief, July 25, 2005, 03:11:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

stwief

Yesterday, I downloaded and installed cpg 1.3.3 for the first time. It was like a test-install, just to explore the functionalities. I liked what I saw, so I decided to set up another gallery.

Suddenly I got this error notification:

ERROR
You installed the standalone Coppermine into your Nuke portal.
Please download and install a CPG Port: CPG for PostNuke OR CPG for PHPnuke

I don't have any idea what a nuke portal is, but I don't understand why it worked out fine the first time, but won't let me install it a second time..

I'd appreciate any help/suggestions a lot

thanks
steven

kegobeer

PHP-Nuke
CPG-Nuke
PN

If you don't have any of these installed, then you aren't using a CMS.  Are you attempting to install Coppermine on the same website or a different one?  Are you installing in a directory called "modules"?

You can disable the check: Open up install.php and comment out the check for Nuke.

if ($DIR[count($DIR)-2] == "modules") {
    echo "<html><body><h1>ERROR</h1>You installed the standalone Coppermine into your Nuke portal.<br>".
         "Please download and install a CPG Port: <a href=\"http://sourceforge.net/project/showfiles.php?group_id=89658\">CPG for PostNuke OR CPG for PHPnuke</a></body></html>";
    die();
} // end check


becomes

//if ($DIR[count($DIR)-2] == "modules") {
//    echo "<html><body><h1>ERROR</h1>You installed the standalone Coppermine into your Nuke portal.<br>".
//         "Please download and install a CPG Port: <a href=\"http://sourceforge.net/project/showfiles.php?group_id=89658\">CPG for PostNuke OR CPG for PHPnuke</a></body></html>";
//    die();
//} // end check
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

stwief

wohoow! I'm totally impressed. Thanks for reaching me the solution! It completely works now.

I was attempting to install Coppermine on a different website, but in a directory called "modules".
Why doesn't Coppermine want you to install in a directory "modules"?

Whatever the reason is, I'm so glad it works okay now.

Thanks kegobeer!

stwief

BTW, am I supposed to mark this thread as "solved"?
And if so, how can I do this?

kegobeer

Nuke portals have a directory named modules.  Coppermine looks to see if it's being installed in that directory, usually an indication that someone is trying to install Coppermine into Nuke.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots