Hey guys
I’ve been grappling with this on different servers and sites for as long as I can remember with EE2. It’s intermittent but basically when submitting a valid login, the login form displays again with no errors displayed. This tends to happen when a server is restarted for any reason, that’s the only thing I can find that is common.
I’ve tried setting require_ip_for_login to ‘n’, setting session types to ‘c’ and ‘s’, clearing browser and EE cache, clearing out the session and logged in users tables, but nothing gives. even when i dump the table out to a different server I get the same.
When I look into the code I can see that the authenticate() method of the login controller runs through to the end and redirects to the CP homepage, however it never gets there - when trying to echo something from the start of the index() of the homepage controller, nothing happens, so it must be redirecting somewhere else. Where can I look to debug this further? I can’t see how the redirect from login to homepage controllers could be intercepted by anything else.
This happens on all versions of EE 2 that I’ve worked on. Sounds drastic but that’s what I’ve found.
Thanks