WordPress.org

Ready to get started?Download WordPress

Forums

wp-comments-post.php returns blank (11 posts)

  1. jrbutler
    Member
    Posted 9 years ago #

    It is currently impossible to leave a comment on my site. I am running wordpress 1.5 and the comment feature has been running fine until someone pointed out to me today that it ceased to function. The last comment was over two weeks ago, so I don't know exactly when it ended working. I do know however that I didn't do anything out of the ordinary in the past two weeks to my site.

    I checked out related posts on this forum and I still cannot seem to determine the issue.

    My site is at hippobomb.com/blog

    Thank you very much!

  2. Denis de Bernardy
    Member
    Posted 9 years ago #

    http://mosquito.wordpress.org/view.php?id=1181

    please fill as many information as you can so the devs can try to reproduce

  3. goyaboy
    Member
    Posted 9 years ago #

    Same exact thing is happening to me. It seems to have started after upgrading to 1.5 a few days ago. Even old comments that show up in the Manage Comments don't show up in the post. My blog is:
    http://goyaboy.org/blog

  4. injinuity
    Member
    Posted 9 years ago #

    I am also having the exact same issue... http://www.arrogantly.com

  5. First, please upgrade to WordPress v1.5.1.2. Then, try to post a comment. If it still doesn't work, try disabling all active plugins.

  6. injinuity
    Member
    Posted 9 years ago #

    upgraded to 1.5.1.2.... and still its not working... I have come across many users with such an error

    I will post snippets of my comments.php where I think the errors might be

    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">

    <?php if ( $user_ID ) : ?>

    Logged in as /wp-admin/profile.php"><?php echo $user_identity; ?>. /wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>">Logout »

    <?php else : ?>

    <div class="commentforminfo">
    Information for comment users
    Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed.
    Get notified of replies to your comment by ticking the subscribe to comments checkbox.
    </div>

    <label for="author"><small>Name <?php if ($req) _e('(required)'); ?></small></label>
    <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />

    <label for="email"><small>Mail (required) <?php if ($req) _e('but not published'); ?></small></label>
    <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" />

    <label for="url"><small>Website</small></label>
    <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" />

    <?php endif; ?>


    <div id="button">

    <input name="submit" type="submit" tabindex="5" value="<?php _e('Post it!'); ?>" />
    <span class="smaller">
    <input type="checkbox" name="subscribe" id="subscribe" value="subscribe">
    <label for="subscribe">Subscribe to comments </label>| <?php comments_rss_link(__('Comments RSS')); ?> |

    <?php if ( pings_open() ) : ?>

    " rel="trackback">

    <?php _e('TrackBack URI'); ?>

    <?php endif; ?>
    </span>
    </div>

    <?php do_action('comment_form', $post->ID); ?>

    </div>
    </form>

  7. 1. Do you have the same problem with your theme and all plugins disabled?

    2. Do you have the same problem with the Default Theme and all plugins active?

    3. Do you have the same problem with the Default Theme and all plugins disabled?

  8. injinuity
    Member
    Posted 9 years ago #

    1. Yes.

    2. No

    3. No

    As I mentioned above, its got to do something with the lines I posted above.. I messed up somewhere there but its almost identical to the default theme php calls.

    I have read that it could be a problem with some empty spaces but I dont know where to look for these empty spaces

  9. ChristineD
    Member
    Posted 9 years ago #

    If the theme you are using doesn't have a single.php file; try creating one and see if that makes it happy.

  10. injinuity
    Member
    Posted 9 years ago #

    single.php is not necessary.. I think its got to do with the lines I posted above.. somewhere I made a boo boo.. in such situations... only one thing to do... sit,cry and scream for podzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

  11. injinuity
    Member
    Posted 9 years ago #

    yes, I finally figured it out... this was the line that somehow messed up everything..

    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

    once I fixed this error...everything fell into place....

    Mine is a completely custom theme... and hence the chances of errors are huggggeeeeee......anyways all working well now.

    http://www.arrogantly.com

Topic Closed

This topic has been closed to new replies.

About this Topic