Part of the EllisLab Network
   
 
problem with is_dir function.
Posted: 17 June 2008 03:52 AM   [ Ignore ]  
Summer Student
Total Posts:  2
Joined  05-16-2008

I have gotten an error when I run codeigniter on my host for the first time.
The error starts from index.php in root dir. Is It a bug?!

Warningis_dir() [function.is-dir]open_basedir restriction in effectFile(application) is not within the allowed path(s): (D:\web04\kgt\kgt.com.vnin D:\web04\kgt\kgt.com.vn\www\index.php on line 93 
Profile
 
 
Posted: 17 June 2008 04:23 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  17
Joined  05-26-2008

No this is not a bug
This is a PHP setting of your host
and it means you are trying to open an directory which php does not access to it
read this for more info [open_basedir section]
http://us.php.net/features.safe-mode
google is your friend wink

Profile
 
 
Posted: 17 June 2008 05:10 AM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  2
Joined  05-16-2008

I will disable this error by adding @ sign in front of this function ...
Googling is the best way to resolve a problem, but sometime you should ask someone for your problem. Thank my friend.

Profile