miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
The Other miniBB Support Forums / The Other /  
 

open_basedir restriction in effect. File is in wrong directory

 
Author fribse
Partaker
#1 · Posted: 30 Jun 2003 14:03Reply Quote
I've just upgraded my PHP here on my Novell, now I get the above error.
I've tried changing the basedir, but so far without any change.
Warning: open_basedir restriction in effect. File is in wrong directory in sys:/php/fribert.dk/minibb/index.php on line 35

Warning: Failed opening './skins/fribert.php' for inclusion (include_path='') in sys:/php/fribert.dk/minibb/index.php on line 35

Warning: open_basedir restriction in effect. File is in wrong directory in sys:/php/fribert.dk/minibb/addonlang.php on line 27

Warning: open_basedir restriction in effect. File is in wrong directory in sys:/php/fribert.dk/minibb/index.php on line 40

Warning: Failed opening './lang/eng.php' for inclusion (include_path='') in sys:/php/fribert.dk/minibb/index.php on line 40

Warning: open_basedir restriction in effect. File is in wrong directory in sys:/php/fribert.dk/minibb/bb_functions.php on line 86
FATAL: NOT FOUND user_login_form

This is the full error

Any good ideas?

Author Team
8-)
#2 · Posted: 30 Jun 2003 14:34Reply Quote
It's not miniBB error.

Author fribse
Partaker
#3 · Posted: 30 Jun 2003 16:22Reply Quote
:-) Cheers, that was very helpful

Author Team
8-)
#4 · Posted: 30 Jun 2003 16:36Reply Quote
Actually, what open_basedir in Novell means? It seems that it can not open directories marked with ./ before

Author Anonymous
Guest
#5 · Posted: 14 May 2004 03:46Reply Quote
have you resolved this at all I am getting the same problem

Author Anonymous
Guest
#6 · Posted: 29 May 2004 21:20Reply Quote
I had the same problem once. For each:
include("config/config.php") or require() add a / in front of the subdir to look like include("/config/config.php"). This is one way to solve your problem.

Author Anonymous
Guest
#7 · Posted: 12 Jan 2005 05:04Reply Quote
It's not a page problem! I think it is a problem with your apache or you php devel...

My problem is my server cannot open any .php pages! It returns an error msg like this.

Warning: open_basedir restriction in effect. File is in wrong directory in Unknown on line 0

Warning: Failed opening '/var/www/html/mambo/installation/install.php' for inclusion (include_path='.:/usr/share/pear') in Unknown on line 0


Any idea?

Author Anonymous
Guest
#8 · Posted: 20 Jan 2005 11:10Reply Quote
Look at your php ini file (/etc/ or %WINDIR%) and find this:

; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;open_basedir =

The Other miniBB Support Forums / The Other /
 open_basedir restriction in effect. File is in wrong directory
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Check out the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.