Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 28, 20222 yr 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
June 28, 20222 yr 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.
June 28, 20222 yr Community Expert 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/
June 28, 20222 yr 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 😅)
June 28, 20222 yr 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?
June 28, 20222 yr 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 June 28, 20222 yr by Paweł.
June 28, 20222 yr 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
June 28, 20222 yr 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.
June 28, 20222 yr 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
June 28, 20222 yr 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
June 28, 20222 yr Community Expert Solution There are a couple of things you can try there. Try disabling redis entirely, then testing again Try reverting all custom FURLs