FRIHOST • FORUMS • FAQ • TOS • BLOGS • DIRECTORY
You are invited to Log in or Register a Frihost Account!

Please help. php script installation error

 


Mwilliams
I'm trying to install a php script but I get this message.

Quote:
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/www/chimg) is not within the allowed path(s): (/home:/tmp) in /home/i/ifriends/www/install/index.php on line 59


What does this mean?
shamil
That means script attempts to make a change on folder or file without having permission. If this is the case find that folder or file and change permission to 755. In ur case chmod chimg to 755.
muggle
Did you supply any parameters to the installation script?
It seems that your account is not allowed to access root folder of the system. Maybe you shall use relative path specification www/chimg without leading slash / or specify folder which is in the allowed paths range e.g. /home/www/chimg.
More details on how you’re running the script might be helpful to understand better where the problem is.
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.