Hello,
I was having difficulty getting this module to work until i started hacking around in fielfield_nginx_progress.module and added some extra response information so i could see what was happening in my firebug console.
Turns out the AJAX responses weren't being cleaned sufficiently and there were extra \u0022 characters.
So i added two lines to the module.
// strip quotes and spaces from key & value pair
$key = trim($array[0], "' ");
$value = trim($array[1], "' ");
// strip double quotes
$key = trim($key, '"');
$value = trim($value, '"');
Sorry i'm not very good with the patch system, these lines are around line number 120.
Cheers,
Dewey
Comment | File | Size | Author |
---|---|---|---|
#1 | 1630506-2.diff | 1.35 KB | wedge |
Comments
Comment #1
wedge CreditAttribution: wedge commentedI had the same problem but fixed it differently.
First I changed nginx.conf so that we get pure json back from the upload progress module:
And then I patched the module (attached).
Comment #2
perusio CreditAttribution: perusio commentedThis problem has been fixed in the 7.x-2.1 version.
Comment #3
perusio CreditAttribution: perusio commentedComment #4
perusio CreditAttribution: perusio commentedUse the 7.x-2.3 version.