• I am using Gravity Forms Plugin. The form created is posted on a password protected page.

    How it’s supposed to work:

    1. User accesses the page using a password.
    2. Fills out the form and submits the form.
    3. The data submitted is stored into a database.
    4. A confirmation page is displayed.
    5. An email notification is sent to the user, myself and several other emails.

    What’s happening:

    1. When I am logged into the WP Dashboard and try to access the password protected page, I am redirected to the Dashboard after submitting the password.
    2. Users who successfully access the form and submit their data do not get a confirmation page and email notifications are not sent out. Although, the data is stored in the database.
    3. When users attempt to submit their data, the request to write to the database is blocked by the firewall. Data is not recorded and no email notifications are sent. The form is left hanging in a state of eternal processing.

    Help on this issue is greatly appreciated as I try to understand how to set up a firewall properly.

    https://ww.wp.xz.cn/plugins/wp-simple-firewall/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Sorry for the trouble here… I’m not entirely sure I understand the flow.

    Since in #2 you say users can access and submit and the data is in the database, how do you have #3 where the request to write is blocked?

    My suggestion would be to disable the plugin section named “Firewall” and test again. Then, if it works, re-enable it but disable all the block options except one within the Firewall section. Do this until you find the option that is blocking you.

    I’m not sure how the Simple Firewall would be blocking things like emails etc and database writing….

    Thanks,
    Paul

    Thread Starter franworks

    (@franworks)

    I was puzzled with #2 & #3 as well. It seems as if the firewall inconsistently picks and chooses what it allows through.

    I can see in the Audit Trail where a complete form entry was blocked while others were allowed through.

    Plugin Author Paul

    (@paultgoodchild)

    It’s down then to the content of those form submissions. Some of the content is triggering the firewall, some is not. The rules are very specific… if you review the audit trail it should tell you which Firewall rule is being triggered and all you’ll need to do is disable that particular block.

    Hope that helps.
    Paul.

    Thread Starter franworks

    (@franworks)

    Ok, I will check that out.

    And what about the Password protected page automatically redirecting to the WP Dashboard when it should open up the protected form?

    Plugin Author Paul

    (@paultgoodchild)

    Can you test this redirect with the plugin enabled and disabled – are you absolutely sure this is due to the plugin.

    And when you say password protected, what is it protected with exactly?

    Thread Starter franworks

    (@franworks)

    WP has the option to Password Protect a Post.

    Thread Starter franworks

    (@franworks)

    Turning OFF the ‘User Management’ section resolves the Password Protected page redirecting to the WP Dashboard on submit.

    Plugin Author Paul

    (@paultgoodchild)

    Okay great… that’s a good place for me to start testing.

    When you say submit, you mean when you submit the password to the page?

    Thanks,
    Paul.

    Thread Starter franworks

    (@franworks)

    Yes

    Thread Starter franworks

    (@franworks)

    I still haven’t figured out the Firewall bit. I will perform another round of testing on Monday.

    Plugin Author Paul

    (@paultgoodchild)

    Can you confirm for me that it only forwards you to the WP admin when you’re actually already logged-in as a user?

    Try completely logging out of WordPress, then accessing the password protected page. You should find that it doesn’t forward you to the admin area.

    Thanks,
    Paul.

    Plugin Author Paul

    (@paultgoodchild)

    The next plugin release will have a fix for this behaviour…

    Thread Starter franworks

    (@franworks)

    Yes, when I’m not logged in I can access the form on submit.

    Plugin Author Paul

    (@paultgoodchild)

    Have you had a chance to test the latest version of the plugin with your Gravity forms page?

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Firewall Blocking Gravity Forms Submission’ is closed to new replies.