Getting Started with DAuth

2007-06-21 Thread Rod D.
Ok, here we go. PHP5, MySQL 5, Apache 2, CakePHP 1.1.15.5144, DAuth 0.3. I am a beginner with CakePHP, and am having a bit of rouble just grasping the initial concept of how to get the user login page to appear. I read through the beginning parts of the manual, read the entire DAuth article, inst

1.2 Beta Auth Logout problems

2008-02-13 Thread Rod D.
Hi everyone. Cake: 1.2.0.6311 beta, Mysql 5, PHP 5, Sessions: Database, Security: High I wonder if anyone has come across this problem I am having with Cake 1.2 Beta. I have setup the Auth component and have a username and password working correctly. If I try to access a controller that is pri

Re: 1.2 Beta Auth Logout problems

2008-02-13 Thread Rod D.
Unfortunately that did not solve the problem. I replaced my logout function with your suggestion below, and I get the message that the user was logged out, but if I then type in the url of the private controller, then I am allowed back in with no new login prompt. I must have some other issue, bu

1.2 Beta Auth Logout problems

2008-02-13 Thread Rod D.
Hi everyone. Cake: 1.2.0.6311 beta, Mysql 5, PHP 5, Sessions: Database, Security: High I wonder if anyone has come across this problem I am having with Cake 1.2 Beta. I have setup the Auth component and have a username and password working correctly. If I try to access a controller that is pri

Re: 1.2 Beta Auth Logout problems

2008-02-13 Thread Rod D.
Baz, Yes, I am running IE7 on Windows XP Pro. Missed the 4 questions earlier... sorry a bout that. 1. Is $this->Auth->autoRedirect = false ??? No, I never changed this setting. I just double checked at run time, and it is True. 2. In your controllers are you overriding beforeFilter?

Re: 1.2 Beta Auth Logout problems

2008-02-13 Thread Rod D.
; the browser and see what happens. > > On Feb 13, 2008 8:04 PM, Rod D. <[EMAIL PROTECTED]> wrote: > > > > > Baz, > > Yes, I am running IE7 on Windows XP Pro. > > > > Missed the 4 questions earlier... sorry a bout that. > > 1. Is $this->Auth->au

Re: 1.2 Beta Auth Component, Controller other than Users

2008-02-15 Thread Rod D.
s so much. Chris Hartjes wrote: > On Feb 15, 2008 5:29 PM, Rod D. <[EMAIL PROTECTED]> wrote: > > > > > > Any help would be greatly appreciated. > > -Rodney > > On your login page, what's the actual target for the POST? An odd > thought struck me that

1.2 Beta Auth Component, Controller other than Users

2008-02-15 Thread Rod D.
Cake: 1.2.0.6311 beta, Mysql: 5.0 I am having more issues with the 1.2 beta Auth component. Particularly I am trying to get around having a Users controller. Let's say I want to use a controller named EcHere instead of Users. When I enter, localhost/echere/login I get the login prompt served up b

Re: 1.2 Beta Auth Component, Controller other than Users

2008-02-16 Thread Rod D.
Still some issues... Good Grief! Well looking at the Form helper code, I have found that I had to hard code the form definition in the view. No worries, it now calls / echere/login like it is supposed to. Now, after entering the username and password and clicking the login button I gegtg the fo

Re: 1.2 Beta Auth Component, Controller other than Users

2008-02-16 Thread Rod D.
Rod D. wrote: > Still some issues... Good Grief! > > Well looking at the Form helper code, I have found that I had to hard > code the form definition in the view. No worries, it now calls / > echere/login like it is supposed to. > > Now, after entering the username and

1.2 Beta Auth Component, Allowing root to be public

2008-02-16 Thread Rod D.
1.2 Beta Auth Component, Allowing root to be public Cake: 1.2.0.6311 beta, Mysql: 5.0 Ok, I have come so far, and I think this is my last hurdle. I can not find the answer anywhere else, so here I am again. Since I have put the code in my app controller, my main page now requires login. How do

Re: 1.2 Beta Auth Component, Allowing root to be public

2008-02-16 Thread Rod D.
he private area of the site. So then instead of showing a login link on the root page, it would be changed to a logout link and the user name would also be displayed. I can do that, but because I did, now I can not make the root public. Chris Hartjes wrote: > On Feb 16, 2008 3:30 PM, Rod D. <

Re: 1.2 Beta Auth Component, Allowing root to be public

2008-02-16 Thread Rod D.
Baz, let me give it a try. Baz wrote: > I'm guessing your using the pages controller? Else I don't see what the > problem would be. > > So, $this->Auth->allow('display'); > should give you what you're looking for. > > On Feb 16, 2008 2:30 PM,

Re: 1.2 Beta Auth Component, Allowing root to be public

2008-02-16 Thread Rod D.
That did it. I had been trying '/' and other derivatives instead of 'display'. Thanks again, and again, and again. Both you and Chris hit me with responses instantly for my 3 different topics. Rod D. wrote: > Baz, let me give it a try. > > > Baz wrote: >