Forums

Comments bug (8 posts)

  1. jimmyqc
    Member
    Posted 1 year ago #

    With other themes, I can post comment. But with this theme, the page "wp-comments-post.php" opens, and is blank. It can’t add the comment. What should I do? Thanks.

  2. Arian Xhezairi
    Member
    Posted 1 year ago #

    I'd like to help but unfortunately there's so few information on your post which makes it impossible to.

    A link or specifically the theme name would be helpful though :)

  3. wilson360
    Member
    Posted 1 year ago #

    I have this same problem with the Modern Notepad theme. Blank page when you reach the wp-comments-post.php page. If I change the theme, it works. Once I enable Modern Notepad, the problem starts.

    It's a shame too, this is a great theme.

    (My Wordpress: http://blog.desuer.com)

  4. JamesCZ
    Member
    Posted 1 year ago #

    Hi,

    I have same problem with that theme(modern notepad). Anybody NO REGISTER reader CAN write comment, but ANYBODY REGISTER(include my account) CANT write comment :(

    Any suggestion to fix?

    Thanks!

    PS: Sorry for my English, i am from Czech Republic. ;-)

  5. joshlowe
    Member
    Posted 1 year ago #

    Edit the comments.php file.

    Find the line close to the end of the file that looks like this:

    <input name="submit" type="submit" class="button" id="submit-button" tabindex="5" value="Submit Comment" />

    And change it to this:

    <input name="submit" type="submit" class="button" id="submit-button" tabindex="5" value="Submit Comment" />
    <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

    The problem is that the comment_post_ID was sent when a user was not logged in, but did not get sent when a user is logged in.

    Hope this helps.

  6. jimmyqc
    Member
    Posted 1 year ago #

    Sorry, the theme was Modern Notepad. Thanks a lot joshlowe. The code corrected the error. Again, thank you. :-)

  7. joshlowe
    Member
    Posted 1 year ago #

    No problem... that's the theme I was having the problem with as well.

  8. AirDog
    Member
    Posted 1 year ago #

    Thank you, joshlowe, for solution!!!

Topic Closed

This topic has been closed to new replies.

About this Topic