Last modified: 2011-01-27 20:23:33 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 26359 - Wrong error message, This file is bigger than the server is configured to allow
Wrong error message, This file is bigger than the server is configured to allow
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.17.x
All Windows Vista
: Normal normal (vote)
: ---
Assigned To: Bryan Tong Minh
:
Depends on:
Blocks: 26611
  Show dependency treegraph
 
Reported: 2010-12-18 03:14 UTC by MWJames
Modified: 2011-01-27 20:23 UTC (History)
4 users (show)

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


Attachments

Description MWJames 2010-12-18 03:14:13 UTC
On a MediaWiki 1.17alpha (r78549), PHP	5.2.13 (apache2handler), MySQL	5.1.44-community a file with 62 MB could not be uploaded while the parameters in LocalSettings have been set to $wgMaxUploadSize = '150M'; and php.ini post_max_size = 150M, upload_max_filesize = 150M. The Special:Upload message is ''This file is bigger than the server is configured to allow.''

The same file have been uploaded on a MediaWiki 1.16.0, PHP 5.2.13 (apache2handler), MySQL	5.1.44-community with the same LocalSettings and php.ini settings.

Cheers
Comment 1 Bryan Tong Minh 2011-01-22 20:38:05 UTC
This presumably was introduced when I rewrote the size checking routines.
Comment 2 MWJames 2011-01-23 03:11:37 UTC
Just checked against 1.17alpha (r80795) with the above described setup and the error still occurs.
Comment 3 Antoine "hashar" Musso (WMF) 2011-01-25 21:34:20 UTC
r80992 adds a dumb test for $wgMaxUploadSize . Could probably be a base of a future test for this bug.
Comment 4 Bryan Tong Minh 2011-01-27 20:23:33 UTC
As per the manual [1] $wgMaxUploadSize is the number of bytes, shorthands like '150M' are not recognized. You need to set it to 150 * 1024 * 1024. The reason it worked in 1.16 was that $wgMaxUploadSize only applied to copy uploads. 


[1] http://www.mediawiki.org/wiki/Manual:$wgMaxUploadSize

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


Navigation
Links