[SOLVED] open_basedir restriction mainfile.php at install [SOLVED] open_basedir restriction mainfile.php at install
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[SOLVED] open_basedir restriction mainfile.php at install

Started by r3x, November 19, 2003, 09:53:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

r3x

Hello All,
I have uploaded the cpgnuke1.2.0rc2, chmod the files in to 777 and when I go to the modules/coppermine/install.php I get this error:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.cc/httpdocs/mainfile.php on line 162

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.cc/httpdocs/mainfile.php on line 162

Thats all before I hit install

Than I put in this line with my TEXT editor in the install.php.
unset($newlang);
unset($lang);
And now I get this error:
Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/...cc/httpdocs/mainfile.php on line 166

Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/...cc/httpdocs/mainfile.php on line 166

The Error change in 162 into 166, I think after all the uploads,
it just won't work for me, but the question stays, why not!! all other php scrips runs in one install!!
Somebody have an anwser??
Thanks

DJMaze

Try create a dummy file here:
modules/coppermine/language/lang-english.php

The error is caused by phpnuke mainfile.php and it tries to read a file which doesn't exist and isn't needed.
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

r3x

Quote from: "DJMaze"Try create a dummy file here:
modules/coppermine/language/lang-english.php

The error is caused by phpnuke mainfile.php and it tries to read a file which doesn't exist and isn't needed.

Hello DJMaze,

YES, now it works fine, so now I can make the finishing toutch to mydomain!!! :D

Thank You for this solution.
Gretz
R3X