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.

Custom Fields not parsed across MSM

July 15, 2010 9:52am

Subscribe [1]
  • #1 / Jul 15, 2010 9:52am

    Thierry Fortier

    27 posts

    I use EE 2.1 Build:  20100712 with MSM 20100712 both are Commercial License.
    This is a fresh install with only Matrix, Wygwam and Playa.

    I have 2 sites in Expression Engine.

    The first one contains 2 uploads directory, a channel and a set of custom fields.
    The channel contains one entry.
    When I use this code on the first site :

    {exp:channel:entries site="sandbox" channel="sandbox" cache="no" orderby="expiration_date" sort="asc"}
            {title} / {url_title} / {entry_date format="%d-%m-%Y %G:%i"}
    
            Description : {dev_description}
    
            Upload 1 : 
    {dev_upload1}
    Upload 2 :{dev_upload2}
    
    {/exp:channel:entries}

    I get this output on the first site :

    Upload solo / upload_solo / 01-07-2010 9:40
    Description : Une description de whatever

    Upload 1 : http://sand.radioxeh.com/uploads/minibanners/DT2011_300X90.gif
    Upload 2 : http://sand.radioxeh.com/uploads/entetes/banner_chxx.jpg

    This correct and expected. However, when I use the exact same code on site number two, I get this :

    Upload solo / upload_solo / 01-07-2010 9:40
    Description : {dev_description}

    Upload 1 : {dev_upload1}
    Upload 2 : {dev_upload2}

    My custom fields are not parsed as they were before 2.1.

    UPDATE :
    After reading this, I tried to view custom fields from site 2 on site one and this is working…

    I double checked the custom fields name and they are correct.

    UPDATE 2 :
    Even worst, I created a new template group in site 2 and in this one all works well ... This is really weird.

    UPDATE 3 :
    Now it’s working everywhere even in the first template group. I changed nothing. Perhaps something in the way data or db connections are cached?

  • #2 / Jul 15, 2010 3:29pm

    Lisa Wess

    20502 posts

    This does sound like it may have been a caching issue.  I’d recommend making sure your cache folder is set to 777 permissions.

    Now that it’s working, are you all set?

  • #3 / Jul 15, 2010 3:33pm

    Thierry Fortier

    27 posts

    Hi Lisa,

    On this matter, yes I am all set. Turns out it was caching and that I was flushing it via the CP but in the wrong site. If I remember correctly, in EE 1.6.9 this had no incidence but it looks like in EE 2.1 it does.

    Thank you ^-^’

  • #4 / Jul 15, 2010 3:34pm

    Lisa Wess

    20502 posts

    Glad to see you’re all set, Thierry!  If anything else comes up, please don’t hesitate to start a new thread.

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

ExpressionEngine News!

#eecms, #events, #releases