forum.coppermine-gallery.net
Support => Older/other versions => cpg1.1d PHPnuke Support (deprecated) => Topic started by: Jay on September 28, 2003, 06:14:29 am
-
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/DFTEAM5.COM/httpdocs/site/modules/coppermine/include/init.inc.php on line 139
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/DFTEAM5.COM/httpdocs/site/modules/coppermine/include/init.inc.php on line 139
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/DFTEAM5.COM/httpdocs/site/modules/coppermine/include/init.inc.php on line 140
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/DFTEAM5.COM/httpdocs/site/modules/coppermine/include/init.inc.php on line 140
Lines 139 & 140
include "config.inc.php";
include "functions.inc.php";
Any suggestions? I uploaded everything to the same file structure as the download. V1.1D
-
you probably got a server account with safe_mode (improperly configured) turned on.
Turn debug_mode on in your config for a start.
Check wether safe_mode is turned on using phpinfo().
Try switching on silly_safe_mode...
GauGau
-
link removed
-
mhmm --- in my PhpNuke/Coppermine installation these two line read
include "modules/coppermine/include/config.inc.php";
include "modules/coppermine/include/functions.inc.php";
if they read as you state, the two files will be searched in the root directory , that is, where the index.php of PhpNuke can be found ,,,
-
I believe that fixed it!
Thanks sigi
But, I wonder why the path wasn't right in the first place? Anyways.
-
you probably got a server account with safe_mode (improperly configured) turned on.
Turn debug_mode on in your config for a start.
Check wether safe_mode is turned on using phpinfo().
Try switching on silly_safe_mode...
GauGau
-
docs/README.html
Safe mode issues
A significant number of webhost on the Internet run PHP in safe mode. Coppermine runs without any problem in safe mode and with the "open basedir restriction" active, provided safe mode is properly configured. Unfortunately on many hosts, safe mode is not configured properly.
If your webhost is running PHP in safe mode but is misconfigured, you may need to do the following :
With a FTP program, change the mode of Coppermine's "include" directory on your server to 0777.
Do the same for the "albums" and "userpics" directories.
Check that at the beginning the the "include/config.inc.php" file, you have a line with : "define('SILLY_SAFE_MODE', 1);"
-
I have nuke 6.9 and coppermine 1.1.1D.
It works just fine in the stand alone version like:
http://www.mydomain.cc/modules/coppermine/index.php
But when I hit the link in PhP Nuke 6.9 I get this lines of error:
----------------------------------------------------------------------------------
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.cc/httpdocs/modules/coppermine/index.php on line 20
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.cc/httpdocs/modules/coppermine/index.php on line 20
Warning: . File is in wrong directory in /home/httpd/vhosts/mydomain.cc/httpdocs/modules/coppermine/include/init.inc.php on line 132
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.cc/httpdocs/modules/coppermine/include/init.inc.php on line 132
Fatal error: Failed opening required 'include/config.inc.php' (include_path='.:/php/includes:/usr/share/php') in /home/httpd/vhosts/mydomain.cc/httpdocs/modules/coppermine/include/init.inc.php on line 132
--------------------------------------------------------------------
On line 20 in the index.php there is this:
require('include/init.inc.php');
This file is in the include dir!
Coppermine use GD version 1X and works just fine as a stand alone, but in PhP Nuke 6.9 I got the errors
Can someone HELP?
-
Great topic title Another nuke 6.9 and coppermine 1.1.1D it's very desciptive of your problem. pardon the cynisism but add "define('SILLY_SAFE_MODE', 1);" as the first line of your config.inc.php this is a known problem with webhosts with misconfigured safe mode.
-
are you sure you have 1.1d from coppermine11d.zip
-
Cool a phpNuke version of coppermine that also works standalone.
I could never believe that a standalone also works in phpNuke.
Please download the appropiate download file with "cpgnuke" in the name and install it.