Admin loigin needs entering twice [solved]

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
howey
Forum Members
Forum Members
Posts: 158
Joined: Fri Sep 14, 2007 1:05 pm

Admin loigin needs entering twice [solved]

Post 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.
Last edited by howey on Mon Jan 18, 2016 4:43 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Admin loigin needs entering twice

Post by Rolf »

Should be fixed in new release
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: Admin loigin needs entering twice [solved]

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”