Last modified: 2011-03-09 22:21:00 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 12943 - show warning when filesize to big of uploaded file
show warning when filesize to big of uploaded file
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2008-02-06 19:48 UTC by thomas coopman
Modified: 2011-03-09 22:21 UTC (History)
3 users (show)

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


Description thomas coopman 2008-02-06 19:48:11 UTC
When I upload a file that is bigger than the allowed size, I get no error page but just a clear white page, (there is no source on the page)  This page should show an error message instead.
Even better would be to check the file size before uploading and don't start the upload at all.
Comment 1 Huji 2008-02-07 09:22:32 UTC
It is not possible to check the file size before uploading. However, when you upload a file which is bigger than the allowed size, an error message is shown (just tested it again to make sure). If you're not getting an error message, this can be because some Apache settings, perhaps. Can you give a link to the wiki on which you have that problem?
Comment 2 thomas coopman 2008-02-07 11:50:38 UTC
I have this problem on  The maximum file size is about 150KB
Comment 3 Brion Vibber 2008-02-13 02:46:48 UTC
The described output is consistent with a PHP fatal error with display_errors disabled, or low-level breakage of PHP (such as a crash).

Check the web server's error log, and ensure that the memory limit and post size limit are set to reasonable values.
Comment 4 Jarry1250 2011-03-09 22:21:00 UTC
Three years on, this should probably be closed: indeed, newer browsers will now get warned prior to uploading if their upload is too big. If there ever was a MW bug, there isn't any more.

Closing as FIXED, could equally be WORKSFORME I guess.

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