• 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 cana€?t open a€?(null)a€? because Mac OS X doesna€?t recognize Internet addresses starting with a€?(null):a€?.” 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

    Thanks,

    Danny.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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

    (@rdnovo)

    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

    (@rdnovo)

    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.