• Upload forms are at the bottom of that page —

    I can’t get the form upload form to work. When I clicked on the upload button nothing happens. I’m using Elementor (page builder) maybe its messing it up? There are 2 upload forms there — the bottom one is just the basic short code — I was hoping to see if there was anything in the form that prevented the upload.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, yes there are some incompatibilities with Elementor. You need to put the following code in functions.php of your theme:

    if (!function_exists('wfu_after_upload_handler1')) {
    	function wfu_file_upload_output_handler1($cont) {
    		$ch = '&'.'#'.'038;';
    		$cont = str_replace($ch.$ch, '&&', $cont);
    		return $cont;
    	}
    	add_filter('elementor/frontend/the_content', 'wfu_file_upload_output_handler1', 100);
    }

    In addition, I see you use 2 upload forms on the page. Please set Plugin ID of the 2nd form to 2, otherwise it will not work.

    Regards

    Nickolas

    Thread Starter palbrigo

    (@palbrigo)

    I’ve adjusted the php.ini file and I still get this error. When it report “PHP directive max_input_time limit is: -1 seconds” — is it just saying that might be the problem, or does it actually test the PHP to see that the “-1 seconds” is indeed the setting?

    The upload time limit of PHP directive max_input_time is preventing the upload of big files. PHP directive max_input_time limit is: -1 seconds. To increase the limit change the value of the directive from php.ini. If you don’t have access to php.ini, then add the following line to your .htaccess file: php_value max_input_time 500 (adjust the time according to your needs) The file .htaccess is found in your website root directory (where index.php is found). If your don’t have this file, then create it. If this does not work either, then contact your domain provider.

    Plugin Author nickboss

    (@nickboss)

    Can you show me the shortcode?

    Nickolas

    Thread Starter palbrigo

    (@palbrigo)

    [wordpress_file_upload uploadpath=”LessonVideoUploads” uploadpatterns=”*.mov, .avi, .mp4*” maxsize=”200″ notify=”true”]

    Plugin Author nickboss

    (@nickboss)

    Please change Allowed File Extensions like this: *.mov, *.avi, *.mp4

    Then I can try some uploads to see what is going wrong.

    Nickolas

    Thread Starter palbrigo

    (@palbrigo)

    Nickolas — I just fixed the file restrictions. Thanks for your help on this–

    Perry

    Plugin Author nickboss

    (@nickboss)

    Ok good

    Best Regards

    Nickolas

    Thread Starter palbrigo

    (@palbrigo)

    I meant I changed the Allowed File Extensions like this: *.mov, *.avi, *.mp4 —

    I still have the problem with uploading any files over 100MB —

    Plugin Author nickboss

    (@nickboss)

    Yes because of restrictions of your web server. Check the following PHP variables to see the limits:

    upload_max_filesize
    post_max_size
    max_execution_time
    and max_input_time

    Are you able to change them?

    Please note that Pro version of the plugin does not have such restrictions.

    Regards

    Nickolas

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘File upload form not uploading’ is closed to new replies.