Re: 404 error when I call controller

2010-05-03 Thread John Andersen
Disregard my last! Early in the morning, my sleepy eyes didn't see the route! Sorry for the inconvenience, John On May 4, 9:38 am, John Andersen wrote: > Your controllers name is Logins, which means that in your URL you must > use logins, not login! > Enjoy, >    John [snip] Check out the new

Re: 404 error when I call controller

2010-05-03 Thread John Andersen
Your controllers name is Logins, which means that in your URL you must use logins, not login! Enjoy, John On May 3, 5:49 pm, gannher wrote: > Hello > > I am trying to build a controller but when i call it, i have a 404 > code error. > > Here the controller "logins": > > class LoginsController

Re: 404 error when I call controller

2010-05-03 Thread Don Drake
A 404 error? I'm gonna guess that your .htaccess file is missing. Don On Mon, May 3, 2010 at 7:49 AM, gannher wrote: > Hello > > I am trying to build a controller but when i call it, i have a 404 > code error. > > Here the controller "logins": > > class LoginsController extends AppController {

404 error when I call controller

2010-05-03 Thread gannher
Hello I am trying to build a controller but when i call it, i have a 404 code error. Here the controller "logins": Here routes.php: Router::connect('/', array('controller' => 'homes', 'action' => 'index')); Router::connect('/login', array('controller' => 'logins', 'action' => 'display'));