Page 1 of 1

Admin loigin needs entering twice [solved]

Posted: Sun Jan 17, 2016 2:32 pm
by howey
Hi, since I have started using CMS MS 2+ I have noticed that I have to enter my admin login details twice in order to access the admin area. There doesn't seem to be any other problems. I was wondering if anybody else was experiencing this.

I am using

Code: Select all


----------------------------------------------

Cms Version: 2.0.1.1

Installed Modules:

    AdminSearch: 1.0
    CMSContentManager: 1.0.1
    DesignManager: 1.0.1
    FileManager: 1.5.1
    MicroTiny: 2.0
    ModuleManager: 2.0
    Navigator: 1.0.1
    News: 2.50.1
    Search: 1.50.1


Config Information:

    php_memory_limit:
    max_upload_size: 32000000
    url_rewriting: none
    page_extension:
    query_var: page
    auto_alias_content: true
    locale:
    set_names: true
    timezone: Europe/London
    permissive_smarty: false


Php Information:

    phpversion: 5.5.26
    md5_function: On (True)
    json_function: On (True)
    gd_version: 2
    tempnam_function: On (True)
    magic_quotes_runtime: Off (False)
    E_STRICT: 0
    E_DEPRECATED: 0
    test_file_timedifference:
    test_db_timedifference:
    memory_limit: 128M
    max_execution_time: 120
    output_buffering: On
    file_uploads: On (True)
    post_max_size: 32M
    upload_max_filesize: 32M
    session_save_path: /Applications/MAMP/tmp/php (0775)
    session_use_cookies: On (True)
    xml_function: On (True)
    xmlreader_class: On (True)


Performance Information:

    allow_browser_cache: Off (False)
    browser_cache_expiry: 60
    php_opcache: Off (False)
    smarty_cache: Off (False)
    smarty_compilecheck: Off (False)
    smarty_cache_udt: Off (False)
    auto_clear_cache_age: On (True)

Server Information:

    Server Api: apache2handler
    Server Db Type: MySQL (mysql)
    Server Db Version: 5.5.42
    Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
    Server Time Diff: No file system time difference found


----------------------------------------------
 
This installation is on a local MAMP installation, but I seem to get the same double login happening on live server installations.

Any indications if this is normal, or a symptom of other problems.

Re: Admin loigin needs entering twice

Posted: Sun Jan 17, 2016 3:58 pm
by Rolf
Should be fixed in new release

Re: Admin loigin needs entering twice [solved]

Posted: Thu Jan 21, 2016 5:18 am
by hexdj
I had the same issue and it seemed to be related to enabling https in my front end pages and in my admin, with the following config.php variables: ['ssl_url'] and ['admin_url']

Not sure this will help everyone but I found a work around:
add no https options in config.php
and in your /admin folder add a .htaccess file with the following:

Code: Select all

RewriteEngine On
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
This will force https for your admin section and you can still enable https for individual pages in your CMS settings.

This works for me in 2.1.1