Page 1 of 1

file redirecting error problem

Posted: Wed Feb 03, 2010 6:34 am
by indian98476
cake php issue
i created a login controller file which calls home controller file....but it doesnt seem to call....it just goes on in an infinite loop....and the browser replies: problem loading page: the page isn't redirecting properly.....

the exact error

Problem loading page

The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept
cookies.

error shows up when a user tries to login to a site....he belongs to a new category which i have added in a drop down menu...i have made the necessary changes in views, models and controllers.....i think it is some infinite looping of the url....


can anyone help me out?

Re: file redirecting error problem

Posted: Wed Feb 03, 2010 9:34 am
by lshaw
Do you have a redirect set on the page you are redirecting to. I always make that mistake. If you redirect to a page that redirects you get this error.

Re: file redirecting error problem

Posted: Thu Feb 04, 2010 8:13 am
by indian98476
no there is no redirect() in the page to which it is being redirected....

Re: file redirecting error problem

Posted: Fri Feb 05, 2010 4:42 am
by indian98476
its working guyz.....some user permission prob...it was making me :banghead: n wrecking my head like hell....