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 Not sharing entries.

March 01, 2012 10:15am

Subscribe [2]
  • #1 / Mar 01, 2012 10:15am

    RevaCo

    240 posts

    Hello,

    Running 2.4.0 using MSM.

    I have two sites. SiteA and SiteB

    On Site A I have a template which contains the following:

    TEST on {site_short_name}
    {exp:channel:entries site="my_site_a" channel="news_ticker" dynamic="no"}
    
      {if no_results}No results{/if}                     
      {title}
    
    {/exp:channel:entries}

    If I embed this template and view it on Site A I get the desired results. (i.e. It works and shows entries)

    If I view this template on Site B it shows no results except for the ‘TEST on site short name’ which shows it’s pulling in the embedded template correctly but it’s not parsing the template tags? Also tried it as a global snippet with the same results.

    Am I missing something obvious here?

  • #2 / Mar 01, 2012 12:16pm

    Kurt Deutscher

    827 posts

    We use MSM quite a bit, and have run into this sort of thing before.

    First, clear all caches.

    EE starts out with a site_short_name of “default_site” and only changes it if we change the site_short_name of the original/main site.

    Sometimes, EE hangs up somewhere in the process and the “default_site” isn’t fully updated everywhere.

    If you are saving templates as files, try syncing your templates, then double check on the server that EE was able to set up template files for both of your sites.

    We’ve seen where we’re making changes to a template on the server and EE’s still running off of what it has in the database because the newly created templates on the server somehow had the wrong permissions, or we had moved things around and our templates path in the second site needed to be updated so EE could read from the files on the server.

    Triple-check the site_short_name, we once had EE appear to change the site_short_name back to “default_site” on us.

    Finally, if the tag won’t run in your second site, run it in the first and embed the results into the second:

    {embed="site_short_name:template_group/template"}

    Hope something in there helps you get your tag working.

  • #3 / Mar 01, 2012 12:41pm

    RevaCo

    240 posts

    Thanks for your suggestions, tried clearing cache but to no avail.

    Turned on debugging and that’s pointed me towards the Transcribe module I have installed. Will get in touch with the module author.

    Thanks
    John

  • #4 / Mar 01, 2012 7:28pm

    Sean C. Smith

    3818 posts

    Hi John,

    Do keep us posted on the status of this. If the issue persists after working out the issues with transcribe, let us know and we’ll be here to help you get it resolved.

    Sean

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

ExpressionEngine News!

#eecms, #events, #releases