404 not found! |
Turns out that sub_crud is not my default localhost location: here is my routes.php. Login is for an admin to login.
I am using a Login in controller to start and then after an admin logs in I switch to Configure controller $route['default_controller'] = 'users/login'; $route['404_override'] = ''; $route['translate_uri_dashes'] = FALSE; $route['registration'] = 'registration'; $route['login'] = 'login'; In my httpd.conf I have: DocumentRoot "C:/xampp/htdocs/sub_crud" <Directory "C:/xampp/htdocs/sub_crud"> I have created a new controller called subit_backend.php that is sitting in my controllers directory. This is its code: class register extends CI_Controller { public function __construct() { parent::__construct(); $this->load->database(); $this->load->helper('url'); } public function register() { } } I also have a model called users.php that contains the login code. I put a break point at Break at first line in php script to see if it is getting initiated. I try typing the following at the browser http://localhost/Subit_backend/register and I still get error 404.
proof that an old dog can learn new tricks
|
Messages In This Thread |
404 not found! - by richb201 - 03-14-2018, 11:22 AM
RE: 404 not found! - by jreklund - 03-14-2018, 11:30 AM
RE: 404 not found! - by richb201 - 03-14-2018, 02:04 PM
RE: 404 not found! - by ciadmin - 03-14-2018, 03:20 PM
RE: 404 not found! - by richb201 - 03-14-2018, 03:56 PM
RE: 404 not found! - by ciadmin - 03-14-2018, 04:28 PM
RE: 404 not found! - by richb201 - 03-15-2018, 12:43 AM
RE: 404 not found! - by ciadmin - 03-15-2018, 01:54 AM
RE: 404 not found! - by richb201 - 03-16-2018, 07:19 AM
RE: 404 not found! - by ciadmin - 03-16-2018, 08:06 AM
RE: 404 not found! - by richb201 - 03-16-2018, 06:31 PM
RE: 404 not found! - by ciadmin - 03-16-2018, 09:19 PM
RE: 404 not found! - by richb201 - 03-17-2018, 02:45 AM
RE: 404 not found! - by jreklund - 03-17-2018, 05:16 AM
RE: 404 not found! - by richb201 - 03-17-2018, 07:07 AM
RE: 404 not found! - by jreklund - 03-17-2018, 08:27 AM
RE: 404 not found! - by richb201 - 03-18-2018, 06:59 AM
RE: 404 not found! - by InsiteFX - 03-18-2018, 02:20 PM
|