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.

Problem with log in and entry order for comments and weblog entries

May 13, 2010 10:43am

Subscribe [5]
  • #1 / May 13, 2010 10:43am

    Rusty T.

    42 posts

    I’m currently using 1.6.8 Build:  20091202. I had a failed 2.0.1 install, which left several 2.0 files mixed into my database and in my system files. EngineHosting has also recently migrated me to new servers. After that, I had another failed 2.0.1 install, which corrupted my databases and resulted in me rolling back to a backed up version.

    But that’s not the issue I’m trying to resolve right now. Over the last couple weeks I could only be logged into either my site or the Discussion Forums or the Control Panel, and am no longer able to browse between the mix after logging into one.

    Also, when posting multiple weblog entries in a row, when I click submit I am redirected to the log in screen for the Control Panel only to find that my entry was not submitted.

    The second issue, I have been noticing some comments that are being submitted at a later time are posting BEFORE other comments submitted at an earlier time. I’ve had a couple members who’ve submitted corrections to their original comments only to have the correction appear before the actual comment—sometime minutes before hand.

    In a similar issue, weblog entries are behaving in the same manner. When a specific time isn’t entered (either in the future or past) and the automatically generated ‘current time’ is used, sometimes it enters the entry at that time, sometimes it reverts to several minutes before hand.

    Any help would be greatly appreciated. After this gets resolved I’ll be coming back to work on my 2.0 issues.

    My Control Panel Session Type is currently set to ‘session id only’ and the User Session Type I changed today from ‘cookies and session id’ to ‘session id only.’ That change has not made a difference in the above listed issues—not that I can tell.

  • #2 / May 13, 2010 10:51am

    Sue Crocker

    26054 posts

    Rusty, you shouldn’t need to be using session id only on EngineHosting. But it sounds like there is quite a lot going on with your install. Did you have a good backup before you tried to upgrade to 2.01?

  • #3 / May 13, 2010 11:11am

    Rusty T.

    42 posts

    Originally, yes. After the first failed install though, I didn’t roll back to the backup. Weeks later, after being moved to the new EH servers I had another backup that had the mix of 1.6.8 and 2.0.1 files in it. During that failed install attempt, I rolled back to that backup (not wanting to loose weeks worth of weblog entries, comments and members).

  • #4 / May 13, 2010 11:14am

    Rusty T.

    42 posts

    you shouldn’t need to be using session id only on EngineHosting

    For the Control Panel Session Type I have three options, ‘cookies,’ ‘session id’ and both, but the only one I can select and keep is ‘session id.’

  • #5 / May 13, 2010 11:47am

    Rusty T.

    42 posts

    Could the order of comments and entries be related to something wrong with the time settings?

    I just added a couple new weblog entries and their order was messed up. Looking at the entry time, one was off by an hour ahead, another was entered at the correct current time and another that was off by about 15 minutes before the correct time (they showed up on my website as entry 3, 1, 2). This is without me changing the entry time. When I went to the edit tab in the control panel to correct their order, I clicked the ‘today’ link in the entry date, the time entered was not consistently being entered as the correct time.

  • #6 / May 13, 2010 4:50pm

    Rusty T.

    42 posts

    Alright, the order of the entries and comments seems to be time related… either from the entry or comment being posted at the correct time, an hour fast or an hour slow. My previous comment about one entry being off by about 15 minutes was incorrect, it too was off by an hour.

    Does anyone know what would cause the time settings to jump around like this, and what to do to fix it?

  • #7 / May 13, 2010 5:02pm

    Ingmar

    29245 posts

    For the Control Panel Session Type I have three options, ‘cookies,’ ‘session id’ and both, but the only one I can select and keep is ‘session id.’

    Make sure your config.php file is writable.

  • #8 / May 13, 2010 11:38pm

    Rusty T.

    42 posts

    The config.php file is writeable.

  • #9 / May 14, 2010 2:56am

    John Henry Donovan

    12339 posts

    Rusty T.,

    What is in your config.php. Can you post it here please. Make sure to hide any sensitive information.

    Over the last couple weeks I could only be logged into either my site or the Discussion Forums or the Control Panel, and am no longer able to browse between the mix after logging into one.

    May there be a chance you are using www in some places and not in others. This would cause behaviour similar to this. If you log in using www in your domain you will not be logged into the same domain without the www.

  • #10 / May 14, 2010 9:30am

    Rusty T.

    42 posts

    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['admin_session_type'] = "s";
    $conf['app_version'] = "168";
    $conf['license_number'] = "####";
    $conf['debug'] = "1";
    $conf['install_lock'] = "1";
    $conf['db_hostname'] = "####";
    $conf['db_username'] = "####";
    $conf['db_password'] = "####";
    $conf['db_name'] = "####";
    $conf['db_type'] = "mysql";
    $conf['db_prefix'] = "exp";
    $conf['db_conntype'] = "0";
    $conf['enable_db_caching'] = "n";
    $conf['enable_sql_caching'] = "n";
    $conf['system_folder'] = "system";
    $conf['cp_url'] = "http://delusionalduck.com/system/index.php";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['forum_is_installed'] = "y";
    $conf['multiple_sites_enabled'] = "n";
    $conf['cookie_prefix'] = "";
    $conf['remove_close_all_button'] = "y";
    $conf['banned_ips'] = "59.95.71.109|59.95.71.11|117.197.1.209|112.202.15.12|119.155.1.52|76.106.85.*|87.118.100.*|12.103.19.36 |12.99.199.102 |24.15.81.180 |69.136.211.174 |70.164.68.2 |70.196.240.249 |70.218.156.243 |70.222.69.7 |75.202.112.210|75.250.32.101 |76.106.70.221 |76.106.71.71|76.106.74.8 |76.106.75.219 |75.249.121.99|";
    ?>
  • #11 / May 14, 2010 9:37am

    Rusty T.

    42 posts

    May there be a chance you are using www in some places and not in others. This would cause behaviour similar to this. If you log in using www in your domain you will not be logged into the same domain without the www.

    The links to each are either bookmarked or links on my site and haven’t changed. And other users of my site have reported the same issue.

  • #12 / May 14, 2010 9:39am

    Sue Crocker

    26054 posts

    $conf['admin_session_type'] = "s";

    This is the reason you can’t change the admin session type. It’s because items in the config.php trump settings you make from inside of EE. You can either remove this setting, or change it to “c” for cookies only.

    Does that help?

  • #13 / May 14, 2010 9:40am

    Rusty T.

    42 posts

    I’ll give it a shot.

  • #14 / May 14, 2010 9:43am

    Rusty T.

    42 posts

    That seems to have resolved the issue with being logged out when ever I switched from site to CP to DF.

    Any thoughts on the time issue/order of comments and entries?

  • #15 / May 14, 2010 7:23pm

    Brandon Jones

    5500 posts

    Have you verified your server localization settings, and also those under My Account?

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

ExpressionEngine News!

#eecms, #events, #releases