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 not working for my clients

February 01, 2011 4:14am

Subscribe [3]
  • #1 / Feb 01, 2011 4:14am

    xenowebdev

    34 posts

    This question may be related to a resolved thread.

    Hey guys,
    I’ve read through a load of the posts regarding this issue but none of them seem to be a fix for me.

    My site is being hosted in New Zealand and my client is trying to log in from Australia. I can log in fine using all credentials, mine as SuperAdmin and theirs as ContentAdmin.

    I’m running EE1.7.0.
    Cookie settings in the admin remain untouched.
    I have tried changing the config file (as per the threads) to set the ‘admin_session_type’ to “s” and to “c”.

    When I made the config changes, I myself could not log in - I got the same redirect back to the log in page. So I reset the config file. I’ve cleared all caches, cleared session cookies and tried in 5 different browsers on both Mac and PC - I get no issues.

    My client has shown me via skype tonight the issue in Safari, Firefox and IE8 - he cannot log in at all.

    I think my client has run out of patience on this one so I don’t want to push them for any more testing without a solid answer.

    Please can I have some help on this.

  • #2 / Feb 01, 2011 4:33pm

    Ingmar

    29245 posts

    Please try adding this to your config.php file:

    $config['cookie_domain'] = ".example.com";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";
    $config['admin_session_type'] = "c";
    $config['user_session_type'] = "c";
    $config['require_ip_for_login'] = "n";
    $config['require_ip_for_posting'] = "n"; 
    $config['secure_forms'] = "n";

    See if that changes anything.

  • #3 / Feb 02, 2011 2:23am

    xenowebdev

    34 posts

    Thanks Ingmar, that seemed to do the trick. 😊
    Any idea on what might have been causing the issue?

    Thanks again.

  • #4 / Feb 02, 2011 5:34am

    Ingmar

    29245 posts

    We took a kind of shotgun-approach here, trying everything at once. In order to properly troubleshoot this you’d need to take away one line at a time and see where it breaks. My guess is either “secure forms” or “require IP for login”. These would probably network issues (firewall, perhaps, something like that) and might not be easy to rectify. In which case I’d recommend to keep the override in config.php as part of a permanent solution. Makes sense?

  • #5 / Feb 02, 2011 5:41am

    xenowebdev

    34 posts

    Hey Ingmar,
    Thanks for the reply and yes, makes sense.
    It’s working and client’s happy - that’s what counts.

    Cheers

  • #6 / Feb 02, 2011 4:21pm

    Ingmar

    29245 posts

    Very glad to hear that. Please post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases