Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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...
Comment | File | Size | Author |
---|---|---|---|
#6 | libraries Version 2.1.8.PNG | 39.92 KB | mozh92 |
#6 | libraries Version 1.5.8.PNG | 35.61 KB | mozh92 |
Comments
Comment #2
JordanMagnuson CreditAttribution: JordanMagnuson commentedOn 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?
Comment #3
JordanMagnuson CreditAttribution: JordanMagnuson commentedSo 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
Comment #4
JordanMagnuson CreditAttribution: JordanMagnuson commentedFound the issue on github: https://github.com/moxiecode/plupload/issues/816
Comment #5
slashrsm CreditAttribution: slashrsm as a volunteer commentedWhich version of Plupload are you using? Which version of plupload library?
Comment #6
mozh92 CreditAttribution: mozh92 commentedI 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
Comment #7
JordanMagnuson CreditAttribution: JordanMagnuson commentedIn 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).