CodeIgniter Forums

Full Version: 404 Page Not Found
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Shaser[/eluser]
Hi, I'm the codeigniter 2.0.0 new programer, maybe my question is stupid not to me, the the thing is I try to load a view and I get 404 error this is my controller code:


class Cont_ins extends CI_Controller
{
function __construct()
{
parent::__construct();
}
function index()
{


echo"test";
}
}

the error occurred when I try to access this address

http://localshot/Codeigniter/index.php/mycon

mycon was saved in controller folder.

Thank you

Sorry for my English!!!

El Forum

[eluser]Shaser[/eluser]
problem solved, I was a controller file named comp_ins.php I cut this part (_ins) and work perfectly.

Thanks.