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 randomly displaying primary site's index rather than secondary site index

February 19, 2008 6:39pm

Subscribe [3]
  • #1 / Feb 19, 2008 6:39pm

    Seth Long

    7 posts

    We have a fresh install of EE 1.6.2 build 20080206 on an EngineHosting account that won’t behave. Installed MSM and configured according to the docs. Attempts to view the secondary site result in random redirects to the primary site.

    2 sites: westender (primary) & mondaymag (secondary). Path.php (and index.php) exists in secondary site’s root folder and includes these lines:

    $site_url = "http://www.weekinthereview.com";
    $site_name = "mondaymag";
    $site_index = "index";

    (note temp URL in $site_url)

    Path.php for primary site exists in EE root and contains the following:

    $site_url = "http://www.kingstonview.org";
    $site_name = "westender";
    $site_index = "index";

    $site_name in both match site short names.

    Following information found in previous forum threads, we refreshed the build today and cleared caches with no luck.

    It appears that others have run into something similar before but their fixes don’t apply here. Any help would be greatly appreciated. Thank you.

    -Seth

  • #2 / Feb 19, 2008 7:44pm

    Sue Crocker

    26054 posts

    Seth, you say it is intermittent. But you have other issues.

    First of all, your path.php in the primary domain shouldn’t need all the extra stuff you put in it.

    Can you remove those settings except for the path to the system directory and bring up the kingstonview.org site again so that works without worrying about the secondary domain right this second.

  • #3 / Feb 19, 2008 7:50pm

    Seth Long

    7 posts

    Sue,

    Done. The intermittent problem with the secondary domain was happening before I updated path.php for the primary, though. And, now that I restored the primary’s path.php, it is still having problems displaying the correct site index.

    Thank you.

  • #4 / Feb 19, 2008 9:36pm

    Sue Crocker

    26054 posts

    I see that. Let’s get the .htaccess and index.php stuff fixed first, then go from there.

  • #5 / Feb 19, 2008 10:34pm

    Seth Long

    7 posts

    I’ve reset $site_index to read:

    $site_index = "index.php";

    No change to site behavior.

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

ExpressionEngine News!

#eecms, #events, #releases