Help - Search - Members - Calendar
Full Version: "warning: Is_dir(): Open_basedir Restriction In Effect" Problem
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
webmaster1989
I use codeigniter and when I open some of my pages, the message below appears instead.

CODE
Warning: is_dir(): open_basedir restriction in effect. File(application) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in /www/zymichost.com/q/u/i/quicknotes/htdocs/index.php on line 93 Warning: require_once(system/codeigniter/CodeIgniter.php): failed to open stream: Operation not permitted in /www/zymichost.com/q/u/i/quicknotes/htdocs/index.php on line 115 Fatal error: require_once(): Failed opening required 'system/codeigniter/CodeIgniter.php' (include_path='.:/usr/lib/php') in /www/zymichost.com/q/u/i/quicknotes/htdocs/index.php on line 115


You can check out my site here. The error appears when I try to login or register.

Any help will be appreciated.
jer-k
QUOTE(webmaster1989 @ Aug 12 2010, 11:25 AM) *
I use codeigniter and when I open some of my pages, the message below appears instead.

CODE
Warning: is_dir(): open_basedir restriction in effect. File(application) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT) in /www/zymichost.com/q/u/i/quicknotes/htdocs/index.php on line 93 Warning: require_once(system/codeigniter/CodeIgniter.php): failed to open stream: Operation not permitted in /www/zymichost.com/q/u/i/quicknotes/htdocs/index.php on line 115 Fatal error: require_once(): Failed opening required 'system/codeigniter/CodeIgniter.php' (include_path='.:/usr/lib/php') in /www/zymichost.com/q/u/i/quicknotes/htdocs/index.php on line 115


You can check out my site here. The error appears when I try to login or register.

Any help will be appreciated.


I'm no pro but it looks like 'CodeIgniter.php' is either in the wrong directory, or the path that is set to it within your 'index.php' is pointing to an illegal location.

Make sure CodeIgniter.php (and all other files that this requires) have been uploaded to your site, and make sure any calls to it in your index page (check lines 93 and 115, or 92 and 114 depending on your editor) point in the right direction.

Could also perhaps be a problem with folder permissions? other than that i cant help any more..
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.