Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
kcmesca Posted January 27, 2023 Posted January 27, 2023 Hello, I want to upgrede to latest version however when I select php8 or above from my hosting I cant access forum or admin panel. It gives only balnk pages. How can I fix that? I have another forum I succesfully upgrade with php8 on the same server but this installation gives me a problem.
Ryan Ashbrook Posted January 27, 2023 Posted January 27, 2023 While on PHP8, upload this file and navigate to it in your browser and see what it says. Alternatively, try disabling all third party applications and plugins and try switching again. One of those may not be compatible with PHP8.
Randy Calvert Posted January 27, 2023 Posted January 27, 2023 The newer versions of IPB don’t have older support for PHP7. If you’ve not already upgraded to a version of IPB that supports PHP8, you’ll need to do a manual upgrade from the client area.
kcmesca Posted January 28, 2023 Author Posted January 28, 2023 It's currently 4.7 but when I switch to php 8 to upgrade it goes blank. 9 hours ago, Ryan Ashbrook said: While on PHP8, upload this file and navigate to it in your browser and see what it says. Alternatively, try disabling all third party applications and plugins and try switching again. One of those may not be compatible with PHP8. All green checked and ipb version is 4.7. Couldnt detect any problems. Is there a safe mode I can activate. I suspect if a plugin doenst work with ipb 8 and causing the problem. Because there is another ipb installed with php8 on the same server. 7 hours ago, Randy Calvert said: The newer versions of IPB don’t have older support for PHP7. If you’ve not already upgraded to a version of IPB that supports PHP8, you’ll need to do a manual upgrade from the client area. I can try that but I'm affraid if I can stuck with a blank page after replacing files etc from ftp
opentype Posted January 28, 2023 Posted January 28, 2023 41 minutes ago, kcmesca said: Is there a safe mode I can activate. Yes, it is called Recovery Mode, as explained here.
kcmesca Posted January 28, 2023 Author Posted January 28, 2023 Thank you for your help. I'm able to login now but I cant do anything in the admin panel. It keeps saying You dont have permission for that. Remove recovery mode.
opentype Posted January 28, 2023 Posted January 28, 2023 That’s what you need to do. Remove the line again.
Marc Posted January 28, 2023 Posted January 28, 2023 The intention of recovery mode, just so you understand, is that it allows you to disable the running of any external code. So you would be adding the recovery mode constant to say "Kill anything running that isnt default, and let me log in. And when I log in, disable all 3rd party so when I remove recovery mode, they are all disabled" So Add recovery mode constant Log in and allow it to disable everything remove recovery mode You should then have access to your site again. You would then be looking for what the cause was. You can check in system logs which may give you an indication as to which broke your site, and start ensuring items are updated to the latest releases that have been sent out by the authors. AlexJ, Alexandru and Randy Calvert 3
Alexandru Posted January 29, 2023 Posted January 29, 2023 And 1 more thing, I agree with all the members above who explained you and, yes. After you have updated your version and you are required to move to php8 because php 7.4 is no longer supported, I would recommend you to disable all plugins and applications (Third Party Ones) because that might be the reason with your forum won't work.
Randy Calvert Posted January 29, 2023 Posted January 29, 2023 If he’s used recovery mode, it will have disabled all plugins and applications. 🙂 Alexandru 1
Alexandru Posted January 29, 2023 Posted January 29, 2023 19 hours ago, Marc Stridgen said: "Kill anything running that isnt default, and let me log in. And when I log in, disable all 3rd party so when I remove recovery mode, they are all disabled" Didn't see this one 😄 @Randy Calvertthanks for letting me know! ❤️
kcmesca Posted January 29, 2023 Author Posted January 29, 2023 On recovery mode it didn't allow to make any changes. I couldnt disable apps etc it said you dont have permission to do that. I rolled backt to php 7.4 and disabled plugins one by one and switched back to php8 each time. It was time consuming but It helped me to fix to problem. Im root admin but interestingly recovery mode didnt allow me to do anything in admin panel. So didnt help me much other than proofing a plugin is causing the problem.
Randy Calvert Posted January 29, 2023 Posted January 29, 2023 (edited) There is no “in” recovery mode. Recovery mode when enabled disables all applications when you login. You have to immediately turn it back off to do anything else in ACP. All you needed to do was remove the value from constants.php when you saw that notice. It’s intended to simply disable everything so you’re running on as close to a base install as possible. It is not like windows where you’re booted into a separate enviornment. Edited January 29, 2023 by Randy Calvert
Recommended Posts