Auth component problem.

2013-10-24 Thread thanat
Hello there, i have an issue with Auth.redirect value. on my local machine when i do in my view: debug($this->Session->read('Auth.redirect')); result is: 'users/register.html' the same app on remote server gives me this output. 'users/register.html?url=users%2Fregister.html' why is the ?u

Re: Cakephp 2.0.5 Auth component problem.

2012-01-22 Thread José Lorenzo
Most probably you have trailing whitespace before of after the php tags in your classes. Use the DebugKit whitespace shell to remove them. You may also want to change the session settings in core.php, usually setting 'checkAgent' => false solves some issues. -- Our newest site for the communit

Cakephp 2.0.5 Auth component problem.

2012-01-17 Thread xparm...@yahoo.com
I made a basic login, authorization script with cakephp 2.0.5 using Auth component. When I use Firefox to test the aplication everithing works fine both on windows WAMP and on a virtualbox lamp (ubuntu). However when I try to test the aplication with google chrome or Internet explorer it works onl

Re: Auth Component problem

2012-01-12 Thread Glauco Custódio
I have followed this tutorial and now it's working! Thank you. On 11 jan, 14:14, Tilen Majerle wrote: > http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-examp... > check this > it was some changes created :) > -- > Lep pozdrav, Tilen Majerlehttp://majerle.eu > > 2012/1/11 Glauco C

Re: Auth Component problem

2012-01-11 Thread Tilen Majerle
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html check this it was some changes created :) -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/1/11 Glauco Custódio > Hi there, I am migrating my base app from 1.3x to 2.0.5. I have copied > a lot of my code and

Auth Component problem

2012-01-11 Thread Glauco Custódio
Hi there, I am migrating my base app from 1.3x to 2.0.5. I have copied a lot of my code and I am changing where is necessary... Auth component is configured, but it is allowing any username/password to log in and message of invalid username is not appearing. Link to my code: http://bin.cakephp.or

Re: Auth component problem

2011-11-14 Thread phpMagpie
$this->Auth->fields = array('username' => 'email', 'password' => 'password'); // no capital F HTH, Paul -- 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 relat

Re: Auth component problem

2011-11-14 Thread phpMagpie
Which version of Cake you using? -- 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 cake-php+un

Auth component problem

2011-11-14 Thread anjith
Hi, I am using auth component for login, it is working fine when database table columns are username and password if i use email as column name even though i specified the fields as below in app_controller.php its not working in beforeFilter() method. $this->Auth->Fields = array('username' => 'em

auth component problem

2009-07-31 Thread kicaj
I have problem with Auth Component... In my localhost works perfect, but on web server Auth->user() doesn't work, it's empty. Mayby somebody has the same problem, and solutions. I don't know what can i do yet... --~--~-~--~~~---~--~~ You received this message becau

Re: Auth Component Problem

2009-06-13 Thread Miles J
$this->Auth->loginRedirect is the page you are redirected to after you have successfully logged in. If the login page IS NOT the one you put in $this->Auth->loginRedirect, then disregard this. --~--~-~--~~~---~--~~ You received this message because you are subscribe

Re: Auth Component Problem

2009-06-13 Thread Francisco Rivas
Hi Miles, I don't understand about the destination you talking about because I want to redirect to a page called login.ctp and I understand that after you put your username and password you automaticaly go to that direction: $this->Auth->loginRedirect = array('controller' =>'personas', 'action' =

Re: Auth Component Problem

2009-06-13 Thread Miles J
These should be the urls for the DESTINATION after you login or logout, not the pages themself: $this->Auth->loginRedirect = array('controller' => 'personas', 'action' => 'display', 'login'); $this->Auth->logoutRedirect = array('controller' => 'personas', 'action' => 'logout'); Remove these two

Re: Auth Component Problem

2009-06-13 Thread Francisco Rivas
What do you mean with re-activate the security component?. Maybe the problem It's in the code. Thanks. 2009/6/13 cem > > I have the same problem I cannot login either. But in your situation > maybe you can de-activate the security component and try again ? > > > On 13 Haziran, 06:40, Francisco

Re: Auth Component Problem

2009-06-13 Thread cem
I have the same problem I cannot login either. But in your situation maybe you can de-activate the security component and try again ? On 13 Haziran, 06:40, Francisco Rivas wrote: > Yes, It's clear: > > Configure::write('Security.salt', ''); > > But I still cannot login. > > There're is somethin

Re: Auth Component Problem

2009-06-12 Thread Francisco Rivas
Yes, It's clear: Configure::write('Security.salt', ''); But I still cannot login. There're is something wrong with the code or It's missing something?. Thanks for thw answer 2009/6/12 joshua > Don't forget to clear the session salt in core.php > > Configure::write('Security.salt', ''); >

Re: Auth Component Problem

2009-06-12 Thread joshua
Don't forget to clear the session salt in core.php Configure::write('Security.salt', ''); On Sat, Jun 13, 2009 at 10:33 AM, PanchoRivas wrote: > > Hi all, > > I just started with Auth and I have some problems. I learned about > Auth in tutorials and it seems very easy but It doesn´t work i

Auth Component Problem

2009-06-12 Thread PanchoRivas
Hi all, I just started with Auth and I have some problems. I learned about Auth in tutorials and it seems very easy but It doesn´t work in my application. I create a table called 'personas' with the fields 'email' for username and 'clave' for password. When I add a new person, the password saved

Auth component problem - Cannot login

2009-03-11 Thread Waylon
I have the Auth component working correctly on my development site (localhost). I have a problem when I try to use it on my production server. If I try to access /users/login, I am sent to a 404 page (my web hosts, not a CakePHP page). I have a very simple Auth configuration; I'm using all defau