Part of the EllisLab Network
   
 
problem with is_dir function.
Posted: 17 June 2008 02: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?!

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(application) is not within the allowed path(s): (D:\web04\kgt\kgt.com.vn) in D:\web04\kgt\kgt.com.vn\www\index.php on line 93
Profile
 
 
Posted: 17 June 2008 03:23 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  21
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 04: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
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 819, on March 11, 2010 11:15 AM
Total Registered Members: 120577 Total Logged-in Users: 29
Total Topics: 126616 Total Anonymous Users: 2
Total Replies: 665627 Total Guests: 319
Total Posts: 792243    
Members ( View Memberlist )