When I try to upload a file I have the following error:
"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (512 MB) that this server supports."

Doing a bit of debugging I can see that $POST['form_build_id'] is empty (causing the message to show). In fact, all the POST variable is empty. I don't know if this is a bug or something I'm doing wrong.

I have all things configured in nginx conf (following Perusio's configurations) and I have Nginx with the uploadprogress module.
I'm using Nginx 1.0.14.

Comments

tugis’s picture

Ok, so I fixed the error I got and now have a fully working progress bar.

In my website.conf, I changed from:

return 302 $1?X-Progress-ID=$2;

to

rewrite ^(.*)/x-progress-id:(\w*) $1?X-Progress-ID=$2;

and the error gone away.

Then, I add to fix some bugs I found in the module.

First, I had to fix the HTTPS verification:

$proto = $_SERVER['HTTPS'] ? 'https://' : 'http://';

fixed to:

if($_SERVER['HTTPS'] == 'on') {
    $proto = 'https://';
  }  
  else {
    $proto = 'http://';
  }

and then in the triming of the response (" " were not removed).

$key = trim($array[0], '" "');
$value = trim($array[1], '" "');

Hope this helps.

aldibier’s picture

Por lo que he encontrado, creo que es algo que está en plena discusión en el siguiente hilo http://drupal.org/node/1241976, pero tampoco le he dedicado mucho tiempo a buscar más

Saludos.

aldibier’s picture

Issue summary: View changes

Fixing typos