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.

Unable to Authenticate with the Control Panel

May 12, 2011 12:58am

Subscribe [1]
  • #1 / May 12, 2011 12:58am

    Jason McCallister

    255 posts

    I have a local development site running ExpressionEngine 2.1.4 Public Beta.

    Everything has been stable until I made some changes on the sessions and security page. After changing the settings to allow only one session per user I am now locked out of my system. When I access the control panel I am greeted with the login and when I submit my information it attempts to authenticate and then returns me to the login page.

    I checked the sessions table in the database and see my entry from my login attempt. When I delete the entry and attempt to login the same thing happens. Yet it still creates an entry in the sessions table.

    Any help would be great, I don’t want to start this one over 😉

  • #2 / May 12, 2011 1:11pm

    Kevin Smith

    4784 posts

    Hi Jason—

    When you try to login, are you presented with an error that says someone is already logged in with this account? Or does it just return you to the login screen without any kind of message?

    Try clearing out the session from the DB as well as clearing your cookies before trying to login again. Could you post a screenshot of your Security and Session Preferences page so that I can try to duplicate the problem you’re having?

    Thanks,

    Kevin

  • #3 / May 13, 2011 2:44pm

    Kevin Smith

    4784 posts

    One thing I forgot to mention that might get you up and running immediate is to add these to your system/expressionengine/config/config.php file:

    $config['cookie_domain'] = "";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";
    $config['admin_session_type'] = "cs";
    $config['user_session_type'] = "c";
    $config['require_ip_for_login'] = "n";
    $config['require_ip_for_posting'] = "n"; 
    $config['allow_multi_logins'] = "y";

    If you can login to CP after this change, then try changing the variable $config[‘allow_multi_logins’] to value “n”. Let me know how your system behaves after those changes.

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

ExpressionEngine News!

#eecms, #events, #releases