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
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
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!
BTW, am I supposed to mark this thread as "solved"?
And if so, how can I do this?
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.