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
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
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
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
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
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
$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
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
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
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
$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
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' =
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
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
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
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', '');
>
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
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
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
19 matches
Mail list logo