[SOLVED] Cannot Login it shows Object not found - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [SOLVED] Cannot Login it shows Object not found (/showthread.php?tid=67405) |
[SOLVED] Cannot Login it shows Object not found - davy_yg - 02-19-2017 admin/views/login.php Code: <?php $this->load->library('form_validation'); ?><?php echo validation_errors(); ?> controllers/Cpages.php Code: public function ceklogin() { models/Mpages.php Code: public function login() username email password role user [email protected] 12345 administrator user2 [email protected] $2y$10$PrDTzzETQ.NzI9eIN0WYDubhBZhkg9XEo10MxRYpv4M manager I have tried to login with username: user password: 12345 and have not been successful to login yet. I wonder why? http://localhost/masterlinkci2/cpages/ceklogin Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. I wonder how to route it: routes.php Code: $route['default_controller'] = 'cpages/login'; RE: Cannot Login it shows Object not found - davy_yg - 02-20-2017 It directly goes to : http://localhost/masterlinkci2/cpages/ceklogin Why not localhost/masterlinkci2/admin/index.php/cpages/ceklogin ? for example. |