Upgraded to EE 4.2.0 from EE 3.5.15 and now can't login to the backend


2 Answers 2


Generally it happens in EE4 when you have your ID row in exp_members table but not in exp_member_data table. Can you make sure you have entry in both the table?

  • Seems to be a problem when running the site on local, was ok when I uploaded a copy onto a server. Not sure what problem was exactly
    – Peter
    Apr 18, 2018 at 15:13

Try adding these lines on the bottom of your system/user/config/config.php file:

$config['cookie_prefix'] = '';
$config['cookie_path'] = '';
$config['cookie_domain'] = '';
$config['user_session_type'] = 'c';
$config['admin_session_type'] = 's';
  • Nice one Max. This worked for me after a migration and an upgrade...
    – Brice
    Sep 3, 2021 at 6:48

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.