Jump to content

Redirect loop


Go to solution Solved by Marc Stridgen,

Recommended Posts

Good morning, I've been having trouble enabling PHP8 for a while now. Namely, after changing from php7.4 to php8.0 suddenly, for example, logging in/out causes redirection loops and the browser throws an error - ERR_TOO_MANY_REDIRECTS.

The problem occurs on unplugged cloudflare and plugged in. I checked also on localhost and the problem occurs also. 

On php7.4 everything works without any problem. I also add that I do not see any error logs. Now the forum is running PHP8.1 with the latest BETA, but I'll point out again that the error also appeared on an older version with php8.0.
*Access data in the customer panel updated.

Example from php7.4

Example from php8.0

Link to comment
Share on other sites

3 minutes ago, Marc Stridgen said:

Sorry, Im not sure I understand your response there. Im asking if you have tried moving to https? If you have using the server, you will need to also ensure the software is using https, otherwise you will indeed get redirects

https://invisioncommunity.com/4guides/advanced-options/configuration-options/using-ssl-https-r273/

Yes, I was doing that. Sorry for my English, but unfortunately it's not perfect (I don't even know if it's good 😅)

Link to comment
Share on other sites

Just now, Marc Stridgen said:

You would need to contact your hosting company to see what is redirecting there. I cannot see anything obviously wrong in your setup, and the fact it works in 2 other PHP versions would unfortunately indicate an issue on your hosting, rather than one with the software

Contacted, I'll say even better. I checked on 3 different web hosts. Additionally, on localhost, the problem starts with php8+ enabled. I would ask for a deeper verification, as I am slowly helpless myself.

Link to comment
Share on other sites

Just now, Marc Stridgen said:

Please could you disable 2 factor authentication on the ACP. I can then take a look to see if there is anything obvious in there, but on the face of it, something is redirecting you other than the software there

2FA disabled

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...