Hi Dewayne,

Just checking - do you have the opening and closing php tag?

i.e.

<?php
class UsersController extends AppController{
  var $name = 'Users';
  var $components = array('Auth');

  funciton login() {
  }
function logout() {
   $this->redirect($this->Auth->logout());
}
}
?>

On 24 Nov 2009, at 19:17, Dewayne Pinion wrote:

> Hi Josu,
> It should be enabled. I do have other pages/controllers that are  
> working. The contents of my users_controller.php file is as follows:
>
> class UsersController extends AppController {
>  var $name = 'Users';
>  var $components = array('Auth');
>
>  function login() {
>  }
>  function logout() {
>  $this->redirect($this->Auth->
> logout());
>  }
>  }
>
>
>
>
> On Tue, Nov 24, 2009 at 11:10 AM, josu jauregui <jos...@gmail.com>  
> wrote:
> Hi! Is your mod_rewrite activated?. Can you send me the  
> users_controller file to make some tests?.
>
> Bye!
>
> 2009/11/24 Dewayne Pinion <dpin...@gmail.com>
>
> Hi Josu,
> Thank you for the response. Yes, I have the file created and it is  
> in the app/controllers directory
>
> On Tue, Nov 24, 2009 at 10:32 AM, josu jauregui <jos...@gmail.com>  
> wrote:
> Hi!. Sorry but my english is not good.
>
> You must be sure that the name of the controller file is  
> users_controller.php and it´s in app/controllers directory.
>
> I hope this can help you.
>
> 2009/11/24 Dave <davidcr...@gmail.com>
>
> 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
>
>
>
> -- 
> 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 
> .
>
>
> --
>
> 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 
> .
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help  
> others with their CakePHP related questions.
>
>
> You received this message because you are subscribed to the Google  
> Groups "CakePHP" group.
> To post to this group, send email to cake-php@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
>
>
>
> -- 
> Dewayne Pinion
> Web/Software Guy
> Trenton Technology
> http://www.trentontechnology.com
>
> Check out the new CakePHP Questions site http://cakeqs.org and help  
> others with their CakePHP related questions.
>
>
> You received this message because you are subscribed to the Google  
> Groups "CakePHP" group.
> To post to this group, send email to cake-php@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
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help  
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google  
> Groups "CakePHP" group.
> To post to this group, send email to cake-php@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
>
>
>
> -- 
> Dewayne Pinion
> Web/Software Guy
> Trenton Technology
> http://www.trentontechnology.com
>
> Check out the new CakePHP Questions site http://cakeqs.org and help  
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google  
> Groups "CakePHP" group.
> To post to this group, send email to cake-php@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

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@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

Reply via email to