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 Second Site not loading

May 03, 2011 9:14am

Subscribe [3]
  • #1 / May 03, 2011 9:14am

    porpoise

    30 posts

    I’ve successfully installed and configured Multiple Site Manager but I can’t get it to load the second site.  I’ve copied index.php from the first site to a subdirectory and adjusted $system_path and $assign_to_config[‘site_name’]  with the relative path to the first site’s system folder and the second site’s short name respectively.  When I go to the second site’s subdirectory (the one where index.php lives), it triggers an EE login page but doesn’t load my templates.  Note that I’ve gone into the second site’s Design > Global Preferences to update where the templates are.

    Any tips on how to get it to load my tempates?

    Thanks.

  • #2 / May 03, 2011 1:02pm

    Kurt Deutscher

    827 posts

    Hi porpoise,

    When we set up an MSM site, there are 2 files we add to the subdirectory of additional sites:

    index.php
    admin.php

    We create the admin.php file to mask the control panel’s location, but also to give our additional site its own CP access point.

    Both files require the setting of a few variables (as you’ve mentioned you’ve already done in your index.php.

    In addition to those paths, each “site” within MSM has its own path settings in the Admin > General Configuration page in the control panel.

    All those paths have to be set correctly for the control panel’s templates to work correctly for both sites.

    Hm…. you might be referring to your website’s display templates, and not the Control Panel’s templates. If that’s the case, then there’s the paths in the Template Management > Global Template Preferences to check.

    There’s a lot of paths to keep track of when using the MSM. Just to help us help you, are you having issues with the Control Panel templates not display correctly for you, or your second website’s display templates?

  • #3 / May 03, 2011 6:50pm

    porpoise

    30 posts

    Thank you!  I got it to work.

    A few questions, though, about MSM:

    Do I need to change the theme_folder_url or theme_folder_path in setting in the second site?

    Thanks!

  • #4 / May 03, 2011 7:19pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Kurt.

    porpoise, it depends. Most of the time I don’t bother with doing so, I use the same assets on both sites. It’s truly up to you.

    Does that help?

  • #5 / May 03, 2011 7:23pm

    porpoise

    30 posts

    Yes it does help.  Thank you, all.  I have some questions about MSM but I will post in Community Support.

  • #6 / May 04, 2011 8:38am

    John Henry Donovan

    12339 posts

    Great 😊 I will close this one out for you so.

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

ExpressionEngine News!

#eecms, #events, #releases