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.

New Site in Multi Site Manager issues with Custom Fields

May 29, 2008 12:21am

Subscribe [1]
  • #1 / May 29, 2008 12:21am

    michaelTSCPL

    105 posts

    I am on 1.6.3 build 20080421 and having issues with a new site using the Multi Site Manager and newly created custom fields for basic content (thumbnail, summary and body). The custom fields will not display the content. What I get is this:

    Tuesday, May 27, 2008
    Purchasing library discards
    {st_thumb}{st_summary} {st_body}
    Posted by Michael at 10:27 AM.


    So it is displaying the date and the Title but not processing the code for the custom fields. If I try to use the names of the fields for the original site. The original site stops displaying the content in those fields (in the forums I thought I read that this was fixed - but I could be wrong). Here is the code that I am using:

    {exp:weblog:entries weblog="news2use" orderby="date" sort="desc" limit="15"}
    
    {date_heading}
    <div class="date-header"><h2>{entry_date format=' %l, %F %d, %Y '}</h2><p></div><br />
    {/date_heading}</p>
    
    <p><br />
    <!-- entry --><br />
    <div class="entry"><br />
    <div class="entry-title"></p><h3><a href="http://{comment_url_title_auto_path}">{title}</a></h3><p></div></p>
    
    <p>{st_thumb}{st_summary}</p>
    
    <p>{st_body}</p>
    
    <p><br />
    <div class="entry-info"><br />
    Posted by {author}  at  {entry_date format='%h:%i %A'}.<br />
    Filed under:<br />
    {categories}<br />
    <a href="http://{path=site_index}">{category_name}</a> •<br />
    {/categories}</p>
    
    <p>{/exp:weblog:entries}

    Which is about as basic as it gets. I can’t seem to figure out what I have done. I may have something incorrect in the setup of the Multisite Manager but I have no idea of where to look.

  • #2 / May 29, 2008 1:25pm

    Robin Sowell

    13255 posts

    Yep- that’s about as simple an example as you can get.  If you view the rendered code- the curly brackets aren’t converted to entities or anything, are they?  And if you go to the custom field management page for the second site- the shortnames are definitely correct?  And- you updated the MSM files if/when you updated to 1.6.3- in other words, everything is the latest build?

  • #3 / May 29, 2008 1:49pm

    michaelTSCPL

    105 posts

    curly brackets not converted: yes - here is what it looks like:
    http://www.tscpl.org/graphics/renderedpage.jpg
    custom field - yes:
    http://www.tscpl.org/graphics/customfield.jpg
    MSM current build - yes

  • #4 / May 30, 2008 10:28pm

    michaelTSCPL

    105 posts

    Anybody have any ideas where to look to fix this?

  • #5 / Jun 01, 2008 11:10am

    Robin Sowell

    13255 posts

    Hm- not sure how you slipped by us, but you did.  My apologies on this one.

    Let’s see- if you go make a new entry on the new site- it displays the same behavior for the new entry?  And triple check- on the new site, the custom field group is properly assigned to the weblog (Admin- Weblog Admin- Weblog Management).

  • #6 / Jun 01, 2008 11:41am

    Robin Sowell

    13255 posts

    Hm- and stumbled across another one having a somewhat similar (but not identical) issue.  If you have any extensions installed- try disabling extensions and see if that makes a lick of difference.

  • #7 / Jun 02, 2008 12:23am

    michaelTSCPL

    105 posts

    No problem Robin.

    I disabled all of the extensions and it did not help. I also created another entry and it still is only displaying the title and not the body. I checked again and I have the custom field group properly assigned.

  • #8 / Jun 02, 2008 10:21am

    Robin Sowell

    13255 posts

    Dang- puzzling.  Do you mind pm’ing me superadmin access- cp, username and password?  Nothing is leaping to mind and I’d like to take a quick look at it in action.  And- it’s fine on the main site- it’s the secondary where it’s borking.  More or less correct?

  • #9 / Jun 02, 2008 10:59am

    michaelTSCPL

    105 posts

    Main site seems to be fine unless I use the same field names. When I do that it will not display the content on the main site. I have sent you the login info.

  • #10 / Jun 02, 2008 12:26pm

    Robin Sowell

    13255 posts

    Hm- well, I tracked down part of the problem.  Looking at exp_weblog_fields, all of the existing fields have a site id of 1.  Which is a giant pile of wrong.

    I can’t spot anything you might have done to result in that.  I go to ‘edit’ the sites- they show correct ids- 1 and 2.  On site 2, the custom field pages all seem to look right- as does the group select (as you’d already confirmed).  But that exp_weblog_field table is just off.

    When you created the second site- did you copy anything from the first- if you recall?

    And how much would it set you back to delete the current second site?  I’d be most comfortable doing that, making sure you have fresh copies of everything including the msm files, then creating a new second site and see if it buggers up again.

    BUT- if that’s going to put you out, I can likely figure out how to get it synced.  So say so if you need me to poke fixing it rather than deleting and starting fresh.  Didn’t look like a ton of content in 2, but I didn’t look hard.  And trying to track down the spots that got off could be complicated.  If it’s just the one table, it will be easy.  But I wouldn’t bet my life on that being the case.

    And searching your brain- can you come up with anything odd about the creation of this second site?  I’d like to track down the source of the problem and at the moment, don’t have any good ideas on that one.

  • #11 / Jun 02, 2008 1:13pm

    michaelTSCPL

    105 posts

    The only thing that I copied from the first site was the path files I believe. I have no problem deleting the second site, I will attempt that.

  • #12 / Jun 02, 2008 1:19pm

    Robin Sowell

    13255 posts

    Be sure and make a good backup of the db before you do.  But yes- try deleting.  Make sure you’ve got fresh files up- then create a new site.  Let’s see if that blows the dust out.

    It’s pretty weird- I’ve never seen this one happen before.  Would be good to get to the bottom of it.  So- let us know how it goes.

  • #13 / Jun 03, 2008 10:49am

    michaelTSCPL

    105 posts

    Robin deleting the second site and reinstalling fixed the weirdness. It is now displaying correctly. Thanks for the help.

  • #14 / Jun 03, 2008 11:00am

    Robin Sowell

    13255 posts

    It was weird- and I’m glad that fixed it.  I don’t like not knowing HOW it got off.  But- could be gremlins, especially if it didn’t bork second go round.

    But- glad you’re up and running.  And if anyone else runs into the issue and comes across this post?  Be sure to reference it when you start a new thread.

    Closing this one out.

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

ExpressionEngine News!

#eecms, #events, #releases