5
I installed the Codeigniter 3.0 in my apache and when I have access http://localhost/Azzunet/login he returns me error 404 not found
. The files of controller
is correct and views
also (only has HTML). What happens to give this problem in version 3.0 ?
login.php (controller)
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Login extends CI_Controller {
public function index()
{
$this->load->view('login');
}
}
http://localhost/Azzunet
directs you to the welcome controller?– gmsantos
I also had this problem and I managed to solve by putting the first letter of the file name be it a controller, model and view in uppercase.
– David Santos