WordPress.org

Ready to get started?Download WordPress

Forums

comments-popup.php -- cannot post comments (20 posts)

  1. 5115
    Member
    Posted 6 years ago #

    I have setup a site of mine to have the comments pop-up. I have run into an issue in the pop-up window: when I try to post a comment it takes me to a blank page. No redirect or comment after I re-launch the pop-up window. I also get no errors with this.

    Why is this not working right?

    Thanks in advance for any assistance with this.

  2. 5115
    Member
    Posted 6 years ago #

    Can someone assist me with this? Let me know if I need to be more specific.

  3. 5115
    Member
    Posted 6 years ago #

    yup. this is a bump.

    But to describe more of my situation: When I have the <?php comments_popup_script(); ?> enabled in my header file I am able to launch the comments popup window just fine, but it does not allow me to post comments. It simply takes me to a blank page after I hit submit.

    How do I fix this?

  4. 5115
    Member
    Posted 6 years ago #

    Anybody know how to solve the above?

  5. 5115
    Member
    Posted 6 years ago #

    Does anyone know how to solve the above? I would appreciate some help.

  6. Simon Dickson
    Member
    Posted 6 years ago #

    bump... I'm seeing the same problem.

    As part of a custom theme idea, I'd like to use the 'comments popup' functionality, specifically using the ?comments_popup=(ID) option, to display comments and accept new ones via an iframe.

    I have an old local installation of v2.1, and it's working absolutely fine.

    But I've tried several installations of 2.3.x, as well as v2.5RC1 and even wordpress.com, and none of them work.

    As 5115 described, when you submit a comment, you get a blank screen back. The browser address box shows 'wp-comments-post.php'.

    (The comment doesn't seem to be received properly; it certainly doesn't show on the admin dashboard.)

    Does this mean 'comments_popup' is now redundant functionality?

  7. Simon Dickson
    Member
    Posted 6 years ago #

    Quick update... this problem seems to be directly related to whether or not you're logged in.

    If I'm already logged into my own site, and I post a comment, I get the blank screen. But if I log out and try to comment as an outsider would, it works OK.

  8. andythology
    Member
    Posted 6 years ago #

    I am seeing the same problem here to, exactly like what 5115 has said.

    I wonder why there's no reply on this issue!

  9. xutecientifico
    Member
    Posted 6 years ago #

    the same problem here... using wordpress 2.5 when i'm logged in on http://www.xutecientifico.com.br i just cant comment...

  10. andythology
    Member
    Posted 6 years ago #

    until today, there's still no response from anyone yet! i wonder.

  11. andythology
    Member
    Posted 6 years ago #

    i tried whats1m0nd say, yes! it works if i'm not logged in. Somebody please help!

  12. Simon Dickson
    Member
    Posted 6 years ago #

    Glad it's not just me. :) Having diagnosed the problem fairly accurately, let's hope it gives the guys enough to hunt down the problem. I've logged it on trac, but there's been no further update since.

  13. birdyoshi
    Member
    Posted 6 years ago #

    so many people have this same problem... no answer from WP.... nothing... it would be so nice if one of them just replied and said "we're looking at it and we don't know the answer".... but no... silence... *sound of wind swooshing through the trees*

  14. S4nnom
    Member
    Posted 6 years ago #

    I have exactly the same problem with WP 151.... !

  15. RoostersRail
    Member
    Posted 6 years ago #

    I'll chime in with a same here as far as getting the blank screen on posting a comment. Thing is that only 1 post is affected. Which is quite strange. Changing the name of the post and the date does not fix it either.

  16. divageek
    Member
    Posted 6 years ago #

    me too...ok so how many months does it take to get an answer??????

    http://www.divageekdesigns.com

  17. divageek
    Member
    Posted 6 years ago #

    Looks like there was an answer posted by a member that seems to work for some..

    http://plugins.baptiste.us/wordpress/blank-pages-when-posting-comments-in-wordpress/

  18. chrisyewchuk
    Member
    Posted 6 years ago #

    I was experiencing the same problem, and upon inspecting the code for comments-popup.php, I found that two of the hidden form fields are not being written to the page if the admin is currently logged in. I moved these form fields out of the if/then block, and I am now able to post comments while logged in as admin.

    Look for the following two lines around line 65 of comments-popup.php:

    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
    <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($_SERVER["REQUEST_URI"]); ?>" />

    And move them down ten lines or so below the line containing:

    <?php endif; ?>

    Hope that helps!
    Chris.

  19. dreamdive
    Member
    Posted 5 years ago #

    I had the same problem and I took your advice chrisyewchuk, and it worked fine for me....many thanks

  20. dewaji
    Member
    Posted 5 years ago #

    Planned to use commentpopups on WP 2.6.2 I hope there's no problem if I using this code.

Topic Closed

This topic has been closed to new replies.

About this Topic