WordPress.org

Ready to get started?Download WordPress

Forums

Comments not working, goes to blank page. (41 posts)

  1. a9
    Member
    Posted 9 years ago #

    This is a strange problem and just started occuring not long ago for no apparent reason, my comments used to work but one day just stopped!

    When anyone tries to submit a comment in either FF or IE it just goes to a blank wp-comments.php page

    I have no plugins installed and does not work in the default theme either. I upgraded to 1.5.1 and this did not fix it either.

    The address of my wp install is http://randomo.ocel.co.uk if anyone wants to test it out for themselves.

    I appreciate any help anyone has to offer.
    Thanks.
    Alex.

  2. Denis de Bernardy
    Member
    Posted 9 years ago #

    To those who try commenting the blog and get a blank page:

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

    Please state any or all relevant information to help the dev team track where this bug comes from, including OS, browser, privacy settings, connection type, and anything you think could be causing it

  3. www.onlinecasinoselite.com
    Member
    Posted 8 years ago #

    The problem as I see it is this code in wp-post-comments.php:

    [code]
    $location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];
    wp_redirect($location);
    [/code]

    Which means that if your browser does not send referrer headers, then posting a comment will leave you with a blank page.

    I have tested and confirmed this in version 1.5.12

    Jules

  4. goljadkin
    Member
    Posted 8 years ago #

    I recently gave a look to other forums related, but this problem seems not to have a unique, tested and widely confirmed solution yet. Why?

  5. eddx
    Member
    Posted 8 years ago #

    I have this same problem... :(

    All my users email me complaining!

  6. Fence
    Member
    Posted 8 years ago #

    I had the same problem. In the end I had to reset my permalinks back the default. I had changed them ages ago to /index.php/%year%/%postname%/

    This bug came out of nowhere though. I haven't changed anything in a while and suddenly the comments stopped working.

  7. amanda1973
    Member
    Posted 8 years ago #

    Same here. My problems started after upgrading to 1.5.2 a couple days ago.

  8. amanda1973
    Member
    Posted 8 years ago #

    I'm actually getting the blank page after making an admin post, and after deleting posts.

  9. shivian
    Member
    Posted 8 years ago #

    I found it was a 2 fold problem. First, comments were not entering my database and I was getting a blank page. To have comments be entered I had to make my URI "www.shivian.com/blog" not just "shivian.com/blog" - this made comments appear in my database, however I still got a blank page. I found that this was because of the HTTP referer issue, hence I created the following simple hack which works for me, hopefully it will work for you. If it has a big hole it in or somthing (not a PHP guru, just enough knowledge to know how to modify stuff) please let me know. Thanks and goodluck to you all!

    // origional
    // $location = (empty($_POST['redirect_to'])) ? $_SERVER["HTTP_REFERER"] : $_POST['redirect_to'];

    // shivian.com hack
    $location = $_SERVER['HTTP_REFERER'];

  10. mistercharlie
    Member
    Posted 8 years ago #

    shivian - i take it i should place that in my wp-comments-post.php page? don't know if i am experiencing the same issue - please have a look at http://botwblog.org

    upon commenting, you are redirected to the index, with the data from the comments in the address field...

  11. brom
    Member
    Posted 8 years ago #

    The problem I am having is almost the same - that is, my readers can comment, but after they press the 'submit'-button, they are redirected to a blank page. Not actually as irritating as not being able to comment, but still, a few users has complained.

  12. Sarah
    Member
    Posted 8 years ago #

    I have the same problem and it just started happening. I looked and found that it is dying on the call to wp_new_comment() in wp-comments-post.php. But, I can't find where this function is defined. I am using 1.5.2 and the URL is http://www.roythepug.com if anyone wants to see.

  13. Do the comments work properly if all of your plugins are disabled?

  14. Sarah
    Member
    Posted 8 years ago #

    The comments worked with the plugins disabled. I wonder why this would start happening all of a sudden?

  15. Disable the plugins one-by-one until you find the cause of the issue.

  16. buscar
    Member
    Posted 8 years ago #

    I have de same problem (comments go to blank page). I use wordpress 1.5.2, php 5.0.4 and mysql 4.0.26 at http://www.hiades.net. I have disabled all plugins, I have the same WordPress address and Blog address (URI) (www.hiades.net), I made some tests changing the same lines that shivian but the comments don't run. Anybody can help me?

    Thanks

  17. richtagg
    Member
    Posted 8 years ago #

    Hi, I have just recently installed WP and 2.0 and I'm having this problem.

    I just get a blank page when I try to post a comment.
    I've tried adding the referrer hack mentioned above, but it doesn't like it.

    Has anyone come up with a solution for this?

  18. eula
    Member
    Posted 8 years ago #

    jumping on the thread. having the same problem. tried shivian's hack to no avail.

  19. richtagg
    Member
    Posted 8 years ago #

    Yeah, I've been looking on the bugs site for this problem and I can't see it reported there so will add it.

    I hope that I can find a fix for this problem soon, my visitors are complaining :-s

    Cheers
    Rich

  20. KellyAngel
    Member
    Posted 8 years ago #

    any solutions yet, i am using wp 2.2 i have gm up right now as a back up til I get my comment working ... http://www.angel-trash.org/wordpress

  21. Hops
    Member
    Posted 8 years ago #

    I am having the same problem -- posted in a different thread before i found this one. Ideas???

  22. Hops
    Member
    Posted 8 years ago #

    Well, I turned off plugin "Spam Assasin" (redundent now with askimet), and now my comments work just fine.

    Thanks for the plugin suggestion, macmanx.

  23. richtagg
    Member
    Posted 8 years ago #

    Hi, finally worked out where I was going wrong.

    I've been using an old mallow theme and this did not have the necessary hook in the comments.php.

    I downloaded the latest version and the problem resolved itself.

  24. jansenma
    Member
    Posted 8 years ago #

    Same problem for me happened a couple of weeks ago. My site was working fine, then visitors began to complain that leaving comments brought them to a blank page. I tried updating my theme to the newest version and disabling all my plugins and it still isn't working.

    http://openbod.com

  25. fokss
    Member
    Posted 8 years ago #

    Solution!
    I have 4 blogs in my server and one had this problem, I had to change the database... Them it worked perfectly!

  26. rpfilms
    Member
    Posted 8 years ago #

    Found out my problem. Don't know the exact solution, but disabling the my shoutbox plugin helped.

  27. darniaq
    Member
    Posted 8 years ago #

    Been having the same problem. Reverting to the default Theme helped. Now I just need to dig into the comments.php file to see why the Theme I heavily modified (Pool) *doesn't* work.

    Update: got it to work. I simply copy/pasted the contents of the default theme's comments.php file to my theme's comments.php file. Works perfectly now!

    (Darniaq.com in case anyone cares ;) )

  28. GaryKing
    Member
    Posted 8 years ago #

    I have the same problem. Disabling Akismet fixed it. What's going on?

  29. spyderkl
    Member
    Posted 8 years ago #

    I'm having that problem myself. Disabling Akismet hasn't fixed it, though. I'm going to try a different template and see if that will work.

  30. taidoblog
    Member
    Posted 8 years ago #

    http://taidoblog.com

    same issue. i just updated from 2.0.2 to 2.0.3 and this was the result. no otehr changes have been made, but askimet and plugins don't seem to change anything. the theme is correctly coded.

Topic Closed

This topic has been closed to new replies.

About this Topic