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.
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
Comment #1
tugis CreditAttribution: tugis commentedOk, 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:
and then in the triming of the response (" " were not removed).
Hope this helps.
Comment #2
aldibierPor 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.
Comment #2.0
aldibierFixing typos