Welcome Guest, Not a member yet? Register   Sign In
CI on server

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() [function.is-dir]: open_basedir restriction in effect. File(application) is not within the allowed path(s): (VIRTUAL_DOCUMENT_ROOT:/tmp/) in /www/ax3.net/r/s/rsr/home/site/index.php on line 93

Warning: require_once(goody/codeigniter/CodeIgniter.php) [function.require-once]: failed to open stream: Operation not permitted in /www/ax3.net/r/s/rsr/home/site/index.php on line 115

Fatal error: require_once() [function.require]: Failed opening required 'goody/codeigniter/CodeIgniter.php' (include_path='.:/usr/share/php') in /www/ax3.net/r/s/rsr/home/site/index.php on line 115

please explain me whats wrong

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


Theme © iAndrew 2016 - Forum software by © MyBB