forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: r3x on November 19, 2003, 09:53:49 pm

Title: [SOLVED] open_basedir restriction mainfile.php at install
Post by: r3x on November 19, 2003, 09:53:49 pm
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
Title: [SOLVED] open_basedir restriction mainfile.php at install
Post by: DJMaze on November 19, 2003, 11:37:16 pm
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.
Title: [SOLVED] open_basedir restriction mainfile.php at install
Post by: r3x on November 20, 2003, 10:39:27 am
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