MediaWiki - CMS |
10.1 Error Messages |
15.06.2007 |
| ← 10 Frequently Asked Questions (FAQ's) | [ up ] - [ A - Z ] - [ top ] | 11 Alphabetical Index / Reference → |
- The file is corrupt or has an incorrect extension. Please check the file and upload again
Mediawiki is trying to validate the mime type of your upload. You can either turn this feature off or fix it:
# diff LocalSettings.php bak/LocalSettings_bak1.php 93,94d92 < # XX: < $wgMimeDetectorCommand = "file -bi"; # to LocalSettings.php on Linux
Turn feature off (includes/DefaultSettings.php)
/** This is a flag to determine whether or not to check file extensions on upload. */ # XX Orig: $wgCheckFileExtensions = true; $wgCheckFileExtensions = false; /** * If this is turned off, users may override the warning for files not covered * by $wgFileExtensions. */ # XX $wgStrictFileExtensions = true; $wgStrictFileExtensions = false;
See also:
← 10 Frequently Asked Questions (FAQ's)
A - Z Index
Top
Disclaimer
11 Alphabetical Index / Reference →
$Id: errors.html,v 1.34 2007/06/15 11:49:14 webcms Exp $
copyright © 2005-2007 by reto