My problem is about custom error pages after upgrading to Codeigniter 3.0.
I used to have a Errors
controller which handled 404 error page of the websi
You need to set in application/config/routes.php
the following route
$route['404_override'] = 'my404';
Then you need to create a new controller in your controllers directory (application/controllers/)
output->set_status_header('404');
$this->load->view('err404');//loading in custom error view
}
}
And create an err404
view. Thats all!
Refer :Reserved Routes