Solved - Warning: File_exists() [function.file-exists]: Open_basedir Restriction In Effect
solved - warning: file_exists() [function.file-exists]: open_basedir restriction in effect
solved, warning, file, exists, functionfile, exists, open, basedir, restriction, in, effect
Solved - Warning: File_exists() [function.file-exists]: Open_basedir Restriction In Effect
Post Description: solved - warning: file_exists() [function.file-exists]: open_basedir restriction in effect
POST# 250
Posted On: Fri Feb 29, 2008 12:01 pm
vesil.com
Topic: Solved - Warning: File_exists() [function.file-exists]: Open_basedir Restriction In Effect
thanks webune.com for their support, but i have another question, i m trying to install solidstate billing script and for some reason i get this error

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/templates/manager_frames.tpl) is not within the allowed path(s): (/var/www/web/) in /var/www/web/scripts/solidstate/solidworks/smarty/Smarty.class.php on line 1644

i lease a dedicated server with linux redhat/fedora core os and i was hoping you could help me fixing this error

thanks


Sun Jul 22, 2007 5:32 pm
1
hostman
Reply #772
ok, if you are getting this error you need to make some changes on your dedicated server you leased from http://www.webune.com

you need to login to your ssh account and login as root, then you will need to edit your /etc/php.ini file

look for this line:
display_errors = On


now change it to:
display_errors = Off


then reboot your web server with this command:
/etc/init.d/httpd restart


this took me a while to figure out, but i got some help with the support team at www.webune.com

hope this helps
Sun Jul 22, 2007 7:28 pm
2
vesil.com
Reply #773
yup, im not seeing that error anymore..
Sun Jul 22, 2007 7:30 pm
3
hostman
Reply #774
i think its just a warning rather than an error.

but im pretty sure there got to be a reason why are you seeing it.. not sure, i would check to make sure you have the right permissions set on your files or try playing with the php.ini file, specially on the line that says


; 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 =


What do you think?

* name:  

* email:  

* Please enter comments:


Receive Replies on my Comments
(An email will be sent to you when someone replies to your comments)

Add image to comments
yes no             upload