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 <[email protected]> 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 <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en.


Reply via email to