Hi dave, I have tried several urls: /users /users/login
both return the same error. On Tue, Nov 24, 2009 at 9:21 AM, Dave <davidcr...@gmail.com> wrote: > Can you be more specific about when you get this error? What is the URL > cake is trying to access > > On Tue, Nov 24, 2009 at 8:58 AM, Dewayne Pinion <dpin...@gmail.com> wrote: > >> I have been following the directions there and haven't made it very far. I >> end up with the following error: >> >> Missing Controller >> >> *Error: * *UsersController* could not be found. >> >> *Error: * Create the class *UsersController* below in file: >> app/controllers/users_controller.php >> >> <?php >> class UsersController extends AppController { >> >> var $name = 'Users'; >> } >> ?> >> >> *Notice: * If you want to customize this error message, create >> app/views/errors/missing_controller.ctp >> >> From my users_controller.php file: >> >> class UsersController extends AppController { >> var $name = 'Users'; >> var $components = array('Auth'); >> >> function login() { >> } >> function logout() { >> $this->redirect($this->Auth->logout()); >> } >> } >> >> >> login.ctp file: >> >> <?php >> $session->flash('auth'); >> echo $form->create('User', array('action' => 'login')); >> echo $form->input('username'); >> echo $form->input('password'); >> echo $form->end('Login'); >> ?> >> >> >> any ideas? >> >> >> >> >> >> >> >> >> >>> >>> On Mon, Nov 23, 2009 at 9:47 AM, ddaffy <dda...@gmail.com> wrote: >>> >>>> take a look at: http://book.cakephp.org/view/172/Authentication >>>> chnology.com <http://www.trentontechnology.com> >>>> >>> >> >> >> -- >> Dewayne Pinion >> Web/Software Guy >> Trenton Technology >> http://www.trentontechnology.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "CakePHP" group. >> To post to this group, send email to cake-...@googlegroups.com. >> To unsubscribe from this group, send email to >> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/cake-php?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-...@googlegroups.com. > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en. > -- Dewayne Pinion Web/Software Guy Trenton Technology http://www.trentontechnology.com -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-...@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cake-php?hl=en.