![]() |
[Solved] Problem CI 2.0 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [Solved] Problem CI 2.0 (/showthread.php?tid=35909) |
[Solved] Problem CI 2.0 - El Forum - 11-15-2010 [eluser]PH-MJS[/eluser] Hi, I've downloaded version 2 of CI from bitbucket. I placed in on my server and I get a 500 internal server error. I found the following errors in my log: [Mon Nov 15 13:41:27 2010] [error] [client *.*.*.*] PHP Warning: require_once(/var/www/v2/system/core/CodeIgniter.php): failed to open stream: Permission denied in /var/www/v2/index.php on line 163 [Mon Nov 15 13:41:27 2010] [error] [client *.*.*.*] PHP Fatal error: require_once(): Failed opening required '/var/www/v2/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/v2/index.php on line 163 The file exists and the path is correct. Apache and PHP works well. Can someone help me out? Thanks in advance [Solved] Problem CI 2.0 - El Forum - 11-15-2010 [eluser]InsiteFX[/eluser] Did you change index.php ? path to system folder ? path to application folder ? Did you change the base_url in application/config/config.php ? InsiteFX [Solved] Problem CI 2.0 - El Forum - 11-15-2010 [eluser]WanWizard[/eluser] I suspect the "Permission denied" error will give something away too. Check if your apache user has at least read rights on the folder structure. [Solved] Problem CI 2.0 - El Forum - 11-15-2010 [eluser]PH-MJS[/eluser] @InsiteFX, Thanks for your reply. I've not changed index.php path to systemfolder: /var/www/v2/system/ path to applicationfolder: /var/www/v2/application/ I've changed the base_url and checked it twice Thanks in advance, PH-MJS EDIT!!!! @WanWizard, It was a rights issue. The problem is solved now! Thanks guys! A happy CI user ![]() |