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


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?

| improve this answer | |
  • 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 '18 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';
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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