On 26/02/07, Jeff V. Merkey jmerkey@wolfmountaingroup.com wrote:
Log excerpt attached. rebuildImage.php is detecting all png files as "text/plain" and updating the wiki database with this information. This causes the viewer to fail with "possible malicious code" errors when the system tries to render the png images.
Can you try setting $wgMimeDetectorCommand = "file -bi" in LocalSettings.php? It sounds like MediaWiki is messing this up because PHP itself is messing it up, which implies there's no detection module available.
Rob Church