WordPress.org

Ready to get started?Download WordPress

Forums

BulletProof Security
[resolved] No permission to post comments (9 posts)

  1. eric_the_grey
    Member
    Posted 1 year ago #

    I was informed today that nobody can post comments to posts or pages on my site.

    When I tested, I received the following errors:

    You don't have permission to access /wp/wp-comments-post.php on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    I do know that commenting was possible prior to installing BP Security and updating my .htaccess files as suggested by the plugin. I don't know a lot about the .htaccess files, so I'm kind of out of my league here.

    I have determined that the file permissions for wp-comments-post.php file is set correctly (644), as is the root folder (705).

    Any suggestions would be helpful. I can post up my .htaccess file if you'd like.

    Site URL is: http://www.tanzegier.com

    Thanks in advance for any assistance you can provide.

    Eric the Grey

    http://wordpress.org/extend/plugins/bulletproof-security/

  2. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Did you click the AutoMagic buttons before activating ALL BulletProof Modes?

    General Troubleshooting steps to take BPS out of the equation:
    1. Make a backup of your .htaccess files using BulletProof Security built-in Backup.
    2. Activate Default Mode on the Security Modes page.
    3. Use the Delete wp-admin .htaccess feature on the Security Modes page.
    4. Test your plugin or theme.
    5. Restore your .htaccess files using BulletProof Security built-in Restore.

    http://www.ait-pro.com/aitpro-blog/297/bulletproof-security-plugin-support/bulletproof-security-wordpress-plugin-support/

  3. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    I just noticed that you said your root folder permissions were set to 705. Not all web hosts allow 705 permissions for your root folder. 750 and 755 are standard root folder permissions that should work on all web hosts with CGI configured Servers.

  4. eric_the_grey
    Member
    Posted 1 year ago #

    The root (actually, the WordPress root folder, not the actual site root) was 755 originally. I had changed it based on what the plugin suggested, but it didn't help. I've changed it back.

    As to the previous comment, I want to say Yes, I clicked the AutoMagic button first, but it was a while ago, so I could be mis-remembering.

    I followed the steps to remove BPS, except for actually deleting the plugin and started from scratch. This now work, except that Firefox seems to want to resend the posted comment twice. Not certain what that's about, but I'm sure it's something else.

    The only thing I did different (IIRC) was that instead of clicking both AutoMagic buttons, I only clicked the "create secure .htaccess file" button. I think I clicked both last time. Does this make a difference at all?

    Thanks for the asistance at any rate. I'm back up and running.

    Eric the Grey

  5. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    hmm never heard of a FireFox double comment posting issue. BPS does not do anything directly in regards to comment templates so I can't think of a logical connection to BPS, but I will do some testing and see if this could somehow be related to BPS.

    The default.htaccess and secure.htaccess AutoMagic buttons do 2 separate things so whether or not you clicked 1 or both of the buttons would not make a difference.

    Thanks for confirming all is well. ;)

  6. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    hmm interesting. I posted a comment on your site with Chrome and then with Firefox and Firefox prompted me with this pop up confirm alert - "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier". I was successfully able to post with both Chrome and Firefox, but some javascript is obviously involved in the process.

  7. eric_the_grey
    Member
    Posted 1 year ago #

    Yea, it does seem to be a Firefox thing. If you confirm, it tries to double-post, which fails because it's a duplicate. If you cancel, it shows up fine.

    The site also loads extremely slow in FF. Chrome loads fine. FF has kind of lost it's luster for me lately... :p

    Thanks again for your assistance.

    Eric the Grey

  8. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    Oh yeah your are right. I thought Firefox posted the comment successfully, but i see a message that says something about the comment being a duplicate. What I assume is happening here is that Firefox sees an action that is questionable and is trying to protect the submitter. Since your comment template is more advanced then a standard WP comment template since it allows comment follow-up then most likely you will have to tweak it for Firefox. I have no idea what that would require and no idea where the action is coming from ie your Theme or a Plugin. ;)

  9. AITpro
    Member
    Plugin Author

    Posted 1 year ago #

    And if you were going to tweak it this is the direction i would head in first >>> http://stackoverflow.com/questions/1920719/can-i-add-an-if-statement-for-mozilla-firefox-stylesheet

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.