PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Forms Not Updating After Being Saved

  1. I've created a form that is a mix of drop down, radios, singles, etc. I was able to save, add notifications. I wanted to go back and add a captcha box but it won't update. Even if I just open the form and then hit update without making any changes it won't update.

    I have deactivated all plugins, reinstalled gravity forms (multiple times), reinstalled wordpress, switched to default theme and still no dice. Using firebug I can see a javascript error:

    function sack(file){this.xmlhttp=null;this.resetData=function(){this.method="POST";this.queryStringSeparator="?";thi........

    http://www.pastie.org/1174851

    All files have permissions of 755

    This is a reoccurring issue. Please help.

    Posted 9 years ago on Wednesday September 22, 2010 | Permalink
  2. First try creating a form that consists of just a text input field and a text area field and then save that form. If the form saves fine, then try adding a checkbox, drop down and radio button field the form and save it.

    Let me know how it goes. This will help determine if it is a mod_security firewall issue.

    Posted 9 years ago on Wednesday September 22, 2010 | Permalink
  3. It was actually the mod_security. I called my host and they made some changes. This was there response.

    As for the fix, I just added a location match to the modsec2 whitelist located in /usr/local/apache/conf/modsec2/whitelist for the path error in your wp-admin folder: /wp-admin/admin-ajax.php and the id 300016.

    The fix looked like this:

    <LocationMatch /wp-admin/admin-ajax.php >
    SecRuleRemoveById 300016
    </LocationMatch>

    Then I restarted apache.

    Posted 9 years ago on Friday September 24, 2010 | Permalink
  4. joethoron
    Member

    How do we identify the ID? Or is it the same for everyone?

    Posted 8 years ago on Thursday March 24, 2011 | Permalink
  5. I'm, not 100% sure if it's the same for everyone. Some hosts also have a web interface in their control panel that lets you whitelist things and you simply add that file to the white list. You may need to check with your web host and let them know the solution and they can provide assistance.

    Posted 8 years ago on Thursday March 24, 2011 | Permalink
  6. guevara
    Member

    Carl just spoke to my host and they have just told me that my site would get hacked if i did that

    Sam:
    your site will not work with out mode security.
    Sam:
    Your site will be hacked if we allow in it.
    Gabriel:
    no dont worry i dont want a hacked site
    Sam:
    okay.
    Sam:
    So i will remove it from whitelist of mod_security.
    Gabriel:
    i dont think the developer wanted my site hacked
    Gabriel:
    ok if it is on whitelist my site could get hacked
    Sam:
    Yes.
    Gabriel:
    ok then remove please
    Sam:
    I have removed it.
    Gabriel:

    Posted 8 years ago on Thursday March 24, 2011 | Permalink
  7. @guevara Your host is being overly paranoid. Plenty of users on the forum have had the same issue and updated their MOD_SECURITY settings to whitelist that file. They don't whitelist your entire server, just that single file. We have code in place on our end to prevent injection and malicious attacks using that file.

    So whitelisting that file is not going to open up your site to hacks. But not whitelisting that file means Gravity Forms isn't going to work because the AJAX can't function properly.

    Posted 8 years ago on Friday March 25, 2011 | Permalink
  8. guevara
    Member

    ynne:
    since we cannot add anything for the server wide settings
    Lynne:
    we have done this for the domain by adding it in the .htaccess fle

    IS this any good Carl??

    Posted 8 years ago on Saturday March 26, 2011 | Permalink
  9. @guevara I'm not 100% sure as I don't know everything about mod_security as far as that goes, I only know it's a mod_security issue and what the typical fix is. But there are a variety of ways to handle mod_security changes, so if your host says it should work then you can give it a shot and see if it enables your forms to save now.

    Posted 8 years ago on Sunday March 27, 2011 | Permalink
  10. guevara
    Member

    Thanx for your help Carl, the wasters finally figured it out - .htaccess file didnt work

    Posted 8 years ago on Sunday March 27, 2011 | Permalink

This topic has been resolved and has been closed to new replies.