I'm getting an http error on upload for files smaller than 1mb... any ideas why that might be? Only thing I can think of is that we have a 1mb chunk size set (via filefield sources plupload), but don't see what that would cause smaller files to fail...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JordanMagnuson created an issue. See original summary.

JordanMagnuson’s picture

Title: http error for files SMALLER than 1mb » http error for files smaller than chunk_size

On further investigation, this does indeed seem to be an issue with chunk size: any files smaller than the chunk_size value fail to upload with an http error. Tested in multiple browsers.

Any idea how to resolve this?

JordanMagnuson’s picture

So my browser console indicates that I'm getting a 403 forbidden error in connection to plupload.full.js, which is what's causing the upload to fail (again, only when the uploaded file size is less than chunk_size).

See screenshot: http://i.imgur.com/pO1xOdb.png

JordanMagnuson’s picture

slashrsm’s picture

Which version of Plupload are you using? Which version of plupload library?

mozh92’s picture

I use Plupload integration module Version: 7.x-1.7, FileField Sources Plupload Version: 7.x-1.1 and libraries Version 1.5.8 (2014-01-08).
When I upload new libraries version 2.1.8 my upload window disappeared.
On my site use jQuery 1.10.2.

Old libraries (Version 1.5.8) work in administration very well

JordanMagnuson’s picture

In response to #5: I'm using the 7.x-1.x-dev version of the module, with the recommended version of the Plupload library (v1.5.8). Since this appears to be a bug in the 1.x version of the library, I guess this is another reason to speed Make compatible with latest plupload version (2.1.1).