jnojr Posted February 10, 2009 Share Posted February 10, 2009 I installed MediaWiki 1.13.3 More and more often, we're getting messages about file uploads being corrupt, when they are not... they're well under both the MW and PHP size limits, the files open just fine, etc. I've tried: $wgMimeDetectorCommand = "file --brief --mime"; And: $wgMimeDetectorCommand= "file -bi"; Then I commented both out to let MWs internal checking work. On the MW forum, someone asked about mime.types: [root@server ~]# grep mime.types /var/www/html2/wiki/includes/DefaultSettings.php $wgMimeTypeFile= "includes/mime.types"; [root@server ~]# grep ppt /var/www/html2/wiki/includes/mime.types application/vnd.ms-powerpoint ppt [root@server ~]# grep PPT /var/www/html2/wiki/includes/mime.types [root@server ~]# Nobody there is responding any more. I can't even find out how to generate some kind of logs or errors to get an idea of how to proceed. I've had to disable MIME checking altogether to get files to upload as it breaks too frequently. Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/144686-issue-with-mediawiki-mime-checking/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.