file redirecting error problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

file redirecting error problem

Post 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?
lshaw
Forum Commoner
Posts: 69
Joined: Mon Apr 20, 2009 3:40 pm
Location: United Kingdom

Re: file redirecting error problem

Post 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.
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: file redirecting error problem

Post by indian98476 »

no there is no redirect() in the page to which it is being redirected....
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Re: file redirecting error problem

Post by indian98476 »

its working guyz.....some user permission prob...it was making me :banghead: n wrecking my head like hell....
Post Reply