|
|
| Author |
Message |
psynaloa Private

Joined: 19 Sep 2007 Posts: 3
|
Posted: Wed Sep 19, 2007 10:51 pm Post subject: Warning: open_basedir restriction in effect - in PHP-Nuke |
|
|
|
hello!!!
i had phpnuke 7.9 patched installed it & it worked fine
my hosting changed server and now that i have re-installed
all this errors appear
| Code: |
Warning: main() [function.main]: open_basedir restriction in effect. File(/language/lang-.php) is not within the allowed path(s): (/var/www/vhosts/psynaloa.org/httpdocs:/tmp) in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 295
Warning: main(language/lang-.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 295
Warning: main() [function.include]: Failed opening 'language/lang-.php' for inclusion (include_path='.:.:') in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 295
Warning: main() [function.main]: open_basedir restriction in effect. File(/themes//theme.php) is not within the allowed path(s): (/var/www/vhosts/psynaloa.org/httpdocs:/tmp) in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 1023
Warning: main(themes//theme.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 1023
Warning: main() [function.include]: Failed opening 'themes//theme.php' for inclusion (include_path='.:.:') in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 1023
Warning: main() [function.main]: open_basedir restriction in effect. File(/themes//theme.php) is not within the allowed path(s): (/var/www/vhosts/psynaloa.org/httpdocs:/tmp) in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 1267
Warning: main(themes//theme.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 1267
Warning: main() [function.include]: Failed opening 'themes//theme.php' for inclusion (include_path='.:.:') in /var/www/vhosts/psynaloa.org/httpdocs/nuke/mainfile.php on line 1267
Warning: head() [function.head]: open_basedir restriction in effect. File(/themes//theme.php) is not within the allowed path(s): (/var/www/vhosts/psynaloa.org/httpdocs:/tmp) in /var/www/vhosts/psynaloa.org/httpdocs/nuke/header.php on line 31
Warning: head(themes//theme.php) [function.head]: failed to open stream: Operation not permitted in /var/www/vhosts/psynaloa.org/httpdocs/nuke/header.php on line 31
Warning: head() [function.include]: Failed opening 'themes//theme.php' for inclusion (include_path='.:.:') in /var/www/vhosts/psynaloa.org/httpdocs/nuke/header.php on line 31
Fatal error: Call to undefined function themeheader() in /var/www/vhosts/psynaloa.org/httpdocs/nuke/header.php on line 51
|
i've searched and founded some people with the same prob
but i'm not shure what solution to use
tnx for any help
[edit] Included code in code tags. Chris [/edit] |
|
| Back to top |
|
 |
adsy President

Joined: 13 Feb 2006 Posts: 812 Location: UK
|
Posted: Thu Sep 20, 2007 9:32 am Post subject: |
|
|
|
http://blog.php-security.org/archives/72-Open_basedir-confusion.html
right
well what this is telling me is that you havent installed it into a location viewable to the public.
eg yoursitename.org would display whatever is in the base_dir
but if its outside of the base dir then it wont access it eg the folder above yoursitename.org
there may also be a restriction if there are folders set with the same permission in there too :p |
|
| Back to top |
|
 |
psynaloa Private

Joined: 19 Sep 2007 Posts: 3
|
Posted: Thu Sep 20, 2007 7:52 pm Post subject: tnx 4 replying |
|
|
|
so i should installed it directly to the root folder of my site?
i have it on mysite.org/nuke
i talk to my hosting provider, and he switch off SAFE MODE
i have plesk controlpanel, so in the report of php suport it says safe mode is off
but when i tried to install any php script (php website, etc) it gives me a warning Atention: you most disable safe mode to proceed
i talk to my hosting and he says to wait for 1 hour so the sytem will update
again thanks a lot for replying |
|
| Back to top |
|
 |
psynaloa Private

Joined: 19 Sep 2007 Posts: 3
|
Posted: Thu Dec 06, 2007 3:25 am Post subject: im still stuck |
|
|
|
i cant fix the open base dir restriction
i donīt have acces to php.ini
can somebody help me please
tanx |
|
| Back to top |
|
 |
|
|
 |
|
|