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 problems after server migration

April 05, 2011 11:20am

Subscribe [5]
  • #16 / Apr 20, 2011 2:47pm

    Sue Crocker

    26054 posts

    Unfortunately we can’t assist with any issues with Structure..

    Hmmm… how do the two sites differ?

  • #17 / Apr 21, 2011 5:29am

    captaink

    43 posts

    Theres no difference between the test and live servers. Something must have gone wrong when I transferred the site. If only I knew what it was.

  • #18 / Apr 21, 2011 8:12am

    captaink

    43 posts

    I think the best plan is to completely remove MSM and reinstall it afresh. Is there a way to completely remove the MSM module?

  • #19 / Apr 21, 2011 4:54pm

    Brandon Jones

    5500 posts

    Hi captaink,

    Before resorting to that I’d suggest running back through the MSM setup documentation for the live site, as there’s likely a path in there that is still pointing to the test environment.

  • #20 / Apr 28, 2011 9:51am

    captaink

    43 posts

    Hi Brandon,

    I’ve done a full sweep of the site and the database looking for a reference to the test server and I can’t find anything that relates.

    Greg

  • #21 / Apr 29, 2011 6:01am

    John Henry Donovan

    12339 posts

    captaink,

    What do you have in your config.php file? Can you share that? Just hide any private information

  • #22 / May 03, 2011 5:29am

    captaink

    43 posts

    $config['app_version'] = "213";
    $config['install_lock'] = "";
    $config['license_number'] = "";
    $config['debug'] = "1";
    $config['cp_url'] = "http://www.beam.uk.net/system/index.php";
    $config['doc_url'] = "http://ellislab.com/expressionengine/user-guide/";
    $config['is_system_on'] = "y";
    $config['site_label'] = 'Beam';
    $config['cookie_prefix'] = '';
    
    $config['allow_extensions'] = "y";
    $config['multiple_sites_enabled'] = "n";
    
    $config['cookie_domain'] = "";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";
    $config['admin_session_type'] = "c";
  • #23 / May 03, 2011 12:48pm

    Brandon Jones

    5500 posts

    captaink,

    I see you’re forcing an empty cookie domain - when running MSM you’ll typically want to specify a proper cookie domain for each MSM site, starting with a period. That should help with logging into the control panel. Can you confirm?

  • #24 / May 03, 2011 12:56pm

    captaink

    43 posts

    I’ve changed it to this: $config[‘cookie_domain’] = “.beam.uk.net”;

    Is that correct? How do I do this for the other site?

  • #25 / May 03, 2011 1:17pm

    Brandon Jones

    5500 posts

    I would remove these 3 lines from config.php, as config.php is global:

    $config['cookie_domain'] = "";
    $config['cookie_path'] = "";
    $config['cookie_prefix'] = "";

    If you can’t set cookie domains in the CP you can do so manually in each site’s index.php by using assign_to_config like the other MSM settings, for example:

    $assign_to_config['cookie_domain'] = '.mydomain.com';

    Does that help?

  • #26 / May 03, 2011 1:22pm

    captaink

    43 posts

    No, no difference.

    Might be worth noting that I can’t logout either when MSM is turned on. Just redirects to the CP home.

  • #27 / May 03, 2011 5:50pm

    Brandon Jones

    5500 posts

    captaink,

    Looking back through the thread, did you ever re-install the MSM (essentially re-copying a fresh set of MSM files to their proper locations?) And you are testing each time after completely clearing your browser cache and cookies, correct?

  • #28 / May 04, 2011 5:39am

    captaink

    43 posts

    Yes I had done a fresh install and I’ve just installed it again. Still no difference.

    Yes I’m clearing caches.

  • #29 / May 04, 2011 6:50am

    John Henry Donovan

    12339 posts

    captaink,

    Please check you email. Also make sure that MSM is installed at at least another site in place for us to troubleshoot

  • #30 / May 04, 2011 6:53am

    captaink

    43 posts

    Details sent. Thanks.

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

ExpressionEngine News!

#eecms, #events, #releases