Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: [SOLVED] open_basedir restriction mainfile.php at install  (Read 3626 times)

0 Members and 1 Guest are viewing this topic.

r3x

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
[SOLVED] open_basedir restriction mainfile.php at install
« 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
Logged

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[SOLVED] open_basedir restriction mainfile.php at install
« Reply #1 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.
Logged
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

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
[SOLVED] open_basedir restriction mainfile.php at install
« Reply #2 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
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 18 queries.