Rob Church wrote:
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
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/wikitech-l
I will try this. Will RebuildImages.php correct the wrong entries already in the database or do I need to blow out the database and start over?
Jeff