ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Login redirects to itself with no errors reported

September 25, 2012 9:53am

Subscribe [1]
  • #1 / Sep 25, 2012 9:53am

    Russ Back

    142 posts

    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

  • #2 / Sep 25, 2012 10:02am

    Russ Back

    142 posts

    I should add that this only ever affects the cp login - front end login never has any issues.

  • #3 / Sep 25, 2012 5:30pm

    Dan Decker

    7338 posts

    Hi Russ,

    We see this often enough, and it is frustrating.

    Symptoms vary from install to install but it seems related to cookies. Clearing your ExpressionEngine related cookies should prevent the refresh.

    What do you have for Cookie Settings in the Control Panel?

    Cheers,

  • #4 / Sep 25, 2012 6:27pm

    Russ Back

    142 posts

    Hey Dan

    There must be a way to debug this surely, or at least report the issue to the user? Users are left without the ability to login and administer sites.

    I completely reset Chrome back including ALL cookies and still no joy, so there must be something else going on?

    Cookie settings are all blank (domain, path and prefix)

  • #5 / Sep 26, 2012 6:17pm

    Kevin Smith

    4784 posts

    Hey Russ,

    Let’s see what we can find looking at this first-hand. Be on the lookout for an email from me!

  • #6 / Sep 27, 2012 2:30pm

    Kevin Smith

    4784 posts

    Hey Russ, just checking to make sure you got my email. Do you need me to send it again?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases