Solusi eror line 109
Posted: Wed Feb 06, 2013 1:53 pm
- Code: Select all
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(./storage/.htaccess/) is not within the allowed path(s): (/home/deb4961n5/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/deb4961n5/domains/datingbay.nl/public_html/dfh/index.php on line 109
The error occurs because you upload your script in the folder public_html / DFH and commands in your script index.php is:
- Code: Select all
if((is_dir("./storage/".$file.'/')) && ($file != '..')&&($file != '.'))
I justify it by turning it into a script:
- Code: Select all
if((is_dir("./dfh/storage/".$file.'/')) && ($file != '..')&&($file != '.'))
sorry language google translate