We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Cannot access Admin after site was moved to new server

How Do I?

vgc's avatar
vgc
45 posts
one year ago
vgc's avatar vgc

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.

       
Rob Allen's avatar
Rob Allen
3,105 posts
one year ago
Rob Allen's avatar Rob Allen

To help debug this can you supply the EE version number and PHP version.

At first guess I’d look at the PHP version which may be too new for the EE version.

       
Robin Sowell's avatar
Robin Sowell
13,255 posts
one year ago
Robin Sowell's avatar Robin Sowell

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.

       
vgc's avatar
vgc
45 posts
one year ago
vgc's avatar vgc

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

  • ajax_mailinglist_1.0
  • bjornbjorn-SEO-Lite-fae4205
  • firemail
  • Freeform_3.1.3
  • reelocate-master
  • snaptcha
  • Wygwam2.4.0.2

The front end works fine

As far as the upgrade I am really nervous about initiating something like that.

Thanks as always.

Steve

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.