Jump to content

Featured Replies

Posted

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

Solved by Marc

Go to solution
  • Author
 

Have you perhaps moved from http to https?

This is impossible, I've tried "debugging" it a million ways, it triggers loops every time.

  • Author
 

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 😅)

  • Community Expert
 

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

Your English is better than my Polish (some would say my English lol). Has this now resolved the issue?

  • Author
 

Your English is better than my Polish (some would say my English lol). Has this now resolved the issue?

No, the problem continues.

Edited by Paweł.

  • Community Expert

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

  • Author
 

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.

  • Community Expert

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

  • Author
 

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

  • Community Expert
  • Solution

There are a couple of things you can try there.

  1. Try disabling redis entirely, then testing again
  2. Try reverting all custom FURLs

Recently Browsing 0

  • No registered users viewing this page.