Pawel. Posted June 28, 2022 Posted June 28, 2022 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 SeNioR- 1
Pawel. Posted June 28, 2022 Author Posted June 28, 2022 5 minutes ago, Marc Stridgen said: Have you perhaps moved from http to https? This is impossible, I've tried "debugging" it a million ways, it triggers loops every time.
Marc Posted June 28, 2022 Posted June 28, 2022 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/
Pawel. Posted June 28, 2022 Author Posted June 28, 2022 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 😅)
Marc Posted June 28, 2022 Posted June 28, 2022 19 minutes ago, Paweł. said: 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?
Pawel. Posted June 28, 2022 Author Posted June 28, 2022 (edited) 1 minute ago, Marc Stridgen said: Your English is better than my Polish (some would say my English lol). Has this now resolved the issue? No, the problem continues. Edited June 28, 2022 by Paweł.
Marc Posted June 28, 2022 Posted June 28, 2022 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
Pawel. Posted June 28, 2022 Author Posted June 28, 2022 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.
Marc Posted June 28, 2022 Posted June 28, 2022 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
Pawel. Posted June 28, 2022 Author Posted June 28, 2022 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
Solution Marc Posted June 28, 2022 Solution Posted June 28, 2022 There are a couple of things you can try there. Try disabling redis entirely, then testing again Try reverting all custom FURLs SeNioR- and Pawel. 2
Recommended Posts