Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Gauravk Posted September 27, 2022 Posted September 27, 2022 We have recently upgraded the server with PHP 8.0 and since then the site is consistently failing. Initially, there were 6 outdated plugins that we have removed and updated so that now compatibility scanner shows no issues. However, our site when PHP 8.0 is enabled still fails to load. We reported this issue to cPanel and they revert to the below diagnose that our site code still using the "magic quote runtime" deprecated function in index.php. Please help. Thanks in advance.
Randy Calvert Posted September 27, 2022 Posted September 27, 2022 One of two things is happening: Either your site has a 3rd party resource that is not compatible with PHP8. Try disabling all 3rd party resources and then trying PHP8 Your PHP8 install might not have the required modules. Switch to PHP8 and then download and run the compatibility checker to see if you’re missing a required module.
Gauravk Posted September 27, 2022 Author Posted September 27, 2022 2 minutes ago, Randy Calvert said: Either your site has a 3rd party resource that is not compatible with PHP8. Try disabling all 3rd party resources and then trying PHP8 In that case compatibility scanner should reflect that as it did for 6 older and outdated plugin, 4 we removed and 2 we have updated. Check below. 3 minutes ago, Randy Calvert said: Your PHP8 install might not have the required modules. Switch to PHP8 and then download and run the compatibility checker to see if you’re missing a required module. If you read cPanel support reply PHP 8.0 has been installed correctly. Present Before Before Updating
Randy Calvert Posted September 27, 2022 Posted September 27, 2022 Remember… PHP8 can be installed correctly but missing a module that IPB needs. Use the checker script to confirm. cPanel does not know what modules are required by IPB. So it would be in your interest to confirm it yourself. 😉 Also the 3rd party resource checker is new. It might miss something. It does not take a lot of effort to confirm by turning off all 3rd party resources. If you spend weeks pulling your hair on this for something simple, you will seriously hate yourself later. It’s an easy check that does not take much effort. It also has been the cause of problems for a LOT of people. So up to you if you take my advice. SeNioR- 1
Marc Posted September 27, 2022 Posted September 27, 2022 Having read through the response from cpanel there, it seems issues are being caused by items outside of our control. None of those are Invision Community 4 files/folders. initdata.php is from version 3.4 and can be removed. the /content/ folder may well also be from 3.4 unless you know differently. Back up that folder and then delete it
Gauravk Posted September 27, 2022 Author Posted September 27, 2022 Thanks @Marc Stridgen for meaningful and helpful assistance. Just before I remove it, I like to understand that a certain level of housekeeping is required after every major version change. And have I missed that action in past? Or IPS upgrade suppose to take care of that and in my case, it just got missed by chance.
Marc Posted September 27, 2022 Posted September 27, 2022 Its not something that would happen automatically. There has been instructions on how you can if you wish to remove them in the past, but its never really been nessesary. To be honest, Im not sure why that would actually be causing your site to crash, but if that is what your hosting company is coming back with, something is clearly connecting to them for some reason
Recommended Posts