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.

Can't login to admin control panel.

September 25, 2012 1:21pm

Subscribe [1]
  • #1 / Sep 25, 2012 1:21pm

    dtdtdt

    4 posts

    Steps to reproduce:

    1. I go to /admin.php I get redirected to /admin.php?S=0&D=cp&C=login
    2. I enter my credentials and click “login”
    3. The page appears to reload the login form with no error message.


    The interesting part is what happens behind the scenes (via the network inspector in chrome dev tools) between steps 2 & 3:

    1. A POST is made to /admin.php?S=0&D=cp&C=login&M=authenticate containing my credentials, which results in a 302 redirect to…
    2. /admin.php?S=b04a7c1387f90527ef643ffca94f92cc24d13ea4&D=cp&C=homepage, which appears to be how EE logs a user in and redirects to the CP homepage, but then that page does a 302 redirect back to…
    3. /admin.php?S=0&D=cp&C=login - using a “location” response header.


    It is important to note that I AM logged in, but the login form just doesn’t take me to the homepage - OR, it takes me to the homepage but instantly does a 302 redirect back to the login form.

    This is VERY frustrating.  Any help is GREATLY appreciated.  Thanks! -Dan

  • #2 / Sep 25, 2012 3:24pm

    dtdtdt

    4 posts

    UPDATE: I think I found the culprit!

    Disabling secure forms seems to have fixed the issue.

    We run EE on a pool of DBs - somethiing that EE should support, but does not - and I have a feeling that the XIDs were not staying in sync enough for secure forms to work properly.

  • #3 / Sep 26, 2012 11:04am

    Dan Decker

    7338 posts

    Hey Dan - (dig the name!)

    We run EE on a pool of DBs - somethiing that EE should support, but does not - and I have a feeling that the XIDs were not staying in sync enough for secure forms to work properly.

    ExpressionEngine runs fine in front of a cluster, as long as the cluster is presented as a single instance. If your setup is something you feel is worthwhile, please submit a Feature Request.

    I’m glad to see you have everything sorted.

    If you need anything else, please let us know!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases