> change your application code. You won't find much regarding it in the
> group as it's a problem in _your_ application code.
>
> try putting $this->log(current url); and $this->log(going to); in the
> redirect function and go from there.
>
Thank you, AD, for the answer. I got the trouble-maker. It's my
function cause this all. When AD said, redirecting in a loop, i
thought about my routes. Indeed, when I comment the line
Router::connect('/', array('controller' => 'users', 'action' =>
'login')); in routes.php, my app works without clearing the history.
And I started to check the login() in my users controller. And I found
it. I redirected it to the '/' And I am sure it will redirected again
to login and continuously..
So, just to make it sure, I was back to my routes.php and make it like this
Router::connect('/', array('controller' => 'users', 'action' => 'index'));
Like I think :D Seems I've got to fix my code..
But, maybe I should try $this->log(current url); and $this->log(going
to); first, since I didnt use it. :D I just wonder about the result
I'll got.
Case : OFFICIALLY CLOSED.
--
Regards,,,
mastanto
http://www.mastanto.com
http://thom-sharing.blogspot.com
--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment