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 Issues when creating a new site

November 09, 2012 2:07pm

Subscribe [2]
  • #1 / Nov 09, 2012 2:07pm

    koala kid

    72 posts

    I finally installed MSM today and set up my first local site but I’m having a few issues.

    Initially I was getting some database errors but I tracked down a bug report, applied the fix and managed to create the new site.

    However I’m not seeing what I thought I would when playing with the templates. I’ve duplicated many of the same channels, preferences and templates.

    First off I’ve updated inc/head on siteA to have absolute paths to css files e.g.

    <link media=“all” rel=“stylesheet” type=“text/css” href=“http://www.example.com/css/boilerplate.css”>
    In one of the SiteB templates I’ve modified the embed tag to pull from site A e.g.

    {embed="default_site:inc/head"}
    However checking the source I am still seeing :

    <link media=“all” rel=“stylesheet” type=“text/css” href=”/css/boilerplate.css”>
    So then I went into inc/head on SiteB and updated the path there with some random stuff just to see if it was pulling in that file but checking the source there has been no change in the paths. I’m using text files for templates so I’ve checked the database version but that is showing the change in path.

    So I’m confused. I’m not sure where this template is being pulled from.

    I took a look at the entries in the new site and instead of the having the actual data in the field it looks like the field reference got passed, i.e. field_id_30.

    Also I’m using the pages module and the entries got copied over but not the pages data, ie the template or URL path. Is this standard behavior?

    Thanks.

    Has there been an error when creating the new site or am I missing something basic?

    Thanks.

  • #2 / Nov 12, 2012 11:10am

    Shane Eckert

    7174 posts

    Hey there Koala Kid,

    I am sorry to hear you are running into this problem.

    First question. What version of ExpressionEngine and MSM are you currently using?

    Can you please show me the code you are using to link your assets in site B?

    For the pages module please check out the guide. Page data are only available for the current site.

    Please let me know about those few items.

    It sounds like you are doing things right, just a few details to iron out, so no worries.

    Cheers,

  • #3 / Nov 13, 2012 2:05pm

    koala kid

    72 posts

    Hi Shane,

    I tracked down the embed issue to the config.php file I was using, which was a non-standard effort intended to make working in multiple environments and collaborating much easier.

    However I wasn’t able to track down why the data wasn’t copied over. I’m running EE 2.5.3 and MSM 2.1.3.

    Thanks.

  • #4 / Nov 14, 2012 5:49pm

    Shane Eckert

    7174 posts

    Hey there koala kid,

    I think the issue may be a version mismatch.

    With 2.5.3 you want to be using MSM 2.1.4.

    Can you update MSM?

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases