Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Uploading large files fails silently

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


pierre-marc.fournier at polymtl

Nov 12, 2009, 11:05 AM

Post #1 of 4 (1596 views)
Permalink
Uploading large files fails silently

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


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


robert at interjinn

Nov 12, 2009, 12:37 PM

Post #2 of 4 (1542 views)
Permalink
Re: Uploading large files fails silently [In reply to]

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?
>

What is your setting for post_max_size

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


pierre-marc.fournier at polymtl

Nov 12, 2009, 12:44 PM

Post #3 of 4 (1523 views)
Permalink
Re: Uploading large files fails silently [In reply to]

Robert Cummings wrote:
> 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?
>>
>
> What is your setting for post_max_size
>

8 MB! This was exactly the problem. It would be great if an error
message was displayed somewhere when this limit is exceeded...

Thank you so much.

pmf

_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


Platonides at gmail

Nov 12, 2009, 12:45 PM

Post #4 of 4 (1526 views)
Permalink
Re: Uploading large files fails silently [In reply to]

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.


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.