Page 1 of 1

error: Hi at all,127.0.0.1 he has redirected too many times.

PostPosted: 20. November 2016 10:11
by jomla
He at all.
I inserted my full website into htdocs but index.php make error:
127.0.0.1 he has redirected too many times.
I have not any redirect in my script.
What can I do please?
Thank you very much

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 20. November 2016 13:43
by Nobbie
Maybe you have a redirect in .htaccess or httpd.conf?

P.S.: In addition to you last question, maybe you have inserted an URL somewhere to include or open and this URL points recursively to the same file. This is an implicit redirection which never ends. Its on you to debug your code, we cannot do that for you.

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 25. November 2016 14:53
by jomla
I'm sorry but I can not find any redirects.
My site online is: www.iomla.net and is the some that is into xampp

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 25. November 2016 17:50
by Nobbie
jomla wrote:I'm sorry but I can not find any redirects.


Me too.

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 26. November 2016 12:58
by jomla
So..... what should I do?

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 26. November 2016 15:40
by JJ_Tagy
It's possible your code has absolute references to iomla.net such as images. So instead of pulling direct from the machine, it goes outside to find that location which points right back to your machine acting as a redirect. You should go through your code and change them to relative references.

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 26. November 2016 16:39
by jomla
If I cut php code and if remain only html code it work and into php code there are only few date, time, moon, sun, function to load some session variables like $_get also where I have a switch loop to evaluate $_get variables.
Images path is always relative ../immagini/..............
ONLINE my website work fine full ajax based

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 26. November 2016 20:01
by Nobbie
Anyway, do you believe Apache is "lying" to you?? No of course not - and AJAX is simply a crime in my mind (biggest shit ever!), as its totally unusable and especially you cannot debug it (as you will see currently). Sorry, but I cannot help you on that, its totally impossible to debug your code especially without knowing anything.

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 27. November 2016 08:48
by jomla
the first reason because I used ajax is that the number of pages up to now is 127 and they are all stored in mysql tables.
Being an educational website, the number of pages will increase and it would be impossible to manage without ajax.

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 27. November 2016 13:21
by Nobbie
jomla wrote:Being an educational website, the number of pages will increase and it would be impossible to manage without ajax.


Kidding! I definately wouldnt use AJAX and i definately would succeed to manage it. Ajax does not help in project management, it almost makes it more difficult to divide functional code from presentation code and also it ruins the data flow. Last not least it is your decision and you see now, how difficult it is to find a structural error in the data flow (the biggest problem of AJAX). AJAX is a pain and one of the worst ideas in IT in the last 20 years.

Re: error: Hi at all,127.0.0.1 he has redirected too many ti

PostPosted: 27. November 2016 19:47
by jomla
This tyred is close
Found error making redirect
It is mysql connection.
Infact my database is empty because I cannot upload tables.
I do not know why but this is an other problem
Thank you also for ajax critical I'll try to change