CodeIgniter Forums
An Error Was Encountered Unable to load your default controller. Please make sure the controller specified in your Rout - 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: An Error Was Encountered Unable to load your default controller. Please make sure the controller specified in your Rout (/showthread.php?tid=51686)



An Error Was Encountered Unable to load your default controller. Please make sure the controller specified in your Rout - El Forum - 05-14-2012

[eluser]Unknown[/eluser]
[quote]can sum1 tell me whats the problems?
Problems :
An Error Was Encountered Unable to load your default controller. Please make sure the controller specified in your Routes.php file is valid.

Case:-
identify 1 :
config->routes.php

$route['default_controller'] = "webshop";
$route['scaffolding_trigger'] = "";

$route['admin'] = 'admin/home';

identify 2 :

controllers->admin->home.php

class Home extends Admin_Controller
{
function Home()
{
parent::Admin_Controller();

log_message('debug','BackendPro : Home class loaded');
}
}