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 after changing dns

September 03, 2010 6:11pm

Subscribe [5]
  • #1 / Sep 03, 2010 6:11pm

    Farm.Co

    38 posts

    Hey guys,

    We published a site today at http://www.w-systems.com, and now we can’t login into the control panel. We reach the login screen, enter username/password, and after submitting we’re taken to the same login page.

    The site was built on a temporary url on enginehosting, and now our client changed the dns.
    We changed the site url on system preferences, and we used deeploy helper addon to update all other urls.

    I spotted the same issue on another thread: http://ellislab.com/forums/viewthread/164204/

    But the solution proposed there isn’t working.

    Any ideas?

    Best,

    Santiago.-

  • #2 / Sep 04, 2010 3:08pm

    Greg Salt

    3988 posts

    Hi Santiago,

    Have you cleared the cache files? If not, please FTP into the server and clear all files at /system/cache apart from index.html and any .htaccess file that is in there.

    Cheers

    Greg

  • #3 / Sep 07, 2010 8:28am

    Farm.Co

    38 posts

    Hi Greg,

    I just logged into the ftp and removed all files, but results are still the same.
    I can still login on the old test domain, though. If you think it won’t do any harm to keep logging in with the old url, we can keep things this way.

    S.-

  • #4 / Sep 07, 2010 8:29am

    Farm.Co

    38 posts

    Update to that last sentence: It actually does some harm. I can login from the old url to make changes on the backend, but the site users won’t be able to login from the frontend to access some specific sections of the site, which is extremely important.

    I’m open to any suggestions. Thanks!

  • #5 / Sep 07, 2010 3:38pm

    Brandon Jones

    5500 posts

    creativemediafarm,

    Try forcing the control panel to use sessions only by adding this line to your config.php:

    $config['admin_session_type'] = "s";

    Does that let you in?

  • #6 / Sep 07, 2010 4:14pm

    Farm.Co

    38 posts

    Thanks for jumping in Brandon.
    I tried your code line and it doesn’t fix the issue. Neither does the value “cs”, which I tried according to the solution posted here http://ellislab.com/forums/viewthread/164204/

  • #7 / Sep 08, 2010 3:20am

    John Henry Donovan

    12339 posts

    creativemediafarm,

    You have probably tried this but clear your browser cache and cookies or temporarily try a different browser and see if that lets you in.

    Also make sure you are logging in at http://www.w-systems.com and not just http://w-systems.com

    This is EE1.x right? So the syntax of your config overrides is slightly different.$config is $conf
    Try the following and now see if you are let in

    $conf['admin_session_type'] = "cs";
    $conf['cookie_domain'] = "";
  • #8 / Sep 08, 2010 1:51pm

    Farm.Co

    38 posts

    It worked!
    Thanks John!

    Feel free to close this one.

    Best,

    Santiago.-

  • #9 / Sep 08, 2010 3:17pm

    Ingmar

    29245 posts

    Glad to see you’re all set. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases