Page 1 of 1

Solusi eror line 109

PostPosted: Wed Feb 06, 2013 1:53 pm
by ocidborlan
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

Re: Solusi eror line 109

PostPosted: Wed Feb 06, 2013 10:24 pm
by SamEA
Thank you for posting a solution to your issue. However, I believe a solution has already been posted in this forum.