Problems with Plupload

I use plupload (v 1.4.3.2) and configured it a few weeks ago, and everything worked. I have not touched him since.

Now it will not work. The file reaches 100%, then I get this wonderful descriptive error.

I / O error. Error # 2038

var renderImportForm = $(selectors.uploader).livequery(function () { var uploader = $(this).plupload({ // General settings runtimes: 'html5,silverlight,flash', url: urls.importCalendarsURL, max_file_size: '5mb', max_file_count: 10, // user can add no more then 10 files at a time unique_names: true, multiple_queues: true, // Resize images on clientside if we can resize: { width: 320, height: 240, quality: 90 }, // Rename files by clicking on their titles rename: true, // Sort files sortable: true, // Specify what files to browse for filters: [ { title: "iCalendar", extensions: "ics" } ], // Flash settings flash_swf_url: my.uploaderSettings.flash, // Silverlight settings silverlight_xap_url: my.uploaderSettings.silverLight, init: { UploadComplete: function (up, file, info) { alert('hi'); } } }); 

The above code works.

If I flip it around what was originally (which was installed a few weeks ago)

  runtimes: 'flash,html5,silverlight,' 

he does not work. Thus, it makes me think that this is a flash issue, since html 5 is working.

silverlight does not work, like another problem. It does not start a dialog box when clicking "add files".

No javascript errors appear in firebug.

+4
source share
3 answers

use chunks and / or urlstream_upload: true

edit: this error is a flash error. The above settings should do the trick. There are some problems with the flash without these settings. I don’t remember exactly what it was. Admin from the plupload forums:

You do not use chunks and do not force Plupload in urlstream mode ... this may be a session problem on your server. Did you activate sessions on your server recently? If this is a problem with the sessions, the easiest way to solve this in your case is to set the parameter: urlstream_upload to true.

http://www.plupload.com/punbb/viewtopic.php?pid=4308#p4308

+5
source

Add the following configuration:

 headers: { Authorization: "" } 
+1
source

You should check if the folder / directory where the files are downloaded exists or not. This will help you.

0
source

All Articles