Topic: Error: Invalid file extension: undefined in FF 7.0.1

Hi,

here is a big problem I faced.Plupload was working correctly and very nicely.But when I update the firefox as version 7.0.1 and upload the file its always showing the error :

"Error: Invalid file extension: undefined"

I am using Plupload version : 1.5.1.1
But its working fine in FF 3.0.1 and crome and IE

Please let me the solution immidietely.its urgent

Thanks

Re: Error: Invalid file extension: undefined in FF 7.0.1

I'm experiencing the same problem now. I need help!

Re: Error: Invalid file extension: undefined in FF 7.0.1

This only appears to be the html5 runtime. I switched to the flash runtime and it's working.

Re: Error: Invalid file extension: undefined in FF 7.0.1

I think that should be useful for people who will found this post, sorry to wake an old topic.

To solve that problem, you only need to add "dragdrop : true," to your jquery call.

That problem appears on all FF with html 5 runtime.

You will find a full example below :


    $("#html5_uploader").pluploadQueue({
        // General settings
        runtimes : 'html5',
        url : 'uploaderRealisation.php',
        max_file_size : '10mb',
        chunk_size : '1mb',
        unique_names : true,
        dragdrop : true,
        // Resize images on clientside if we can
        resize : {width : 1024, height : 768, quality : 90},
        // Specify what files to browse for
        filters : [
        {title : "Image files", extensions : "jpg,gif,png"},
        {title : "Zip files", extensions : "zip"}
        ] 
    });

Re: Error: Invalid file extension: undefined in FF 7.0.1

@Blitzer,

I'm experiencing this same issue, and that did not fix it for me.

Re: Error: Invalid file extension: undefined in FF 7.0.1

We're getting this too. Only happens in Firefox (recent versions) with the HTML5 runtime. Here's my current call:

$("#uploader").pluploadQueue({
        runtimes: 'html5,flash',
        url: '/pages/pluploadreceiver.aspx',
        max_file_size: '20mb',
        unique_names: true,
        rename: true,
        dragdrop: true,
        drop_element: 'photoDropTarget',
        flash_swf_url: '/plupload/plupload.flash.swf',
        multipart_params: [{ 'comment': '', 'modelid': '', 'isadmin': '', 'groupid': '' }],
        filters: [{ title: "Image files", extensions: "jpg,jpeg"}]
    });

Re: Error: Invalid file extension: undefined in FF 7.0.1

post your entire code, preferably in www.jsfiddle.net, like:

http://jsfiddle.net/LeandroJF/wQW4w/

Re: Error: Invalid file extension: undefined in FF 7.0.1

As a follow up to my post, the problem was with the brackets around the "filters" property. Once I dropped the [ and ] Firefox played nice.

Re: Error: Invalid file extension: undefined in FF 7.0.1

Hello,

I had the exact same problem with the HTML5 runtime. I solved it by using the full plupload JS file (plupload.full.js) instead of only the HTML5 one. Not sure what the problem actually was, but well, it works now...

Cheers,
Adrian

Re: Error: Invalid file extension: undefined in FF 7.0.1

Thought I'd go ahead and leave a reply for the issue that I saw.  I needed to have the spaces removed in the extenstions string...

{ title: "Images", extensions: "jpg,jpeg,gif,png" }