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.

MSM and migration

December 30, 2010 3:25am

Subscribe [4]
  • #1 / Dec 30, 2010 3:25am

    Sean C. Smith

    3818 posts

    I’ve copied my MSM powered site to a dev server so that I can safely upgrade from 1.6.9 to 2.1.3 and have got everything running fine except that I cannot switch sites. When I click to view the second site the page refreshes but stays on the first site.

    I’m using EE 1.6.9 Build:  20100430 and MSM Version: 1.1 Build: 20100805

    please advise.

  • #2 / Dec 30, 2010 9:23am

    Sue Crocker

    26054 posts

    Hi, Sean. We’ve seen that happen before - have you tried the methods listed in this wiki article?

    http://expressionengine.com/wiki/TShoot_Problems_With_MSM_Logins/

  • #3 / Dec 30, 2010 5:35pm

    Sean C. Smith

    3818 posts

    Sue,
    that page is now what my problem is - I can login from either site, the problem is that I cannot actually view the second site. When I click the sites tab and choose the second one the page refreshes but nothing changes.

    In any case I did try what was suggested there and it didn’t change anything.

    Sean

  • #4 / Dec 31, 2010 3:37am

    John Henry Donovan

    12339 posts

    Sean,

    Make sure to clear and browser cookies etc. Also make sure any CP URLs in your general configurations or the config file match your dev server URLs or it will have trouble with cookies

  • #5 / Dec 31, 2010 5:58am

    Sean C. Smith

    3818 posts

    John,

    I’ve changed everything in the control panel using the Deeploy module and here is my config.php file with asterisks replacing sensitive info

    $conf['app_version'] = "169";
    $conf['license_number'] = "1234************";
    $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['system_folder'] = "**********";
    $conf['cp_url'] = "http://dev2.domain.com";
    $conf['doc_url'] = "http://expressionengine.com/docs/";
    $conf['cookie_prefix'] = "";
    $conf['is_system_on'] = "y";
    $conf['allow_extensions'] = "y";
    $conf['multiple_sites_enabled'] = "y";
    $conf['ip2nation'] = "y";

    still having the same problem

  • #6 / Jan 01, 2011 10:26am

    Greg Salt

    3988 posts

    Hi Sean,

    Have you got an .htaccess file for index.php removal active for your sites? Are you accessing the CP at http://dev2.domain.com/systemfolder or via Masked Access?

    Cheers

    Greg

  • #7 / Jan 01, 2011 6:08pm

    Sean C. Smith

    3818 posts

    yes masked cp access and my .htaccess file is very simple

    # Use PHP5 as default
    AddHandler application/x-httpd-php5 .php

  • #8 / Jan 02, 2011 10:05am

    Greg Salt

    3988 posts

    Hi Sean,

    The config item for ‘cp_url’ should be your masked access URL. Can you try that please.

    Cheers

    Greg

  • #9 / Jan 02, 2011 6:49pm

    Sean C. Smith

    3818 posts

    Greg,

    that worked. Interstingly on the “real” site it’s not set but works. Anyhow I’m happy that I’ve got it working and can do my upgrade now. Thanks for your time.

  • #10 / Jan 04, 2011 3:20am

    John Henry Donovan

    12339 posts

    Glad you are up and running again.Feel free as always to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases