Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error 310 (net::ERR_TOO_MANY_REDIRECTS):

Tags:

redirect

php

I am not getting this error on my local host, only when i upload to my server does this error appear, on one of my pages. any idea what i need to change?

like image 519
arboles Avatar asked May 11 '12 03:05

arboles


People also ask

What causes Err_too_many_redirects?

The ERR_TOO_MANY_REDIRECTS error occurs when the browser is redirected to a different URL, which in turn points back to the original one, creating a redirection loop.


1 Answers

I have run into this error in a web browser in which a webpage I went to redirects to another web page that redirects back to the original endlessly, I have also run into situations where a programming error continuously reloads or redirects the page to itself.

The way to trouble shoot this type of problem is to actually watch the requests your browser is making to the server. You should be able to see multiple individual requests before this error comes up.

You can see the requests your browser makes using the network tab of the developer tools in Chrome (Ctrl+Shift+J) or the network tag of Firebug in firefox. I think IE9 has a network tool in their developer tools (F12) but I cant remember, and I cant think of a good enough reason to open IE9 to check. But if it doesn't have a network tool you can install the free version of HTTPWatch, which allows you to watch the individual requests made by your browser.

And, if none of these work, you can always install Fiddler or WireShare which sniff the packets and requests made by your browser.

like image 59
Michael Blood Avatar answered Oct 07 '22 01:10

Michael Blood