Last modified: 2011-03-09 22:21:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T14943, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12943 - show warning when filesize to big of uploaded file
show warning when filesize to big of uploaded file
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 techbase.kde.org.  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.


Navigation
Links