WordPress.org

Ready to get started?Download WordPress

Forums

Comments are out of order?? (31 posts)

  1. Clifton Griffin
    Member
    Posted 5 years ago #

    http://clifgriffin.com/2008/10/28/simple-ldap-login-wordpress-plugin/comment-page-1/#comment-531

    About a week ago, comments started getting out of order. I'm wondering if I mesed something up with the comment loop.(I converted this theme to 2.7) Any ideas?

  2. Clifton Griffin
    Member
    Posted 5 years ago #

    Anyone have any ideas??

  3. mrmist
    Forum Janitor
    Posted 5 years ago #

    Easiest way to tell is to temporarily switch to the default theme and see if the comments still appear messed up. If they are ok, it's a theme issue.

  4. Rishi
    Member
    Posted 5 years ago #

    I'm having the same issue on my blog: http://rk.md

    Maybe this is a glitch in the comments loop? I never manually converted my previous comments template to 2.7... I just employed the comments_list template tag inherent to the RevolutionTwo theme.

  5. Clifton Griffin
    Member
    Posted 5 years ago #

    I switched to the default theme....the comments are still out of order.

    Any other ideas?

  6. ghalexweb
    Member
    Posted 5 years ago #

    Same probleme here...it is not a theme related issue.
    BTW, everything works fine when I deactivated threaded comments in WP options.
    Help:)

  7. Clifton Griffin
    Member
    Posted 5 years ago #

    Is it possible this is a WP bug?

    It's difficult to troubleshoot when I'm relying solely on WP functions. WP functions that seem to work until a certain number of comments.

  8. ghalexweb
    Member
    Posted 5 years ago #

    Exacly...everything works fine with posts that have just a few comments.

  9. clifgriffin ... I don't see any problems with your page. The comments that are 'out of order' seem to be reply to other comments which is how that's supposed to work.

    Comment 1 - Day 1
      Comment 5 - Day 2 (reply to Comment 1)
      Comment 7 - Day 4 (reply to Comment 1)
    Comment 2 - Day 1
    Comment 3 - Day 2
      Comment 6 - Day 3 (reply to Comment 3)
        Comment 8 - Day 10 (reply to comment 6)
    Comment 4 - Day 2

    Those are 'in' order. If you turn off threaded comments, they zip back to the straight line order.

  10. ghalexweb
    Member
    Posted 5 years ago #

    Ipsteanu - please check this page When I post not as a reply, as a "new comment", it appears in the middle of the page, not in the bottom like it should.

  11. Clifton Griffin
    Member
    Posted 5 years ago #

    Ipstenu, look again...towards the bottom it gets out of order. The nested comments are fine. It's the 0 level comments that get messed up. See Bramus!'s comment. It is immediately after a Dec 23rd comment and immediately followed by a December 2nd comment.

    It makes no sense.

  12. Clifton Griffin
    Member
    Posted 5 years ago #

    I should note that when I view this in the admin interface, the comments are in order.

    So strange!

  13. My post was eaten ... I was trying to ask if this happens on every post or just after a certain number of comments. This is something I'd open a trac ticket about if it's repeatable on multiple posts.

  14. ghalexweb
    Member
    Posted 5 years ago #

    In my case, it only happened with one post with more than 270-280 comments.

  15. ghalexweb, do you have other posts with that number of comments?

  16. Clifton Griffin
    Member
    Posted 5 years ago #

    My post has 20 - 30 posts which is the most I have currently so I have nothing great to compare to.

  17. clifgriffin - Same thing. EVERY post or just this one? What's you're next biggest commented post? I'd test on mine, but my biggest is 30, but it wasn't done with threading so it doesn't count, y'know? :(

  18. Clifton Griffin
    Member
    Posted 5 years ago #

    It's only happened on this post as far as I can tell. Everything else is pre-threading.

  19. Clifton Griffin
    Member
    Posted 5 years ago #

    I lied: this post has 27 comments with threading enabled about half way down.

    All of the posts are in order however.

  20. ghalexweb
    Member
    Posted 5 years ago #

    Ipstenu - no, it's the only one with almost 300 comments.
    I kind of solved this problem.
    So, the comments listing looked like this in my case:

    Comment 1 - Day 1
    Comment 5 - Day 2 (reply to Comment 1)
    Comment 7 - Day 4 (reply to Comment 1)
    Comment 2 - Day 1
    Comment 9 - Day 5
    Comment 10 - Day 6
    Comment 3 - Day 2
    Comment 6 - Day 3 (reply to Comment 3)
    Comment 8 - Day 10 (reply to comment 6)
    Comment 4 - Day 2

    I deleted every comment under day 6 (comment 3, 6, 8 and 4) and now everything works like it should.

  21. Clifton Griffin
    Member
    Posted 5 years ago #

    Deleting comments isn't a very good option though. :)

  22. Clifton Griffin
    Member
    Posted 5 years ago #

    Ipstenu, do you want to open up the bug report or would you prefer I do so?

    I don't see anyway these problems are being created by the user.

  23. I think you should, since if they need debugging, I have no access to do so :) It's really weird, you'd think this would show up on more blogs if it was prevalent.

  24. ghalexweb
    Member
    Posted 5 years ago #

    Another post with this issue occured on my site (178 comments this time) ... Something is wrong, i disabled all my plugins but the problem persists. Only if I disable threaded comments, they show up in order.

  25. ghalexweb
    Member
    Posted 5 years ago #

    I have found a pattern for this problem.
    1. Doesnt't matter how many comments you have;
    2. Doesnt't matter what theme you have installed;
    3. Comments show up in order if you disable threaded comments;

    By default, most of the themes with threaded comments support have that "Reply" button removed when a comment reaches 3/4/5 (depending of your options) levels of comments. That's great but how about the edit_comments.php section from the admin area? The reply link is still there even if you reach your selected number of levels.
    So, if you reply to a comment that has reached the max numbers of comments, from the admin area, this comment will show up in the bottom of the page and messes everything up.
    I've made a test post to see what i mean, i can easily replicate the problem.

    Very sorry for my bad english, i hope you guys can understand what i have just said:)

  26. Clifton Griffin
    Member
    Posted 5 years ago #

    Excellent! That makes perfect sense...I believe I adjusted the level of threading allowed after this particular post already had a fair number of comments.

    Great work.

  27. Clifton Griffin
    Member
    Posted 5 years ago #

    I have opened up a trac ticket:

    http://trac.wordpress.org/ticket/8841#preview

    Please note any additional information there.

  28. ttk_2k
    Member
    Posted 5 years ago #

    I don't know if there has been a solution to this issue,
    I'm having the same problem, I have only 2 levels, and I didn't reply to any comment thru the admin area, but now i've noticed that some comments are out of order.. :(

  29. ttk_2k
    Member
    Posted 5 years ago #

    OK, strange enough, after looking into the database I found that the improperly ordered comment was posted to a 2nd level comment by a user who doesn't even have any back-end privilege. How can he do that, since I've already set that only 2 levels of comments are allowed, and he should see no button to click and reply to the comment which is already on the 2nd level.

    The user is using IE8.

  30. c.bavota
    Member
    Posted 5 years ago #

    I've encountered this issue on one of my posts and I think I discovered the cause.

    The problem is that I have been responding to certain comments through the admin and some of these comments are already threaded under other comments. It was all my fault.

    I had to go into the database and just remove the comment_parent value from my comments that were causing the problem and everything went back into place.

    Hope that helps.

Topic Closed

This topic has been closed to new replies.

About this Topic