Getting Error : Warning: is_dir(): open_basedir restriction

All support enquiries for DFH go in here...

Getting Error : Warning: is_dir(): open_basedir restriction

Postby pikkuboss » Sun Feb 08, 2015 11:45 am

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/)
pikkuboss
Newbie Member
 
Posts: 3
Joined: Sun Feb 08, 2015 11:23 am

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

Postby SamEA » Mon Feb 09, 2015 11:52 pm

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,
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

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

Postby SamEA » Tue Feb 10, 2015 7:50 pm

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,
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

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

Postby pikkuboss » Fri Feb 13, 2015 1:22 pm

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.
pikkuboss
Newbie Member
 
Posts: 3
Joined: Sun Feb 08, 2015 11:23 am

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

Postby SamEA » Mon Feb 16, 2015 2:46 am

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!
SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm

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

Postby pikkuboss » Wed Feb 18, 2015 2:37 pm

Thanks a lot. Just one more query. How to remove the comparison table page for guests? Guests too see the direct download page ....
pikkuboss
Newbie Member
 
Posts: 3
Joined: Sun Feb 08, 2015 11:23 am

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

Postby SamEA » Sun Feb 22, 2015 6:52 pm

SamEA,
DaddyScripts' Admin & Developer.

Require a PHP or general IT freelancer? Don't hesitate to PM me.
User avatar
SamEA
Site Admin
 
Posts: 1165
Joined: Sat Feb 19, 2011 7:51 pm


Return to Daddy's File Host v1.X

Who is online

Users browsing this forum: No registered users and 17 guests

cron