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
Forums
» Linux Hosting
» Solved - Warning: file_exists() [function.file-exists]: open_basedir restriction in effect
Title: Solved - Warning: file_exists() [function.file-exists]: open_basedir restriction in effect
Description: solved warning file exists functionfile exists open basedir restriction in effect Linux Hosting
Tags: solved, warning, file, exists, functionfile, exists, open, basedir, restriction, in, effect
Info: This Post Has Been Viewed 6215 Times SinceSun Jul 22, 2007 5:29 pm Author vesil.com With 3 Replies #1764
Solved - Warning: file_exists() [function.file-exists]: open_basedir restriction in effect
Comments (3)
View Top Comments
Leave Your Comments...
hostman Sun Jul 22, 2007 5:32 pm
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:
now change it to:
then reboot your web server with this command:
this took me a while to figure out, but i got some help with the support team at www.webune.com
hope this helps
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
hostman Sun Jul 22, 2007 7:30 pm
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 =
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 =
Share
URL:


Embed:


To embed this topic, just copy the code from the "Embed" box. Once you've copied the code, just paste it into your website or blog to embed it
BBCODE::


BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums
