Last modified: 2010-05-15 15:33:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2554 - File size error message on file upload should mention "file too large" instead of "empty file"
File size error message on file upload should mention "file too large" instea...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.4.x
PC Linux
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 3253 4904 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-27 19:50 UTC by Daniel Zahn
Modified: 2010-05-15 15:33 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Zahn 2005-06-27 19:50:34 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.
Comment 1 Zigger 2005-08-26 11:55:07 UTC
*** Bug 3253 has been marked as a duplicate of this bug. ***
Comment 2 Niklas Laxström 2005-08-26 15:32:06 UTC
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.
Comment 3 Brion Vibber 2006-02-07 07:09:56 UTC
*** Bug 4904 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links