Topic on Project:Support desk

[RESOLVED] Mediawiki Upload Size Issue

4
75.88.176.217 (talkcontribs)

Good evening. I am having issues with my mediawiki file upload size. I have a fresh install of MW1.24.1, on a shared hosting server. Trying to upload an XML backup, I can't upload it; I get the 'file too large' message. When I go to do a regular upload, it displays 100B as the upload limit. The only adjustments I've made to LocalSettings.php are enabling editing only to registered emails, removed all skins but vector, removed anonymous editing and the require_once entries for my extensions to be usable. My server, verified through phpinfo() has the upload limits set to 100MB (I don't need it that high, but we're trying to find the bug). Stats are as follows:

  • PHP: 5.4.29
  • Server API: CGI/FastCGI
  • MW Install: 1.24.1
  • Extensions: CollapseVector, Delete Batch, FancyBoxThumbs, MSUpload, ReplaceText
  • No adjustments to file size in LocalSettings.php
  • phpinfo() returns: post_max_size 100M, upload_max_filesize 100MB, file uploads ON

I have not been able to find anything, and nothing seems in error on the MW side or the PHP side. Any help would be appreciated. My shared hosting is looking into it as well, but I'm concerned that something is incorrect in MW.

75.88.176.217 (talkcontribs)

Additionally my host has doublechecked my PHP.ini and we cannot find anything on their end. Is there any way that I can search out the origin point of where the 100B upload limit is noted, IE what calls bring it up in the specialpage:upload?

Ciencia Al Poder (talkcontribs)

Could you double-check if upload_max_filesize is set to 100MB or 100M? Note that in php.ini, units don't have the "B", and that may be confusing MediaWiki.

75.88.176.217 (talkcontribs)

Yeah, that was it. Once we fixed that all was well. We caought it about 2AM this morning. Thanks!

Reply to "[RESOLVED] Mediawiki Upload Size Issue"