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.

Cannot Login to CP after moving EE to new server

March 07, 2014 2:19pm

Subscribe [2]
  • #1 / Mar 07, 2014 2:19pm

    RickRobinson

    35 posts

    At the recommendation of machinehosting.com, I’ve purchased a new hosting service and they have kindly migrated all my files to the new server. I’ve followed the direction on migrating EE to a new server and am able to view the site at the new location. However, I cannot log into the Control Panel to finish the migration process (updating locations/paths).

    I’ve seen several posts about this before, usually pointing to a problem with cookies or sessions, but never a definitive answer to what is going on and how to fix it.

    I have cleared all browser caches and cookies; tried four different browsers—one on another computer; edited various settings this in config.php as suggested in previous posts on this topic; tried several different CP logins—nothing is working.

    Upon submitting my login, the browser just returns to the login page.

    Any ideas on how to make progress getting logged into my Control Panel?

    Here is my current config.php (which has been following me around for many, many years…) I’m using the IP instead of domain since I have not redirected my domain to this server yet.

    I’ve tried both “c” and “s” session types for user and admin.

    $config['app_version'] = "261";
    $config['install_lock'] = '1';
    $config['license_number'] = "xxxx-xxxx-xxxx-xxxx";
    $config['debug'] = '1';
    $config['cp_url'] = 'http://216.243.142.229/rick/renamed_system/index.php';
    $config['doc_url'] = "http://216.243.142.229/rick/user_guide/index.html";
    $config['is_system_on'] = "y";
    $config['allow_extensions'] = 'y';
    $config['ignore_templates'] = 'y';
    $config['enable_db_caching'] = 'n';
    $config['enable_sql_caching'] = 'n';
    $config['db_cache_refresh'] = '30';
    $config['member_images'] = 'http://216.243.142.229/rick/images/member_images/';
    $config['enable_js_calendar'] = 'y';
    $config['calendar_thumb_path'] = 'http://216.243.142.229/rick/images/cp_images/calendar.gif';
    $config['cp_image_path'] = 'http://216.243.142.229/rick/images/cp_images/';
    $config['forum_is_installed'] = 'y';
    $config['multiple_sites_enabled'] = 'n';
    $config['enable_online_user_tracking'] = 'y';
    $config['enable_hit_tracking'] = 'y';
    $config['enable_entry_view_tracking'] = 'y';
    $config['dynamic_tracking_disabling'] = '';
    
    $conf['cookie_domain'] = "";
    $conf['cookie_path'] = "";
    $conf['cookie_prefix'] = "";
    $conf['admin_session_type'] = "c";
    $conf['user_session_type'] = "c";
    $conf['require_ip_for_login'] = "n";
    $conf['require_ip_for_posting'] = "n"; 
    $conf['secure_forms'] = "n";
  • #2 / Mar 07, 2014 5:30pm

    ahmad saad

    364 posts

    Hi,

    did u try this one http://ellislab.com/forums/viewthread/219568/#1021549

    try it and let me know.

    Regard’s.

  • #3 / Mar 07, 2014 5:39pm

    RickRobinson

    35 posts

    I had tried that, but since discovered the problem. It is with “sessions” versus “cookies”, but notice that my configuration file has $conf[] instead of $config[]. Once I fixed that, it started working. Still kinks to work out, but I can get to the CP now.

    I guess the key message is that this problem is related to “cookies” and/or “sessions”.

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

ExpressionEngine News!

#eecms, #events, #releases