[RESOLVED] Warning: file_exists() [function.file-exists]
Hi I have the following PHP error
HTML Code:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/usr/local/lib/php/./templates/tmpl1//./templates/tmpl1/index.tpl.html) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a8345173/public_html/smarty/core/core.get_include_path.php on line 34
What should I look for to get around this as Im a newbie here. Thanks
Re: Warning: file_exists() [function.file-exists]
The path of the file you are attempting to open is not in the list of allowed paths specified using the open_basedir directive. You can access any files in:
To fix this either move the file to one of those locations or modify the open_basedir line in php.ini file to include the directory in which the file resides.