Do you use a shared-hosting-webspace? Perhaps your php-settings limit your php-upload-size to 4 MB?
MediaWiki-l.20.stefan817@spamgourmet.com wrote:
Hi,
I run a wiki and like to upload bigger files (no matter what file type or extension). When I try to upload e.g. pdf- or zip-files with a size of 4 MB with the image upload function I got an error message "the uploaded file is empty".
Is there a special parameter, which I have to configure? I did not find that in the docu...
Here my only settings, which are out of the standard:
DefaultSettings.php $wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'pdf' ); $wgStrictFileExtensions = false; $wgUploadSizeWarning = 5000 * 1024;
LocalSettings.php $wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; #$wgHashedUploadDirectory = false;
My version: 1.5.6 on apache 1.3.33, php4.3.10-16, MySQL 4.0.24, ImageMagick version 6.0.6, PHP imagick version 0.9.11, debian 3.1.
Cheerio Stefan
MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l