CI v2.0.2 cannot load the default controller - 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 v2.0.2 cannot load the default controller (/showthread.php?tid=55021) |
CI v2.0.2 cannot load the default controller - El Forum - 10-05-2012 [eluser]Unknown[/eluser] I have inherited an on-going CI v2.0.2 project. I tried loading the default controller - Code: http://localhost/ci202/index.php I enabled logging for all messages, and here's the log: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?> Code: index.php The contents of Code: routes.php Code: .htaccess I tried creating another 'helloworld' type controller, which was a replica of the welcome controller, but still get a blank page. In Code: application/config/config.php Code: base_url Code: http://localhost/ci202/ Where else should I look for misconfiguration? CI v2.0.2 cannot load the default controller - El Forum - 10-06-2012 [eluser]jmadsen[/eluser] The blank page is mostly likely because you have errors suppressed; in index.php, add: ini_set('display_errors', 1); or do so in the php.ini file and see if you start getting error messages. I believe in v2.02 that was explicitly turned off, but I may be thinking of something else |