• I’m having the same problem with Gravity Forms as a prior user (I replied to his post but there still has been no update). I can upload to the WP media library, but get a “file not supported” error when uploading through the form. I’m using WP v 5.1.1 & PHP v 7.1

    • This topic was modified 5 years, 8 months ago by lakewinonanh.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter lakewinonanh

    (@lakewinonanh)

    Is this plugin being supported anymore?

    Plugin Author davide.airaghi

    (@davideairaghi)

    The plugin has been designed, and tested, from the beginning to work with the standard Media Library, having WordPress so many plugins available i’m unable to check every configuration and every plugin … i’m sorry.

    In plugin’s description you can read “[…]This plugin let you add file types to the default list of file extensions supported by the Media Library upload procedure.[…]”

    ps.
    The plugin is still supported, not having anymore so much free time you can experience some delay in my answers

    update: i’m asking Gravity Forms team to give us some support (i wasn’t aware they are suggesting on their website to use my plugin)

    Any update on support with Gravity Forms… I too use gravity forms and the form I created a year ago will no longer accept upload of DXF DWG STP cad drawing files.
    Tried functions.php fix with no luck.
    Tried plugins like yours no luck.
    Contacted hosting providence as well.

    Thank you

    Plugin Author davide.airaghi

    (@davideairaghi)

    i finally got some answer by Gravity Forms team:

    We have not made any changes to upload validation. I would only assume that the customer did not have the plugin configured correctly. Anyone we have recommended the plugin to has reported that it resolved their issue. Thank you.

    I’m aware there are other threads about this, but for those using Gravity Forms and WP Extra File Types, I believe a bug in Gravity Forms causes this issue:
    https://www.ads-software.com/support/topic/there-was-a-problem-while-verifying-your-file/#post-11682401

    I’ve raised this with Gravity Forms with a detailed explanation, and hope that they’re able to resolve in their next update.

    I chased the same issue tonight so sharing what I found in hopes it helps others.

    Contrary to the documentation, Gravity Forms does not simply follow the WordPress allowed mime types. If you look at the plugin code, you find that in common.php there is a routine called get_disallowed_file_extensions() which returns a list of 25 file extensions that Gravity Forms does not allow, along with a filter you can use to override that. For example, if you want to override their list with your own, you might add something like this to your functions.php file:

    function my_disallowed_file_extensions( $extensions ) {
    $extensions = array( ‘php’, ‘asp’, ‘htaccess’ );
    return $extensions;
    }
    add_filter(‘gform_disallowed_file_extensions’,’my_disallowed_file_extensions’);

    Plugin Author davide.airaghi

    (@davideairaghi)

    released plugin version 0.4.4.1 with new code based on @educationservices suggestion

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Not Working with Gravity Forms’ is closed to new replies.