CodeIgniter Forums
CI on server - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: CI on server (/thread-26643.html)

CI on server - El Forum - 01-19-2010

I made a site on localhost at home, and it is work fine, but after i put it on server i get message after i click a link to next page, main page is loading fine, problems only with links:

Warning: is_dir() []: open_basedir restriction in effect. File(application) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/tmp/) in /www/ on line 93

Warning: require_once(goody/codeigniter/CodeIgniter.php) [function.require-once]: failed to open stream: Operation not permitted in /www/ on line 115

Fatal error: require_once() [function.require]: Failed opening required 'goody/codeigniter/CodeIgniter.php' (include_path='.:/usr/share/php') in /www/ on line 115

please explain me whats wrong

CI on server - El Forum - 01-19-2010

Seems like you did move the system folder outside the public web space, which is usually a good thing, only Your hoster/web admin does not allow You to do so. You need to change a setting in the PHP configuration of the server, see the PHP manual, .core php.ini

CI on server - El Forum - 01-19-2010