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

---

# Posting comments returns a blank wp-comments-post.php

 *  [rdnovo](https://wordpress.org/support/users/rdnovo/)
 * (@rdnovo)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/posting-comments-returns-a-blank-wp-comments-postphp/)
 * Hello all.
 * Time crunch here. Needed a quickie guestbook, thought, I know WordPress, this’ll
   work great. All is good, except that when trying to post a comment, I get a blank
   wp-comments-post.php page, and the comment does not get added.
 * IE/Win just dies on that page. Safari returns the error, “Safari canâ€™t open
   â€œ(null)â€? because Mac OS X doesnâ€™t recognize Internet addresses starting
   with â€œ(null):â€?.” before dying.
 * I *have* read the forum. I have no extra plugins beyond the vanilla 1.5 install.
   I have modified the default theme (index, single, footer, header, sidebar). I
   have replaced the theme’s comments.php file with a virgin file from a new download
   of WP 1.5, in case I did something to it. No dice. I have replaced wp-comments-
   post.php with fresh version from a new download. (Some postings suggest replacing
   wp-comments.php as well ,but I can’t find that file in WP 1.5) No dice.
 * I am a little desperate here.
 * Here is the comment post:
 * [https://people.creighton.edu/~rdn31048/mcgloin/?p=3](https://people.creighton.edu/~rdn31048/mcgloin/?p=3)
 * Thanks,
 * Danny.

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

 *  [pfleming](https://wordpress.org/support/users/pfleming/)
 * (@pfleming)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/posting-comments-returns-a-blank-wp-comments-postphp/#post-167672)
 * Make sure there are no white spaces before or after your php tags <?php and ?
   >
    I just cleaned my site of this problem. I watched the error logs and it kept
   referring to headers already sent. By default headers are sent when there are
   spaces above or below your php tags.
 *  Thread Starter [rdnovo](https://wordpress.org/support/users/rdnovo/)
 * (@rdnovo)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/posting-comments-returns-a-blank-wp-comments-postphp/#post-167677)
 * Okay, I saw this suggestion go by in the forums, and I took a look at it before
   making my initial post. I guess I don’t know what you mean.
 * In which files should I do this? The theme files I have modified? The wp-comments-
   post.php file (which I have not modified)? All files in my wordpress install?
 * And by “white spaces” I assume you mean “spacebar characters”, right? Above, 
   below, before, after? I am terribly confused.
 * Danny.
 *  Thread Starter [rdnovo](https://wordpress.org/support/users/rdnovo/)
 * (@rdnovo)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/posting-comments-returns-a-blank-wp-comments-postphp/#post-167720)
 * Okay, I figured it out. The blog is on a secure server (https) but in my Options,
   I had it listed as http. Add an s (for “super” my admin tells me) and it is all
   better.
 * Thanks anyway.
 * Danny.

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [rdnovo](https://wordpress.org/support/users/rdnovo/)
 * Last activity: [21 years, 3 months ago](https://wordpress.org/support/topic/posting-comments-returns-a-blank-wp-comments-postphp/#post-167720)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
