Last modified: 2010-05-15 15:33:26 UTC
When a user tries to upload a file that is bigger than the maximum set in
php.ini ($g_max_file_size,default is 2mb), the error message is:
"The file you uploaded seems to be empty. This might be due to a typo in the
file name. Please check whether you really want to upload this file."
which makes sense from this point of view:
< brion> mutante: because that's the symptom we get. we don't get a large file,
we get no file
,but causes confusion for the average user.
<mutante> then there is just the question left why mediawiki says "The file you
uploaded seems to be empty. " instead of "its too large"
< brion> the message should mention this possibility though
< brion> file a bug
So proposing an error message like "The file you tried to upload exceeded
maximum file size allowed on this wiki." or similar.
*** Bug 3253 has been marked as a duplicate of this bug. ***
I created a new check for php 4.2 and newer which use new message
largefileserver. Should help determining the cause of failure. Committed to HEAD.
*** Bug 4904 has been marked as a duplicate of this bug. ***