ExpressionEngine® Answers Asked by segovius on October 2, 2021
I have some local sites for dev on my Mac that are the latest version of EE2. Not updated for years and clients for various reasons don’t want to upgrade to EE5. Fair enough.
Now they want some changes but when I go to access the sites I get a blank page – this is because I’ve upgraded to MacOS Mojave since last accessing those EE2 sites and it is running PHP Version 7.1.33.
I assume this is the issue. All EE5 sites work fine but I have a feeling that EE2 should work with Php7 – maybe is an add-on issue?
Any suggestions for troubleshooting?
Even though your EE2 installs (that are 2.11.9
) should be PHP 7.1
compatible, that doesn't mean that your add-on's are. I know @JCOGS recommended renaming your third_party
as a way to test, but I don't believe that is the best method for testing a base install with all third party software disabled.
Make sure that you have debug in your index.php
set to 1. Next, in your config.php
file, turn extensions off:
https://docs.expressionengine.com/v2/general/system_configuration_overrides.html#allow-extensions
$config['allow_extensions'] = 'n';
Now, I would recommend renaming your third_party
folder, but I would also recommend backing up your exp_modules
table, and then truncating it. I believe EE2 also had an exp_accesories
table as well, do the same there. All of these things combined should set your EE install to actually believe their are no modules, extension, plugins, or accessories installed.
Note that if you are still receiving WSOD, you have an issue with error reporting. Regardless of other issues, unless you find something in the Apache/PHP error logs, you should be receiving an error of some sort.
Answered by jrothafer on October 2, 2021
It depends what version of EE2 you are running - only the final few versions of EE2 support php7. The most compatible version (tested for php7.1) is the final version EE2.11.9.
You may also need to update the add-ons to work with php7: what is required will depend on what add-ons and whether they were still being supported when the transition from php5 to php7 took place.
The WSOD is one of the most annoying aspects of the way EE responds to such issues, and there are some fairly well developed work-arounds - for example simply renaming your third-party add-ons folder to something else to prevent EE from trying to load them so you can work out the issues with getting EE itself working with php7, and then add the add-ons back one at a time so you can work out which ones are causing the WSOD.
HTH
Answered by JCOGS Design on October 2, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP