coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: stwief on July 25, 2005, 03:11:10 PM

Title: cpg 1.3.3 - nuke portal error
Post by: stwief on July 25, 2005, 03:11:10 PM
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
Title: Re: cpg 1.3.3 - nuke portal error
Post by: kegobeer on July 25, 2005, 09:49:29 PM
PHP-Nuke (http://phpnuke.org/)
CPG-Nuke (http://www.cpgnuke.com)
PN (http://www.postnuke.com/)

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
Title: Re: cpg 1.3.3 - nuke portal error
Post by: stwief on July 26, 2005, 11:32:40 AM
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!
Title: Re: cpg 1.3.3 - nuke portal error
Post by: stwief on July 26, 2005, 11:34:41 AM
BTW, am I supposed to mark this thread as "solved"?
And if so, how can I do this?
Title: Re: cpg 1.3.3 - nuke portal error
Post by: kegobeer on July 26, 2005, 12:41:38 PM
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.