default userpic

0 comments when I have comments?

Vote 0 Votes

I'm running the 4.2 beta, and I'm a little confused as to why my blog is showing "0 comments" when there are actually comments. The front page www.raccoonfink.com says "No comments" for the first post ("KDE 4.1 Beta 1 for Mac OS X"), but it has one comment.

If you click through, the entry says "No Comments" but then has an openid comment right after.

Any ideas? Is something messed up in my database?

5 Replies

| Add a Reply
  • Ranger Rick!

    My guess is that the issue is in the blog templates. Can you show me the MTML (Movable Type Markup Language) that is outputting the phrase "No Comments"?

    It should be something like:

    <$mt:EntryCommentCount singular="1 Comment" plural="# Comments" none="No Comments"$>
    
  • This is what it is in that section:

    <MTUnless name="hide_counts" eq="1">
            <MTIfCommentsActive><span class="separator">|</span> <a href="<$MTEntryPermalink$>#comments"><$MTEntryCommentCount singular="1 Comment" plural="# Comments" none="No Comments"$></a></MTIfCommentsActive>
            <MTIfPingsActive><span class="separator">|</span> <a href="<$MTEntryPermalink$>#trackbacks"><$MTEntryTrackbackCount singular="1 TrackBack" plural="# TrackBacks" none="No TrackBacks"$></a></MTIfPingsActive>
    </MTUnless>
    
  • Hmmm... the MTML looks correct. One thing that I noticed on your site is that the entries that have comment, but say "no comments" only have comments from users authenticating with OpenID. Entries with comments from local users display comment counts correctly.

    • What happens when you add a comment from a local user to the most recent entry?
    • Does this same issue occur with a fresh blog install?
  • Bizarre. Now it says "2 comments". And, if I delete that comment, it properly says "1 comment".

    I was running a previous 4.15 beta when that comment was made, maybe something got cached wrong?

Add a Reply

Forum Groups

7 9

Last Topic: make type bigger/smaller icons don't work by Tom M on Sep 1, 2008

76 222

Last Topic: Blank Entry Editor & other Javascript Problems by Melissa on Sep 17, 2008

57 184

Last Topic: create feedback page by document on Sep 16, 2008

14 42

Last Topic: Dashboard Widgets by rm_blogger on Sep 7, 2008

29 74

Last Topic: comments script confusion by hintoflime on Sep 13, 2008

7 18

Last Topic: Submit Comment by Carla on Sep 6, 2008

10 32

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

code.sixapart.com

28 74

Last Topic: Search Error by Toni Hambilton on Sep 13, 2008