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 stopped working

February 02, 2011 5:24am

Subscribe [6]
  • #1 / Feb 02, 2011 5:24am

    barthoub

    63 posts

    I was working on a new website, but suddenly I cannot login anymore.
    I don’t get any warning, the screen just returns to the login page after trying to login.

    The ‘forgot your passowrd’ function does not work either.

    The frontend site is up and running, I don’t see any problems there.

  • #2 / Feb 02, 2011 4:22pm

    Sue Crocker

    26054 posts

    Hi, bartblau.

    Can you tell us which version/build of EE2.x you’re using? See EEWiki:// HowTo Determine My EE Version

    Have you tried clearing out your cookies and trying again?

  • #3 / Feb 03, 2011 8:17am

    barthoub

    63 posts

    Hi Sue,

    We’re running 2.1.3, cleared the cookies and the cache but no result.

    Any other guesses? I can give you my login and ftp access if you would like.

  • #4 / Feb 04, 2011 3:33am

    John Henry Donovan

    12339 posts

    bartblau,

    Can you try adding the following to your config.php and see if you then are allowed login

    $config['cookie_domain'] = "";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";
    $config['admin_session_type'] = "c";
  • #5 / Feb 04, 2011 3:46am

    barthoub

    63 posts

    This does not make any difference.

    When I try to login, the page refreshes and no message is displayed at all.

    Is there any way to make a new superadmin-login?
    This is an urgent problem as I can not change anything on the site.

  • #6 / Feb 04, 2011 3:49am

    John Henry Donovan

    12339 posts

    bartblau,

    Can you confirm that you are using the correct URL as in if you installed the site with wwww in the URL that you are logging into the the www url and not without

    Can you try a different browser to test it

  • #7 / Feb 04, 2011 4:02am

    barthoub

    63 posts

    Hi John,

    I did not install with www. and i’m not trying to login through www.

    The url is http://ergo-advice.accounts.e-production.be

    I did work for several weeks, it just stopped working. As far as I can see, there is nothing wrong with the config file.

    Other browser give the same thing. My client who belongs to another user group cannot login either.

  • #8 / Feb 04, 2011 4:06am

    John Henry Donovan

    12339 posts

    Can you temporarily disable your htaccess and see if that lets you in

  • #9 / Feb 04, 2011 4:09am

    barthoub

    63 posts

    No difference…

  • #10 / Feb 04, 2011 4:12am

    John Henry Donovan

    12339 posts

    Please check your email

  • #11 / Feb 04, 2011 5:07am

    John Henry Donovan

    12339 posts

    bartblau,

    Your config.php is pretty complicated.
    You even have 2 instances of the cp_url config item.

    I would test by stripping that right back to a standard which would be the following

    /*
    |--------------------------------------------------------------------------
    | ExpressionEngine Config Items
    |--------------------------------------------------------------------------
    |
    | The following items are for use with ExpressionEngine.  The rest of
    | the config items are for use with CodeIgniter.
    |
    */
    
    $config['app_version'] = '213';
    $config['install_lock'] = "";
    $config['license_number'] = "";
    $config['debug'] = "1";
    $config['cp_url'] = "http://www.yoursite.com/system/index.php";
    $config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
    $config['is_system_on'] = "y";
    $config['site_label'] = '213';
    $config['allow_extensions'] = "y";
    // END EE config items

    I also found this in your config

    $config['site_pages'] = "Array";

    Which looks like you fell foul of a recent bug in Structure see here

  • #12 / Feb 04, 2011 5:17am

    barthoub

    63 posts

    Hi John,

    Did that right now, did not change anything for the login.
    Could you check this too?

  • #13 / Feb 04, 2011 5:23am

    John Henry Donovan

    12339 posts

    bartblau,

    So it’s obvious you have a staging-production setup here. Can you explain that a bit more. It would be good to have the full story. At the moment any path or URL in the CP is referring to your local server. Is that right?

  • #14 / Feb 04, 2011 5:34am

    barthoub

    63 posts

    Hi John,

    This is the fourth 2.x site I set live in this way. Before I did this with over 20 1.x sites.

    The only thing I change when I get from my local server to the remote server is:

    - the file upload folders
    - the paths in ed_imageresizer

    - comment this:

    //$conf['submap'] = "ergo-advice";
    //$config['site_url'] = "http://${_SERVER['HTTP_HOST']}/${conf['submap']}/";  
    //$config['server_path'] = "${_SERVER['DOCUMENT_ROOT']}/${conf['submap']}";

    - uncomment this:

    $config['site_url'] = "http://${_SERVER['HTTP_HOST']}/";  
    $config['server_path'] = "${_SERVER['DOCUMENT_ROOT']}";

    This went well four times.
    It went well for this site too, but suddenly after two weeks I could not login anymore.

  • #15 / Feb 04, 2011 6:55am

    barthoub

    63 posts

    Maybe the fastest way to resolve this issue is to re-install expressionengine as a whole?

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

ExpressionEngine News!

#eecms, #events, #releases