WordPress.org

Ready to get started?Download WordPress

Forums

comments are screwed (25 posts)

  1. Jase
    Member
    Posted 8 years ago #

    I dont have a clue what has gone wrong with my blog, but for some stupid reason the comments are broken, they dont display or anything

    please help me fix it!!!

    my blog: http://jase.betaxp.net

  2. bob58
    Member
    Posted 8 years ago #

    What exactly is going wrong ?
    I see older comments (i.e. at You've got mail) ... is the problem, that new ones do not appear ?

    May it be, that they are marked as spam or waiting for moderation ?

  3. Jase
    Member
    Posted 8 years ago #

    new comments dont show, i have checked the moderation out, and its all fine, they seem to show when you go into the post but on the frount page it stays as 0 comments.

  4. bob58
    Member
    Posted 8 years ago #

    Which version of WordPress are you using ?
    And what does the code for displaying the number of comments in your template look like (I think, it's in index.php) ?

  5. Jase
    Member
    Posted 8 years ago #

    i am using: 2.0-RC1

    and i dont know what code you are talking about.

  6. bob58
    Member
    Posted 8 years ago #

    I read, you just have recently installed ecto. Is it possible, that ecto screws up the field comment_count in the table wp_posts ?
    As far as I got it, the number of comments is taken from that field, not from counting the comments.

  7. Jase
    Member
    Posted 8 years ago #

    wow, i didnt know that..... do you think its ecto, if so how can this be fixed?

  8. bob58
    Member
    Posted 8 years ago #

    Sorry, but I have no Idea, how ecto works ... it might be a problem with the RC of WordPress as well as a problem with ecto in general.

    Can you have a look into themes -> theme editor -> main index page ? There is a line which usually generates the comment link and count (maybe comment_popup_link(...)).

  9. Jase
    Member
    Posted 8 years ago #

    its not ecto, i just made a post using wordpress admin and still nothing there is somthing wrong with wordpress itself, i tried to downgrade wordpress but then it all broke... i dont know what to do.

  10. bob58
    Member
    Posted 8 years ago #

    It's problematic using the RC for a productional blog (I do so, but I'm living on the edge ;-)).

    Did you have this problem since upgrading to 2.0 RC1 or did it occur later ?

    Downgrading without a DB backup is nearly impossible. Go back to RC1 and try one additional thing: Use the standard theme and see if it displays the comment count correctly.

  11. Jase
    Member
    Posted 8 years ago #

    i downgraded and it seems to work then when i insert the database it says that it needs reinstalling and what not, i didnt have this problem before it started happening last week and i have not done anything since then, if it is my build of WordPress is there going to be a fix soon, i realy cant have a blog site without working comments.

  12. bob58
    Member
    Posted 8 years ago #

    Can you just send me the code from index.php (see above) to bobsblogger at gmail dot com ?

    Maybe, I can see something's goind wrong ...

  13. Jase
    Member
    Posted 8 years ago #

    okay sure thing

  14. Jase
    Member
    Posted 8 years ago #

    hmm it does not seem to be the themes as i changed them all and nothing happend.

    so sending the index.php from the themes folder would be useless.

  15. bob58
    Member
    Posted 8 years ago #

    Do you have access to your database ?
    There must be a difference between the older and the new entries (the ones with correct amount of comments and the ones with zero).

  16. Jase
    Member
    Posted 8 years ago #

    i just sent you an email of the index.php for the theme, i dont know but maybe you can do somthing from it.

  17. bob58
    Member
    Posted 8 years ago #

    The only thing I can tell you is: Your theme works quite the standard way ...

    Hah! I have an idea, when updating to 2.0 RC1, did you run /wp-admin/upgrade.php ???

    The comment_count is a new field for Release 2 ...

  18. Jase
    Member
    Posted 8 years ago #

    yes i did.

  19. bob58
    Member
    Posted 8 years ago #

    Damn it !
    I'm out of ideas, sorry.

    Have you access to your database ?
    There has to be something different ...

    How did you do the upgrade ?
    Did you delete the installed files before upgrading to 2.0 ? Maybe there is some 1.5.2 file writing the comment in a way, 2.0 cannot find it in the count function ...

    As I said: Out of ideas ...

  20. moshu
    Member
    Posted 8 years ago #

    A warning for everybody who reads this:
    DO NOT USE beta versions on a live site. It was released to be tested on test sites, not to increase the help requests in the forum.

  21. Jase
    Member
    Posted 8 years ago #

    ok so how can i downgrade then?

    i have backed up my database, and i will use a stable version but when i upload the database it does not help at all.

  22. Jase
    Member
    Posted 8 years ago #

    ok i installed a a stable version of wordpress but now when i upload my old database i get this: It doesn't look like you've installed WP yet. Try running install.php.

    and when i do that i get this:

    Already Installed

    You appear to have already installed WordPress. To reinstall please clear your old database tables first.

    what is going on, why cant i upload my old database with a stable version of wordpress?

  23. Jase
    Member
    Posted 8 years ago #

    i went back to the beta and now when i try post a comment this comes up:

    Fatal error: Call to undefined function: wp_new_comment() in /home/betaxpne/public_html/staff/jase/wordpress/wp-comments-post.php on line 51

  24. stonegauge
    Member
    Posted 8 years ago #

    I've had this error pop up on several of my blogs at various times over the last few days -- even with WordPress 2.0.1

    Currently, try to post a comment on http://www.boltsmag.com and you'll get the error. I can't figure out how to fix this or where the conflict might be.

  25. stonegauge
    Member
    Posted 8 years ago #

    I truly have no clue what caused teh error -- I haven't been working on files on my site lately - but simply overwriting my WP Install files with the files that came with the 2.0.1 zip did the trick.

    Working fine again now.

Topic Closed

This topic has been closed to new replies.

About this Topic