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.

RESOLVED: Changed cookie settings and now can't log into control panel

August 13, 2010 1:06pm

Subscribe [4]
  • #1 / Aug 13, 2010 1:06pm

    sbh_webmaster

    1 posts

    PROBLEM

    I can access the Control Panel login, but after entering my username and password, which I know are correct, I’m redirected to the same page.

    This started to happen after I changed the cookie settings on the Security and Session Preferences page to both use “cookies only”. I also added a domain for the cookies.

    I’ve cleared the cache and settings in Firefox. I’ve also tried Safari, Opera and a PC running IE and Firefox.

    I just updated to EE 2.1 earlier this week from EE 2.0 and had no problems after the update. It must have something to do with the cookies.

    The problem in this post (http://ellislab.com/forums/viewthread/71321/#352123) is similar to mine, but the solution doesn’t work. I think it only applies to EE 1.x.

    How do I change the cookie settings without logging into the control panel?


    SOLUTION

    I added the following lines to the config file and was able to login:

    $config['admin_session_type'] = "cs";
    $config['cookie_domain'] = "";
  • #2 / Aug 13, 2010 8:38pm

    Brandon Jones

    5500 posts

    sbh_webmaster, thanks for the update. Just to confirm, everything’s working still?

  • #3 / Aug 28, 2010 3:07pm

    ccarter

    9 posts

    I also had this problem and the solution mentioned above worked for me. Thank you.

  • #4 / Aug 30, 2010 3:39am

    John Henry Donovan

    12339 posts

    Seeing as everybody is happy I am closing this one out. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases