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.

Comments vanishing

September 17, 2007 7:34pm

Subscribe [1]
  • #1 / Sep 17, 2007 7:34pm

    RichardC

    40 posts

    Hey-ho. Anyone else had any problem with weblog comments vanishing? Just updated to the latest build, but it doesn’t seem to have done anything. Some of my posts are acknowledging there should be comments and showing the header, but not actually displaying the comments themselves.

    There doesn’t seem to be any rhyme or reason behind why - for instance:

    http://www.richardcobbett.co.uk/codex/journal/filingcabinet/warcraft_mage_class_guide/

    was working fine a while ago. More recently, this one:

    http://www.richardcobbett.co.uk/codex/journal/filingcabinet/the_online_con_artists_handbook/#comments

    simply didn’t take comments at all. The others are still fine. Everything’s using the same template, and no clever wackiness.

    Going to try repairing my database tables next (EDIT: Or would, except phpMySQL doesn’t seem to be accepting my password right now) and see if that does anything. It only seems to have started playing up in the last week or so. A few of the next/previous links seem broken too. Just wondering if there was anything else that might be causing this.

  • #2 / Sep 17, 2007 9:18pm

    Sue Crocker

    26054 posts

    Richard, as a non-logged in user, I see the typical comment entry form for non-logged in users.

    But the second link isn’t working at all.

    About the only thing I can suggest you try is to create a very stripped down comments template, and see if those comments show up in that template.

  • #3 / Sep 18, 2007 3:46am

    RichardC

    40 posts

    First thing I tried.

    This template consists of nothing but an empty template, and the comment code straight from the User Guide:

    A working example

    This one should have four comments

    The comments are still in the database, and accessible in the control panel. There’s no markup or anything fancy in any of them, nor in the other couple of posts that have displayed this problem. I’ve switched off the cache and flushed it repeatedly.

    Just tried repairing the database tables. No change.

    Now I’m out of ideas…

  • #4 / Sep 18, 2007 3:55am

    RichardC

    40 posts

    Aaaaah.

    I found the pattern. It looks like the posts were clashing with identically named posts from other weblogs (a story in the Journal section mentioning a new article in the Article Library for instance).

    Fixed by adding a specific weblog to the comment area tags. Thought it’d have worked out what it needed to show by being a SEP, but the poor thing was obviously getting confused.

  • #5 / Sep 18, 2007 10:10am

    Robin Sowell

    13255 posts

    Ah- good catch.  Yep, identical url titles will do that.  Specifying the weblog or using entry id’s rather than titles should solve the problem.  (Could also affect the Next/Prev.)

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

ExpressionEngine News!

#eecms, #events, #releases