"unrecoverable error" when uploading large files
Ryan Palmer - June 26, 2009 - 15:59
| Project: | FileField |
| Version: | 6.x-3.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
When attempting to upload a 15Mb file to a filefield field, I get the following error:
"An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (100 MB) that this server supports."
Using:
PHP: 5.2.0-8+etch15
apache: 1.3.34
Drupal 6.12 (Acquia Drupal)
filefield-6.x-3.0
cck-6.x-2.3
The php settings set in .htaccess are as follows:
php_value memory_limit 128M
php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_execution_time 120
php_value max_input_time 120Checking phpinfo, I see these values are recognized and used by php.
I get nothing in the watchdog. There's very little to go on, unfortunately.
| Attachment | Size |
|---|---|
| Picture 13.png | 19.75 KB |

#1
One follow-up note: I tested this site on another server with nearly identical setup, the only difference being it ran apache2 instead of apache v1, and the upload worked. The only other material difference was that the server was much closer to me, and thus the time it took to upload was much lower.
Unfortunately I am stuck with apache v1 for the moment, so I'm hoping a resolution can be found that doesn't involve paying the host to upgrade this managed dedicated server! :)
#2
Hm, I don't run Apache 1 on my sandbox, but it seems funny that this would be apache related at all. You don't happen to have the suhosin PHP extension installed on the non-working server do you? That plugin will futz with all your settings and limit uploads despite other settings.
#3
Re: suhosin, no we don't.
I've sent in a request for the host to upgrade apache. We'll see if that indeed solves it.