WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Some people can't comment - get blank wp-comments-post.php page (29 posts)

  1. RunningSpirit
    Member
    Posted 5 years ago #

    I've been having a problem with my comments since January. For some reason one day they just stopped working.

    If I log into the admin panel I can comment on my own posts. However if I log out and try to leave a comment I get a blank wp-comments-post.php page. I have tried to re-install version 2.7.1 to see if that helped but it didn't.

    Can anyone help?
    My blog url is - http://www.unique-honor.net/

  2. dlmfisher
    Member
    Posted 5 years ago #

    I looked at your site and see no problems. I click on comment and see the post and the comment block.

  3. RunningSpirit
    Member
    Posted 5 years ago #

    Yes you can see the comment block however if you try to leave a comment it takes you to a blank page and the comment won't show up.

  4. RunningSpirit
    Member
    Posted 5 years ago #

    Can anyone help me?

  5. RunningSpirit
    Member
    Posted 5 years ago #

    Anyone at all?

  6. dlmfisher
    Member
    Posted 5 years ago #

    I think a file is missing from your install. I emailed you about it using the email address listed on your site yesterday or the day before.

  7. RunningSpirit
    Member
    Posted 5 years ago #

    I checked the file and it is there.

  8. RunningSpirit
    Member
    Posted 5 years ago #

    bump. Can someone PLEASE help me figure this out?

    I've checked the page and it's there. There doesn't seem to be anything missing from the file!

  9. davesnothere
    Member
    Posted 5 years ago #

    I've got the same issue. Things work fine on my development box, but not on the clients. Same WP install, 2.7

  10. t31os
    Member
    Posted 5 years ago #

    Seems to me that the comment form is the problem...

    If you have a comments.php in your theme, try just renaming it temporarily so it defaults to the default themes comments.php

    If the problem goes away then you know where the problem is...

  11. davesnothere
    Member
    Posted 5 years ago #

    Probably not the best solution, but if this is a showstopper -- most likely is ;) -- and you need a workable hack, here's what worked for me:

    1. open wp-comments-post.php (this is in the wordpress root.)
    2. at the bottom, line 88 for me (wp 2.7), comment out wp_redirect($location);
    3. replace it with header("Location:$location");

    So, you should have this at the end:

    #wp_redirect($location);
    header("Location:$location");

    CAUTION, this most likely will not survive an update and will have to be redone.

    Anyone know where the wp_redirect function lives?

  12. t31os
    Member
    Posted 5 years ago #

    wp-includes\pluggable.php

    Line 834

  13. RunningSpirit
    Member
    Posted 5 years ago #

    Thanks for the suggestions I'm off to try them out!

  14. RunningSpirit
    Member
    Posted 5 years ago #

    I tried doing what you suggested and it still comes up with a blank page.

    http://www.unique-honor.net/wp-comments-post.php

  15. RunningSpirit
    Member
    Posted 5 years ago #

    I also renamed comments.php in my theme's folder and now when I try to comment it keeps telling me that my e-mail isn't vaild even through I know it is.

  16. RunningSpirit
    Member
    Posted 5 years ago #

    I have the opposite problem. I can comment logged in but can't comment when I am logged out.

  17. kavitamm
    Member
    Posted 5 years ago #

    I have same problem as Deceth, I can not comment while logged in. RunningSpirit and Deceth, did you find out why this is happening.

  18. rafikmassoud
    Member
    Posted 5 years ago #

    i was having the same problem. found this and solved my problem. thought it might help:
    http://wordpress.org/support/topic/228247

  19. robbaker
    Member
    Posted 5 years ago #

    Wow. Okay, first I want to make it clear that I'm not trying to knock any of the members here...apparently, there are many of us in the same boat. I also understand that this is a free program, so I'm not trying to make any undo demands here

    but...

    This is where I was directed for support. Where the hell is the support on this issue? I have seen this particular bug popping up on more and more blogs by the day. Blogs that I used to comment regularly on now no longer show anything but a blank page when I attempt to leave a comment. I have the same problem on my own blog. Some visitors can leave comments, others can not. This is very frustrating from both ends, as an admin of my own blog and as a visitor of other blogs.

    This seems like a pretty big bug and so widespread that you would think someone who has their hands in the project could help to resolve. I have searched this "support" forum and am finally frustrated enough to quit searching. All I can find on here is post after post "Not resolved." I ask again. Where the hell is the support?

    Someone with some knowledge of the problem should lend a hand to help resolve this issue once and for all. Either that or maybe just take the easier road and rename this forum the "Gripe about your problem and get no support" forum. But for crying out loud, let's put this in perspective here. This particular thread was started 4 months ago and is still unresolved. Need I ask again?

    If an administrator or a moderator cannot help me to resolve this issue, can someone please at least tell me where I can go to get support?

  20. Samuel B
    moderator
    Posted 5 years ago #

    This particular thread was started 4 months ago and is still unresolved. Need I ask again?

    hardly anyone comes back and resolves the threads they start and you have jumped in the middle of a thread that is sort of old
    why didn't you start your own thread?
    Also as this is volunteers only - your gripes are grating to us that spend a lot of time trying to help. If wordpress does not work for you - use something else.
    If you want to be patient and ask for help instead of thinking your problem is paramount it may happen.
    Almost 1.5 million downloads of 2.8 and way less than 1% have problems sort of belies your - "this is a widespread problem" argument.

    Now if you really want help - start a thread with a concise explanation of problem and things you have done to deal with it.

  21. Cool Free Games
    Member
    Posted 4 years ago #

    I have noticed this problem a lot of websites, however i haven't had any problems with my wordpress installation...

    Perhaps its some plugins that cause the blank page to appear... Or then again perhaps the theme that you've installed modified something in comment posting... be sure to check if its some spam comment filtering plugin that stops bots in their way that is reacting by putting out a blank page or it is the theme...

    Try removing all or installing some new things... If i get the problem on my blog later on and i resolve it, i will let you know...

    Hope this helps...

  22. bsmooth
    Member
    Posted 4 years ago #

    I encountered the same problem while upgrading a theme for threaded comments capability.

    Then I moved the

    <?php comment_id_fields(); ?>

    after the submit buttons and before </form> and it worked fine.

  23. justinmyoung
    Member
    Posted 4 years ago #

    I'm having the same trouble, except only in a new page I created...the single.php page is working fine. but when I attempt to use the <?php comments_template(); ?> on a page I created, it goes to a blank page...

  24. Rebecca Putinski
    Member
    Posted 4 years ago #

    When I was making my comment form, I disregarded the comment_id_fields() function as it seemed to only be for the fancy javascript stuff I wasn't interested in. Upon closer inspection, it's incredibly important to the functionality of the comment for.

    I added a comment_id_fields() before the end of the form tag, and my comment form suddenly works, and does not redirect me to wp-comments-post as a blank page.

    If you read: http://codex.wordpress.org/Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display, it will tell you that comment_id_fields() serves to let the wp-comments-post file know what to do with your input by providing the post ID and parent comment (for those with threading).

  25. RunningSpirit
    Member
    Posted 4 years ago #

    For those who posted on my blog I have NO idea how it fixed its self. I updated my blog to the new version of WordPress and the issue corrected its self.

    Every now and then I get the SAME problem for a week and then it goes away. I am getting to frustrated with WP.

  26. nublooo
    Member
    Posted 4 years ago #

    This problem can occur when you are logged in to WP as an administrator and are viewing a post that is not published, but has the post_status set as a draft. This, combined with custom permalinks being set for posts (such as /%category%/%postname%), can cause wp-comments-post.php to go blank. I know this because I too have stared at the blank screen and didn't know why the hell it would do that.

    There are quite a few themes which e.g. display five random posts in the sidebar or footer (hardcoded widget), and where the post's status isn't checked prior to retrieving it from the database. I think this might be the issue for a lot of you who posted here - scenario: you are logged in and view a post. Then you log out of WP in one browser tab, but don't refresh the post in the other tab. When you try to post a comment like that, your "logged" cookie has already been nuked and you wouldn't be seeing the post (draft) in the first place. That is why wp-comments-post.php ends up not being able to process the comment.

    I hope this helps some of you.

  27. liuxyon
    Member
    Posted 4 years ago #

    davesnothere
    Member
    Posted 7 months ago #
    Probably not the best solution, but if this is a showstopper -- most likely is ;) -- and you need a workable hack, here's what worked for me:

    1. open wp-comments-post.php (this is in the wordpress root.)
    2. at the bottom, line 88 for me (wp 2.7), comment out wp_redirect($location);
    3. replace it with header("Location:$location");

    So, you should have this at the end:

    #wp_redirect($location);
    header("Location:$location");CAUTION, this most likely will not survive an update and will have to be redone.

    Anyone know where the wp_redirect function lives?

    OK. the way has may fix in WP2.8.5

    Have you find better others ways?

  28. danmld
    Member
    Posted 4 years ago #

    i had the same problem.. in explorer

    into the wufoo.js edit this lines:

    //var activeForm = document.getElementsByTagName('form')[0];
    //addEvent(activeForm, 'submit', disableSubmitButton);

    it works fine now

  29. m_vijayreddy
    Member
    Posted 4 years ago #

    I came across same problem. I am using word press 2.9 version.
    only admin can post comments , when others do, page goes blank. or it shows the "sorry ..." error message.

    Help would be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic