Closed
Bug 397718
Opened 17 years ago
Closed 17 years ago
[wikimo] Uploading PNG doesn't work
Categories
(mozilla.org Graveyard :: Server Operations, task)
mozilla.org Graveyard
Server Operations
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: samuel.sidler+old, Assigned: oremj)
Details
When trying to upload a PNG, I get the fun "The file is corrupt or has an incorrect extension. Please check the file and upload again." error.
Fix me please?
Reporter | ||
Updated•17 years ago
|
Assignee: nobody → server-ops
Component: Other → Server Operations
Product: Websites → mozilla.org
QA Contact: other → justin
Version: unspecified → other
Comment 1•17 years ago
|
||
Most likely the same issue as bug 382161.
OS: Mac OS X → All
Hardware: PC → All
Assignee | ||
Updated•17 years ago
|
Assignee: server-ops → oremj
Assignee | ||
Comment 2•17 years ago
|
||
Reed, what change did you make to fix that bug?
Comment 3•17 years ago
|
||
It's either an issue with the mime-type magic file that apache controls (http://httpd.apache.org/docs/2.0/mod/mod_mime_magic.html) or just a problem with MediaWiki and/or PHP parsing the magic file correctly. You can probably just change MediaWiki to use an external mime-type detector by setting |$wgMimeDetectorCommand = "file -bi";| (see http://www.mediawiki.org/wiki/Manual:Mime_type_detection and http://www.mediawiki.org/wiki/Manual:%24wgMimeDetectorCommand).
Assignee | ||
Comment 4•17 years ago
|
||
Switched to file -bi seems to work. I tested with http://wiki.mozilla.org/Image:Pnglogo-grr-sml.png
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•17 years ago
|
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•