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 problems

May 17, 2011 3:10pm

Subscribe [2]
  • #1 / May 17, 2011 3:10pm

    FCB IT

    4 posts

    This question may be related to a resolved thread.

    Hi, I have a client that has at least two sites that experiencing a problem with logins. It appears to be browser specific, where a user logging in from IE7-8 or Chrome will be instantly redirected back to the login page. We’re at a loss. Halp!

  • #2 / May 18, 2011 1:57am

    John Henry Donovan

    12339 posts

    Hi rjt35,

    Welcome to the forums 😊

    Does your client have both these sites under MSM?

    What version and build of EE are you using?

    Can you add the following to your config.php file and try again please?

    $config['cookie_domain'] = "";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";
    $config['admin_session_type'] = "c";
    $config['user_session_type'] = "c";
    $config['require_ip_for_login'] = "n";
  • #3 / May 18, 2011 2:18am

    FCB IT

    4 posts

    Hey John,

    Quick correction on my part. One of them allows chrome to login, but they both can’t be logged in from IE8, while the other doesn’t allow chrome.

    I added those settings to my config.php, but no change.

    Both are running MSM, and are on 2.1.3 build 20101220.

  • #4 / May 18, 2011 5:21am

    FCB IT

    4 posts

    With some fiddling I found that my MSM sites that have hard coded site_name’s don’t have this issue. I can use their masked cp pages to login fine. I then tested this further by hard coding

    $assign_to_config['site_name'] = 'default_site';

    into my main control panel index.php file and I can login fine after that, with the side effect that the site drop down won’t function.

    So I guess the site_name isn’t being dynamically set? Not sure if this is helpful, but atleast I have some sort of workaround. Should I upgrade things?

  • #5 / May 19, 2011 6:43am

    John Henry Donovan

    12339 posts

    Dan,

    Can you explain your set-up in a bit more detail please?

    You have 2 MSM sites?
    One or both have a masked control panel?
    What congi options are set in these admin.php fields presently?
    What is in your config presently?(hide any sensitive info)

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

ExpressionEngine News!

#eecms, #events, #releases