forum.coppermine-gallery.net
Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Aditya Mooley on December 14, 2004, 12:39:44 pm
-
We installed CPG on XAMPP http://www.apachefriends.org/xampp-en.html for linux and Nuke test which is built into index.php triggers error You installed the standalone Coppermine into your Nuke portal.
Because XAMPP which is a very popular Apache + PHP install for newbies has got the ../../modules directory.
We need a better method to check for PHPNuke
-
Confirmed
-
Hi :)
Is it actually still necessary to test the installation on the presence of phpnuke?
-
The test for PHPNuke should be moved to install.php with an option for user to override the warning.
-
It already is in the installer.
-
It already is in the installer.
correct, but it's the "old" Version :)
http://forum.coppermine-gallery.net/index.php?topic=11173.0
-
OK, this is what I did to fix this:
- removed the modules check in index.php alltogether
- Changed the check in install.php as suggested:
// Check if standalone is installed in a portal like phpNuke[/li][/list]
if (is_dir('../../modules') && $_REQUEST['continue_anyway'] != 1) {
die(
"<html><body><h1>ERROR</h1>You seem to be trying to install the standalone Coppermine into your Nuke portal.<br />
This version can only be used as standalone!<br />
Some server setups might display this warning even though you don't have a nuke portal installed - if this is the case for you, <a href=\"" . $PHP_SELF . "?continue_anyway=1\">continue</a> with the install.
If you are using a nuke portal, you might want to take a look into <a href=\"http://www.cpgnuke.com/\">CpgNuke</a> or use one of the (unsupported)
<a href=\"http://sourceforge.net/project/showfiles.php?group_id=89658&package_id=95984\">coppermine ports</a>
- do not continue!</body></html>"
);
} // end check
I hope this fixes the XAMPP bug, or is at least a workaround everybody can live with.
Please confirm.
Joachim
-
Thanks this should fix it.
-
Yep, thats great :D
-
BTW - now the install itself is bugged ;) will fix it someday