Title: wp-comments-post.php returns blank
Last modified: August 18, 2016

---

# wp-comments-post.php returns blank

 *  [jrbutler](https://wordpress.org/support/users/jrbutler/)
 * (@jrbutler)
 * [21 years ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/)
 * 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!

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [Denis de Bernardy](https://wordpress.org/support/users/denis-de-bernardy/)
 * (@denis-de-bernardy)
 * [21 years ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204224)
 * [http://mosquito.wordpress.org/view.php?id=1181](http://mosquito.wordpress.org/view.php?id=1181)
 * please fill as many information as you can so the devs can try to reproduce
 *  [goyaboy](https://wordpress.org/support/users/goyaboy/)
 * (@goyaboy)
 * [21 years ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204249)
 * 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](http://goyaboy.org/blog)
 *  [injinuity](https://wordpress.org/support/users/injinuity/)
 * (@injinuity)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204819)
 * I am also having the exact same issue… [http://www.arrogantly.com](http://www.arrogantly.com)
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204820)
 * 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.
 *  [injinuity](https://wordpress.org/support/users/injinuity/)
 * (@injinuity)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204821)
 * 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 ) : ?>
 * 
 * <?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() ) : ?>
 * 
 *  <?php _e('TrackBack URI'); ?>
 *  <?php endif; ?>
    </span> </div>
 * <?php do_action('comment_form', $post->ID); ?>
 * </div>
    </form>
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204822)
 * 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?
 *  [injinuity](https://wordpress.org/support/users/injinuity/)
 * (@injinuity)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204823)
 * 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
 *  [christined](https://wordpress.org/support/users/christined/)
 * (@christined)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204824)
 * If the theme you are using doesn’t have a single.php file; try creating one and
   see if that makes it happy.
 *  [injinuity](https://wordpress.org/support/users/injinuity/)
 * (@injinuity)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204825)
 * 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
 *  [injinuity](https://wordpress.org/support/users/injinuity/)
 * (@injinuity)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204826)
 * 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](http://www.arrogantly.com)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘wp-comments-post.php returns blank’ is closed to new replies.

## Tags

 * [wp-comments-post.php](https://wordpress.org/support/topic-tag/wp-comments-post-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 6 participants
 * Last reply from: [injinuity](https://wordpress.org/support/users/injinuity/)
 * Last activity: [20 years, 12 months ago](https://wordpress.org/support/topic/wp-comments-postphp-returns-blank/#post-204826)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
