CI on server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: CI on server (/showthread.php?tid=26643) |
CI on server - El Forum - 01-19-2010 [eluser]rurkss[/eluser] 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 CI on server - El Forum - 01-19-2010 [eluser]tomcode[/eluser] 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 [eluser]rurkss[/eluser] thanks |