EEConf 2024 is around the corner! EEConf 2024
My client’s site was moved to a new server by the web host.
When we try to access the admin, we are getting the error
An Error Was Encountered
Unable to load the requested class: Email
The front end comes up OK.
This is an older version of EE.
I tried looking through the config files to see if there is anything that might need updating but couldn’t find anything except pointing the site to the new server.
Oops- looks like the reply came in via email:
EE v 2.0 PHP 5.2
So EE 2.0 is ancient, but it’s not clear if it’s ok on php 5.2, which is similarly ancient. EE v2 php requirements state PHP 5.3.10 and I can’t spot where the version requirement changed in the v2 changelog, but there’s at least a hint it might have worked on 5.2. Still- can you have them bump it to 5.3? And honestly, I would at least try upgrading to the latest EE v2 while you’re in there working on it and kick php to 5.6 or 7.0.
That said, it’s a really weird error- are you sure there were no files lost in the move? It’s saying it can’t load the email class, which is…. probably in system/expressionengine/modules/email/mod.email.php but also possibly in some third party add-on.
I think you might be hitting some php version issues, but if so, I’m not sure that would be the reason for the error.
Hi Robin!
So nice to touch base with you again, you have helped me many times over the years!
So, system/expressionengine/modules/email/mod.email.php is still there.
And, it seems it is ExpressionEngine v2.4.0
I tried the PHP 5.3 with no luck. I am wondering if there us a PHP extension I need that is not loading.
Here are the addons I used
The front end works fine
As far as the upgrade I am really nervous about initiating something like that.
Thanks as always.
Steve
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.