Page 1 of 1

Getting Error : Warning: is_dir(): open_basedir restriction

PostPosted: Sun Feb 08, 2015 11:45 am
by pikkuboss
I just installed the script in my root/public_html/ directory, not the public_html/dfh/ directory, I am getting the error.
Warning: is_dir(): open_basedir restriction in effect. File(./storage/.htaccess/) is not within the allowed path(s): (/home/u502888325:/usr/lib/php:/tmp) in /home/u502888325/public_html/index.php on line 109

I found a thread similer to my question, but i could not understand what to do. kindly explain in details. and what the Script Url will be? (http://filex.hostreo.com/)

Re: Getting Error : Warning: is_dir(): open_basedir restrict

PostPosted: Mon Feb 09, 2015 11:52 pm
by SamEA
This seems to be occurring frequently on newer versions of PHP. Feel free to PM me your FTP details and I will ensure the suggested fixes work and is implemented in future DFH versions as standard.

Thanks,

Re: Getting Error : Warning: is_dir(): open_basedir restrict

PostPosted: Tue Feb 10, 2015 7:50 pm
by SamEA
Solved and updated your version to v1.2.10. Will update the source files on DaddyScripts as well.

Please let me know if you encounter any further issues.

Thanks,

Re: Getting Error : Warning: is_dir(): open_basedir restrict

PostPosted: Fri Feb 13, 2015 1:22 pm
by pikkuboss
SamEA wrote:Solved and updated your version to v1.2.10. Will update the source files on DaddyScripts as well.

Please let me know if you encounter any further issues.

Thanks,


Kindly check once plz, I am having problem with downloading. page showing error. And I want to fully remove the capcha verification.

Re: Getting Error : Warning: is_dir(): open_basedir restrict

PostPosted: Mon Feb 16, 2015 2:46 am
by SamEA
Fixed, you had the Script URL set incorrectly (hostname typo). I don't recommend removing the captcha as it makes it easier to abuse the bandwidth on your network. Are you sure you want to remove the captcha? If for whatever reason you do, here are the steps:

1) Open ./download.php
2) Remove:
Code: Select all
if (document.getElementById("form").scode.value == <?php echo $secrandcode; ?> )
{


Code: Select all
return false;
}
else
{
alert("ERROR:\n Securitycode was wrong!\n Please input the right Securitycode to download the File!");
window.location='<?php echo $scripturl . "download.php?file=" .$foundfile[0]; ?>';
}


Code: Select all
<table cellspacing=2 cellpadding=2 border=0 height=16 width="250"><tr><td align=center background="img/captcha-a.png"><font color="#C0C0C0" size="5"><b><font face=times new roman><?php echo $secrandcode;?></td><td> Securitycode: <font size=1><strong><input type="text" name="scode" size="4" /></tr></table>


Good luck!

Re: Getting Error : Warning: is_dir(): open_basedir restrict

PostPosted: Wed Feb 18, 2015 2:37 pm
by pikkuboss
Thanks a lot. Just one more query. How to remove the comparison table page for guests? Guests too see the direct download page ....

Re: Getting Error : Warning: is_dir(): open_basedir restrict

PostPosted: Sun Feb 22, 2015 6:52 pm
by SamEA