Default Controller not executing - 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: Default Controller not executing (/showthread.php?tid=48341) |
Default Controller not executing - El Forum - 01-12-2012 [eluser]ksorbo[/eluser] I am moving a CI app written by someone else. I have set all the config files (config.php, database.php), set the paths correctly in the index.php. I wrote a test script to manually check that it can connect to the databases correctly. From application/config/routes.php Code: $route['default_controller'] = "user"; When I run the app, I get a blank screen. I have determined the default route, in this case user. I have run the app calling /user/index. NOTHING shows on the screen. I modified the index method of the user controller by placing an echo statement there, but it never gets there. from application/controllers/user.php Code: function index() { (Never gets to the above echo statement) So I believe that the system never runs the default controller. I have turned on highest level of logging and noted: Code: DEBUG - 2012-01-12 15:06:59 --> Config Class Initialized So some portion of the system is loading. How do I determine what is going on? What else should I look for? |