2
I can’t access my controllers through the url. I already set the routes, but from what I saw, instead of calling the Controller I put in the url it’s calling the action
AN EX:
Router::connect('/home/*', array('controller' => 'agendas', 'action' => 'index'));
when access localhost/myfolder/home it returns an error message saying to create the action home
It only accesses this Controller if you put the url as follows localhost/mina_folder/index.php/agendas/home
Try removing the
/*
. And another, your controller flame really agenda? Usually used in the plural.– Paulo Rodrigues
typo, but it still didn’t work. I’ll edit the question, to put some more details
– Meeeefiu
I’ve had this problem before. Fortunately, I solved it. See my answer
– Wallace Maxters