[Mediawiki-l] Uploading large files fails silently

Platonides Platonides at gmail.com
Thu Nov 12 20:45:11 UTC 2009


Pierre-Marc Fournier wrote:
> Hi,
> 
> On a mediawiki 1.15.1 linux installation, I can upload files smaller
> than 8 MB without problem.
> 
> With files >= 8 MB, once the transfer is complete, I am brought directly
> back to the Upload form, which is empty. The uploaded file is not in the
> images/ directory and not in the list of new files. This is 100%
> reproducible. No error is displayed either on the page, or in the apache
> logs.
> 
> I also had the problem with 1.14.0.
> 
> - The maximum php upload size is 40MB so that's not a problem.
> - I tried increasing max_execution_time and max_input_time in php.ini.
> These timeouts are definitely not reached.
> - I tried doubling the maximum memory usage of a php script (now 256MB).
> - Updated to the latest apache and php5 from debian testing.
> 
> Any ideas?
> 
> Thanks
> 
> pmf

Check php max post size.
You're sent to an empty upload form because mediawiki isn't even seeing
the data you sent. Php is filtering it.




More information about the MediaWiki-l mailing list