I have a git repo with an expressionengine 2 site we are trying to test on newer versions of php so as to upgrade it. My colleague tried to set up letsencrypt on it last night and made some change to apache, and probably not to any code: I came in after him and restored from git so all the files are as before, but the apache config has changed, and possibly other things relating to ssl. Can anyone explain how I can step through the code to see where the error is happening, or if it's something else? I managed to step through until I got to codeigniter/core/CodeIgniter but from there I am not sure what is happening.. If you know what files are run in succession each time EE 2 loads, it'd save me a lot of time debugging and I'd be really grateful!

1 Answer 1


The first thing I would do is disable extensions in the config.php file. Then force on error reporting in the index.php . What version of php are you running? v2+ will fail on later versions pf php, primarily v7+ If the page loads with extensions disabled, then an extension is causing this. then disable each extension in the CP, remove the config variable, then turn them back on one by one until you get the WSOD, then you'll know which extension to address. To upgrade all the way to v5, you need to upgrade to v3 on a php5.3+ server, then move to a server with php7+ to finish the upgrade. It's not an easy process by any stretch.

  • Thank you very much! I hadn't suspected the extensions. I'll try that and update here.. Not sure how to set this as the answer.. It's php 5.4 at the moment. Looks like once we have figured out how to extract all relevant data we'll move to another cms.
    – alejandro
    Oct 3, 2019 at 12:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.