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 have nginx behind varnish.
Upload works, but upload progress bar stays at start uploading message.
I see "start uploading" but the progress bar does not proceed.
Does it need any extra configuration in varnish to make it work?
I can post my nginx configuration to be checked, if needed.
On the other hand, upload progress of plupload module works.
Comments
Comment #1
Jackinloadup CreditAttribution: Jackinloadup commentedyour issue might be a duplicate of #1220826: Not working when multiple values is allowed for file field
Comment #2
dropbydrop CreditAttribution: dropbydrop commentedI checked it. I have the problem even with just one value (one image) allowed.
Comment #3
dropbydrop CreditAttribution: dropbydrop commentedit's a matter of cooperating with varnish
Comment #4
jmeredith CreditAttribution: jmeredith commentedI have the same issue, can anyone explain further what needs to be done?
"start uploading" display but the progress bar doesn't move.
Comment #5
gwar CreditAttribution: gwar commentedI had the same problem and found that the trim functions needed a " in the second argument in nginx_progress_fetch()
so i changed
$key = trim($array[0], "' ");
$value = trim($array[1], "' ");
to
$key = trim($array[0], "\"' ");
$value = trim($array[1], "\"' ");
and its working fine now
Comment #6
perusio CreditAttribution: perusio commentedThis has been fixed in the 7.x-2.3 version. Marking it as fixed.