Jay

Error

Vote 0 Votes

i'm trying to update my site, but i keep getting this...

Building category '2' failed: Build error in template 'Category Archive': Error in <MTEntries> tag: Error in <MTIfCommentsActive> tag:

Anyone know how to fix?

Reported on Movable Type 3.x

10 Replies

| Add a Reply
  • There should be a mistake inside the MTEntries loop in regard to the MTIfCommentsActive tag.

    You should take a look at the "Category Archive" template, analyze the coding in there, find the issue and fix it.

    If you paste the template here or send it to me via email I should be able to help.

    Have you made changed to that template recently?

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

    • Thanks Mihai! Here's the code...

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
      <meta name="generator" content="Movable Type <$MTVersion$>" />

      <link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
      <link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" />
      <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<$MTBlogURL$>index.xml" />

      <title><$MTBlogName encode_html="1"$>: <$MTArchiveTitle$> Archives</title>
      </head>
      <body class="layout-one-column">
      <div id="container">
      <div id="container-inner" class="pkg">

      <div id="banner">
      <div id="banner-inner" class="pkg">
      <h1 id="banner-header"><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1>
      <h2 id="banner-description"><$MTBlogDescription$></h2>
      </div>
      </div>

      <div id="pagebody">
      <div id="pagebody-inner" class="pkg">
      <div id="alpha">
      <div id="alpha-inner" class="pkg">

      <p class="content-nav">
      <a href="<$MTBlogURL$>">Main</a>
      </p>

      <MTEntries>
      <$MTEntryTrackbackData$>

      <MTDateHeader><h2 class="date-header"><$MTEntryDate format="%x"$></h2></MTDateHeader>
      <a id="a<$MTEntryID pad="1"$>"></a>
      <div class="entry" id="entry-<$MTEntryID$>">
      <h3 class="entry-header"><$MTEntryTitle$></h3>
      <div class="entry-content">
      <div class="entry-body">
      <$MTEntryBody$>
      <MTEntryIfExtended>
      <p class="entry-more-link">
      <a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>" »</a>
      </p>
      </MTEntryIfExtended>
      <p class="entry-footer">
      <span class="post-footers">Posted by <$MTEntryAuthorDisplayName$> at <$MTEntryDate format="%X"$></span> <span class="separator">|</span> <a class="permalink" href="<$MTEntryPermalink$>">Permalink</a>
      <MTIfCommentsActive>| <a href="<$MTEntryPermalink$>#comments">Comments (<$MTEntryCommentCount$>)</a></MTIfCommentsActive>
      <MTIfPingsActive>| <a href="<$MTEntryPermalink$>#trackback">TrackBacks (<$MTEntryTrackbackCount$>)</a></MTIfPingsActive><$MTHostedByYahoo$><$MTYSearch$>
      </p>
      </div>
      </div>
      </div>
      </MTEntries>
      </div>
      </div>
      </div>
      </div>
      </div>
      </div>
      <$MTYahooStats$></body>
      </html>

      • Jay:

        If you want the community to help you, you need to repost your code so we can read it. Replace the "<" signs with "&lt;" in your Movable Type Forum posts in order to get your template code to display properly.

        --Dave Aiello

  • Thanks Mihai! Here's the code...

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<$MTPublishCharset$>" />
    <meta name="generator" content="Movable Type <$MTVersion$>" />

    <link rel="stylesheet" href="<$MTBlogURL$>styles-site.css" type="text/css" />
    <link rel="alternate" type="application/atom+xml" title="Atom" href="<$MTBlogURL$>atom.xml" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<$MTBlogURL$>index.xml" />

    <title><$MTBlogName encode_html="1"$>: <$MTArchiveTitle$> Archives</title>
    </head>
    <body class="layout-one-column">
    <div id="container">
    <div id="container-inner" class="pkg">

    <div id="banner">
    <div id="banner-inner" class="pkg">
    <h1 id="banner-header"><a href="<$MTBlogURL$>" accesskey="1"><$MTBlogName encode_html="1"$></a></h1>
    <h2 id="banner-description"><$MTBlogDescription$></h2>
    </div>
    </div>

    <div id="pagebody">
    <div id="pagebody-inner" class="pkg">
    <div id="alpha">
    <div id="alpha-inner" class="pkg">

    <p class="content-nav">
    <a href="<$MTBlogURL$>">Main</a>
    </p>

    <MTEntries>
    <$MTEntryTrackbackData$>

    <MTDateHeader><h2 class="date-header"><$MTEntryDate format="%x"$></h2></MTDateHeader>
    <a id="a<$MTEntryID pad="1"$>"></a>
    <div class="entry" id="entry-<$MTEntryID$>">
    <h3 class="entry-header"><$MTEntryTitle$></h3>
    <div class="entry-content">
    <div class="entry-body">
    <$MTEntryBody$>
    <MTEntryIfExtended>
    <p class="entry-more-link">
    <a href="<$MTEntryPermalink$>#more">Continue reading "<$MTEntryTitle$>" »</a>
    </p>
    </MTEntryIfExtended>
    <p class="entry-footer">
    <span class="post-footers">Posted by <$MTEntryAuthorDisplayName$> at <$MTEntryDate format="%X"$></span> <span class="separator">|</span> <a class="permalink" href="<$MTEntryPermalink$>">Permalink</a>
    <MTIfCommentsActive>| <a href="<$MTEntryPermalink$>#comments">Comments (<$MTEntryCommentCount$>)</a></MTIfCommentsActive>
    <MTIfPingsActive>| <a href="<$MTEntryPermalink$>#trackback">TrackBacks (<$MTEntryTrackbackCount$>)</a></MTIfPingsActive><$MTHostedByYahoo$><$MTYSearch$>
    </p>
    </div>
    </div>
    </div>
    </MTEntries>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>
    <$MTYahooStats$></body>
    </html>

    • Jay:

      If you want the community to help you, you need to repost your code so we can read it. Replace the "<" signs with "&lt;" in your Movable Type Forum posts in order to get your template code to display properly.

      --Dave Aiello

  • Jay:

    If you want the community to help you, you need to repost your code so we can read it. Replace the "<" signs with "&lt;" in your Movable Type Forum posts in order to get your template code to display properly.

    --Dave Aiello

  • I've already got Jay's coding via email and I've mentioned to him that the coding is good.

    There is no problem with the coding, but something either with his Yahoo installation, or with the Yahoo service.

    I've advised him to either upgrade his installation to v4.37 @ Yahoo, or relocate to another hosting provider and upgrade the installation there.

    In both cases I'm available for such a work, if he needs another pair of hands.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

    • Mihai:

      I would like to see threads that start on the forums end on the forums, or at least be summarized if they are dealt with offline, so the resolution is explained in some way.

      Otherwise people reading the forum discussions looking for a solution may think that the issue was never resolved.

      --Dave Aiello

  • LOL, I made a mistake in my own explanation of how to do markup properly. At least I can correct myself.

    Sorry about that everybody.

    --Dave Aiello

  • Mihai:

    I would like to see threads that start on the forums end on the forums, or at least be summarized if they are dealt with offline, so the resolution is explained in some way.

    Otherwise people reading the forum discussions looking for a solution may think that the issue was never resolved.

    --Dave Aiello

  • When I worked for Six Apart, I handled support requests from customers whose Movable Type-based websites were hosted on Yahoo! Small Business Web Hosting. After6 Services continues to respond to these issues as Six Apart's designated Movable Type Pro Technical Support Provider.

    Since Jay may be using Movable Type on Yahoo! Small Business Hosting, I will make the following statement on behalf of Six Apart, Ltd. and After6 Services LLC:

    At one time Yahoo! Small Business Hosting and Six Apart, Ltd. had a strategic agreement to provide Movable Type software version 3.2 as a key component of the Yahoo! Small Business Web Hosting Control Panel. However, that agreement ended on December 9, 2009. For more details refer to http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/mt/mt-37.html.

    The way Movable Type is installed on Yahoo! Small Business Hosting, the Movable Type instance cannot be upgraded or patched in any way by Six Apart, After6 Services, or any third-party consultant.

    It may be possible for Movable Type to be reinstalled independently for each customer within their individual Yahoo! Small Business Hosting Account, but according to Six Apart and After6 Services support records, this has never been fully explored.

    The recommendation that Six Apart and After6 Services has been providing since 2009 is:

    1) If the version of Movable Type provided by Yahoo! Small Business is sufficient for your needs, you are free to continue to use it.

    2) However, Movable Type 3 has known security vulnerabilities, and is considered beyond its end-of-life for technical support purposes.

    Six Apart and After6 Services recommend that customers migrate away from Movable Type 3.x in general, and Yahoo! Small Business Hosting's installation of Movable Type in particular, for the reasons discussed above.

    --Dave Aiello

    • As a 10 years old movable type veteran, movable type partner and support resource I do also recommend that and I've always advocated for switching from the Yahoo Small Business Hosting movable type solution which IMHO wasn't a very well alternative since its early days.

      I am not here to explain its business failures and I prefer to dedicate my time to other aspects of a daily movable type developer, but I would again strongly recommend Yahoo Small Business Hosting customers to migrate to more professional hosting solutions, such as for instance Pair Networks, Inc.

      Will always be available to help with the migration.

  • I do agree with that Dave! For some reason Jay's coding wasn't published also here, so I've replied him via email, as I've got his coding.

    On a side note, I've always posted updates on the forum even when people have sent me feedback via email, so that all the forum readers could benefit from my advice.

    Thanks,
    Mihai

    • Mihai:

      I know that we are on the same page on this.

      I am just trying to say some of these things very clearly in public, so that everybody who is reading realizes what we are trying to do to make Movable Type a more useful tool for everyone.

      --Dave Aiello

  • As a 10 years old movable type veteran, movable type partner and support resource I do also recommend that and I've always advocated for switching from the Yahoo Small Business Hosting movable type solution which IMHO wasn't a very well alternative since its early days.

    I am not here to explain its business failures and I prefer to dedicate my time to other aspects of a daily movable type developer, but I would again strongly recommend Yahoo Small Business Hosting customers to migrate to more professional hosting solutions, such as for instance Pair Networks, Inc.

    Will always be available to help with the migration.

  • Mihai:

    I know that we are on the same page on this.

    I am just trying to say some of these things very clearly in public, so that everybody who is reading realizes what we are trying to do to make Movable Type a more useful tool for everyone.

    --Dave Aiello

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012