Thanks! It works now, I redid the tutorial for the third time and now
it works. I really don't know what I did differently, but at least now
it works. :)

I will look into DebugKit, sounds great.

One thing I noticed is that you have to change all $this-
>redirect(array('action' => 'index')); lines to $this-
>redirect(array('controller' => 'posts', 'action' => 'index')); if you
are using code from the blog tutorial as the foundation for this
tutorial. I got a lot of missing view errors before I changed this. It
would have been great if you were told to change this in the tutorial.
The loginRedirect and logoutRedirect are correct in the tutorial, but
not the redirects in the add, edit and delete functions in the
UsersController.
I think a lot of people uses these two tutorials to get to know
CakePHP, so this is something I really think should be added to the
Authentication Application Tutorial.

On 15 Jan, 02:10, jeremyharris <[email protected]> wrote:
> You may not be getting auth flash messages if you don't have the following
> bit in your layout:
>
> echo $this->Session->flash('auth');
>
> That will give you a hint as to what's going on. Or, check your session
> vars (use DebugKit - it's a massive time save).

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to