Solved - Warning: file_exists() [function.file-exists]: open_basedir restriction in effect

RegisterLogin
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
Tags: Solved, -, Warning:, file_exists(), [function.file-exists]:, open_basedir, restriction, in, effect
This Post Was Posted On Feb 29, 2008 By vesil.com #860
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
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
hostman
#1110 1
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 =


Jul 22, 2007 Reply Report abuse
vesil.com
#1109 2
yup, im not seeing that error anymore..
Jul 22, 2007 Reply Report abuse
hostman
#1108 3
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
Jul 22, 2007 Reply Report abuse
Leave Your Comments...
©2011 Webune Forums - Tue Dec 20, 2011 11:09 am
Powered by: Webune Forums V3