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

Problems with the Windows version of XAMPP, questions, comments, and anything related.

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

Postby jomla » 20. November 2016 10:11

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
jomla
 
Posts: 10
Joined: 18. November 2016 20:27
XAMPP version: 3.2.2
Operating System: Windows 10

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

Postby Nobbie » 20. November 2016 13:43

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.
Nobbie
 
Posts: 9800
Joined: 09. March 2008 13:04

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

Postby jomla » 25. November 2016 14:53

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
jomla
 
Posts: 10
Joined: 18. November 2016 20:27
XAMPP version: 3.2.2
Operating System: Windows 10

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

Postby Nobbie » 25. November 2016 17:50

jomla wrote:I'm sorry but I can not find any redirects.


Me too.
Nobbie
 
Posts: 9800
Joined: 09. March 2008 13:04

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

Postby jomla » 26. November 2016 12:58

So..... what should I do?
jomla
 
Posts: 10
Joined: 18. November 2016 20:27
XAMPP version: 3.2.2
Operating System: Windows 10

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

Postby JJ_Tagy » 26. November 2016 15:40

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.
JJ_Tagy
 
Posts: 728
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64

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

Postby jomla » 26. November 2016 16:39

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
jomla
 
Posts: 10
Joined: 18. November 2016 20:27
XAMPP version: 3.2.2
Operating System: Windows 10

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

Postby Nobbie » 26. November 2016 20:01

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.
Nobbie
 
Posts: 9800
Joined: 09. March 2008 13:04

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

Postby jomla » 27. November 2016 08:48

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.
jomla
 
Posts: 10
Joined: 18. November 2016 20:27
XAMPP version: 3.2.2
Operating System: Windows 10

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

Postby Nobbie » 27. November 2016 13:21

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.
Nobbie
 
Posts: 9800
Joined: 09. March 2008 13:04

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

Postby jomla » 27. November 2016 19:47

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
jomla
 
Posts: 10
Joined: 18. November 2016 20:27
XAMPP version: 3.2.2
Operating System: Windows 10


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 47 guests