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.

Having MSM problems.

June 13, 2010 3:43pm

Subscribe [7]
  • #1 / Jun 13, 2010 3:43pm

    Marcus Hodges

    84 posts

    Hi,

    I just installed MSM for the first time and I’m having trouble with it. 

    First thing I did was create a new site by following along with the docs, but when I changed my path variable in the new site it overwrote the default site.

    So I deleted that site and created a completely blank new one. When I click on the new one under the Sites tab I can still see the templates and entries from the default site.

    While trying to figure out the issue, I logged out of the control panel and then couldn’t log back in. I entered my information and it simply returns me to the login page. I have added the following to the config and it now will allow a login, but I still have the problem of not being able to notice any change when I click a new site.

    Any idea what I’m missing? I’m following the docs letter by letter.

    Marcus

  • #2 / Jun 14, 2010 1:31am

    John Henry Donovan

    12339 posts

    Marcus,

    Fist of all let us confirm your domain set-up.
    Is your second site a sub domain or new domain?
    Where does the folder exist that you have added your index.php and path.php in relation to your root?

    First thing I did was create a new site by following along with the docs, but when I changed my path variable in the new site it overwrote the default site.

    Its the path.php in your second site’s folder you need to change.

    I have added the following to the config and it now will allow a login, but I still have the problem of not being able to notice any change when I click a new site.

    What did you add?

  • #3 / Jun 14, 2010 10:52am

    Marcus Hodges

    84 posts

    Hi John,

    Is your second site a sub domain or new domain?

    It is a sub-domain for now (it will eventually have a domain pointed to it).

    Where does the folder exist that you have added your index.php and path.php in relation to your root?

    It is one level below the EE installation root.

    Its the path.php in your second site’s folder you need to change.

    Right - that’s the one I changed.

    What did you add?

    Whoops - forgot to add it.

    $conf['admin_session_type'] = "s";
  • #4 / Jun 14, 2010 7:04pm

    Brandon Jones

    5500 posts

    Hi Marcus,

    Regarding the login issue, make sure you have set the cookie domain preference for each site. Then you should be able to remove the override you added in config.php.

    For now, temporarily remove path.php and index.php from your second site, and place a test index.html file in that directory. Do you see your test index.html file when you navigate to the second site’s URL?

  • #5 / Jun 15, 2010 10:52am

    Marcus Hodges

    84 posts

    I’ve removed those files and added an index.html, it shows up fine.

    I still haven’t been able to access any sub-site specific admin in the control panel - if I click the new site and then admin and make a change, it changes the default site.

  • #6 / Jun 15, 2010 6:42pm

    Brandon Jones

    5500 posts

    Marcus, please list the version and build of EE and MSM you’re running.

  • #7 / Jun 15, 2010 7:12pm

    Marcus Hodges

    84 posts

    Marcus, please list the version and build of EE and MSM you’re running.

    EE 1.6.8 Build 20100121
    MSM 1.1 Build 20091201

  • #8 / Jun 15, 2010 7:23pm

    Brandon Jones

    5500 posts

    Let’s have you perform a version update to 1.6.9 so we can be sure all files are intact. Keep us posted.

  • #9 / Jun 16, 2010 11:23am

    Marcus Hodges

    84 posts

    Ok. I have updated to the latest version and I’m going back through the MSM process to document the steps I’m taking.

    Updated to 1.6.9
    Reinstalled MSM files
    Created new site - copied nothing since I’m just testing.

    At this point, the docs say to go change the URL and template group, but when I change them it changes the default site - still, I press on.

    Create a subfolder under the EE root.
    Add copies of index.php and path.php to that folder.
    Edit path.php to change the path to system directory (../system/)
    Edit path.php to add $site_name = ‘Site_Short_Name’;

    I still cannot see any indication that the site is changing. The site name remains that of the default site. All of the posts and templates I didn’t copy are visible. Any config changes to the new site impact the default site. The default site no longer pulls it’s CSS properly. This is the same issue I had last time.

    Because the default site is live, I am rolling back all of my edits.

  • #10 / Jun 16, 2010 11:43am

    Sue Crocker

    26054 posts

    Are you using any sort of .htaccess file? If so, what’s in it?

  • #11 / Jun 16, 2010 12:07pm

    Marcus Hodges

    84 posts

    Are you using any sort of .htaccess file? If so, what’s in it?

    Nope - no .htaccess

  • #12 / Jun 16, 2010 6:54pm

    Brandon Jones

    5500 posts

    At this point, the docs say to go change the URL and template group, but when I change them it changes the default site - still, I press on.

    At this point, do you have a ‘Sites’ tab in the CP and is the newly created site listed in this menu?

  • #13 / Jun 16, 2010 7:32pm

    Marcus Hodges

    84 posts

    At this point, do you have a ‘Sites’ tab in the CP and is the newly created site listed in this menu?

    Yes, and I have clicked the new site in that menu.

  • #14 / Jun 17, 2010 2:57am

    John Henry Donovan

    12339 posts

    Marcus,

    Can you show us your config.php please? Just remove any sensitive information before posting. Thanks

  • #15 / Jun 17, 2010 10:35am

    Marcus Hodges

    84 posts

    <?php
    
    if ( ! defined('EXT')){
    exit('Invalid file request');
    }
    
    $conf['app_version'] = "169";
    $conf['license_number'] = "";
    $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://.../.../index.php";
    $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['admin_session_type'] = "s";
    ?>
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases