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.
Command was:
php maintenance/rebuildImages.php --missing >& /wikidump/image.log
Jeff
chrpdb 2007-02-26 22:42:26: crawling /wikidump/chrp/images/0/00 chrpdb 2007-02-26 22:42:26: Empty filename for /wikidump/chrp/images/0/00/Lyngør_1984.jpeg chrpdb 2007-02-26 22:42:26: Empty filename for /wikidump/chrp/images/0/00/Guetteur_au_poste_de_l'écluse_26.jpg chrpdb 2007-02-26 22:42:26: Empty filename for /wikidump/chrp/images/0/00/Trollhättefallen.jpg chrpdb 2007-02-26 22:42:27: Empty filename for /wikidump/chrp/images/0/00/André_Marie_Ampère.jpg chrpdb 2007-02-26 22:42:27: Empty filename for /wikidump/chrp/images/0/00/São_Francisco_Ensenada.jpg chrpdb 2007-02-26 22:42:29: crawling /wikidump/chrp/images/0/01 chrpdb 2007-02-26 22:42:29: Empty filename for /wikidump/chrp/images/0/01/Karl_Von_Linné.jpg chrpdb 2007-02-26 22:42:29: Empty filename for /wikidump/chrp/images/0/01/CemalGürsel.jpg chrpdb 2007-02-26 22:42:30: Empty filename for /wikidump/chrp/images/0/01/Tuân_Pham.jpeg chrpdb 2007-02-26 22:42:32: crawling /wikidump/chrp/images/0/02 chrpdb 2007-02-26 22:42:32: Empty filename for /wikidump/chrp/images/0/02/Français.JPG chrpdb 2007-02-26 22:42:33: Empty filename for /wikidump/chrp/images/0/02/La_Soufrière-arieal.jpg chrpdb 2007-02-26 22:42:33: Empty filename for /wikidump/chrp/images/0/02/Megas_(Hættuleg_Hljómsveit_&_Glæpakvendið_Stella).jpg chrpdb 2007-02-26 22:42:33: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:33: Empty filename for /wikidump/chrp/images/0/02/Map_götaland.png chrpdb 2007-02-26 22:42:34: Empty filename for /wikidump/chrp/images/0/02/Bento_gonçalves_pt.gif chrpdb 2007-02-26 22:42:37: crawling /wikidump/chrp/images/0/03 chrpdb 2007-02-26 22:42:37: Empty filename for /wikidump/chrp/images/0/03/Die_große_Kirche_in_Suwalki.jpg chrpdb 2007-02-26 22:42:38: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:38: Empty filename for /wikidump/chrp/images/0/03/Carte_France_Département_18.png chrpdb 2007-02-26 22:42:38: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:38: Empty filename for /wikidump/chrp/images/0/03/Svpmap_västergötland.png chrpdb 2007-02-26 22:42:38: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:38: Empty filename for /wikidump/chrp/images/0/03/Finnish_map_with_Kittilä_highlighted.png chrpdb 2007-02-26 22:42:38: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:38: Empty filename for /wikidump/chrp/images/0/03/Göttingen_in_Germany.png chrpdb 2007-02-26 22:42:44: crawling /wikidump/chrp/images/0/04 chrpdb 2007-02-26 22:42:44: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:44: Empty filename for /wikidump/chrp/images/0/04/Jönköping_county.png chrpdb 2007-02-26 22:42:45: Empty filename for /wikidump/chrp/images/0/04/Package_Diagram_for_168-Pin_PGA_Embedded_IntelDX2_Processor.JPG chrpdb 2007-02-26 22:42:45: Empty filename for /wikidump/chrp/images/0/04/Ríos_Montt.JPG chrpdb 2007-02-26 22:42:45: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:45: Empty filename for /wikidump/chrp/images/0/04/Carte_France_Département_42.png chrpdb 2007-02-26 22:42:45: Empty filename for /wikidump/chrp/images/0/04/Autoportrait_à_la_palette.jpg chrpdb 2007-02-26 22:42:45: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:45: Empty filename for /wikidump/chrp/images/0/04/Île-de-France_flag.png chrpdb 2007-02-26 22:42:54: crawling /wikidump/chrp/images/0/05 chrpdb 2007-02-26 22:42:54: Empty filename for /wikidump/chrp/images/0/05/C_Jürgens.JPG chrpdb 2007-02-26 22:42:54: Empty filename for /wikidump/chrp/images/0/05/Nord-Trøndelag_coa.gif chrpdb 2007-02-26 22:42:54: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:54: Empty filename for /wikidump/chrp/images/0/05/Bjarkøy_coa.png chrpdb 2007-02-26 22:42:55: Empty filename for /wikidump/chrp/images/0/05/LÉ_Eithne_(P31).jpg chrpdb 2007-02-26 22:42:55: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:55: Empty filename for /wikidump/chrp/images/0/05/Caffè_Nero_(logo).PNG chrpdb 2007-02-26 22:42:55: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:55: Empty filename for /wikidump/chrp/images/0/05/AlbaniaTiranëCounty.png chrpdb 2007-02-26 22:42:55: Surprising mime type: text/plain chrpdb 2007-02-26 22:42:55: Empty filename for /wikidump/chrp/images/0/05/Öland.png chrpdb 2007-02-26 22:42:56: Empty filename for /wikidump/chrp/images/0/05/Krag-Jørgensen-Speed_Loader_1.jpg chrpdb 2007-02-26 22:43:01: crawling /wikidump/chrp/images/0/06 chrpdb 2007-02-26 22:43:01: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:01: Empty filename for /wikidump/chrp/images/0/06/Pokémon_Emerald_Trainers.png chrpdb 2007-02-26 22:43:02: Empty filename for /wikidump/chrp/images/0/06/HilmiÖzkök.jpg chrpdb 2007-02-26 22:43:02: Empty filename for /wikidump/chrp/images/0/06/María_Elena_Moyano.jpg chrpdb 2007-02-26 22:43:02: Empty filename for /wikidump/chrp/images/0/06/Arnaldo_tamayo_méndez.jpeg chrpdb 2007-02-26 22:43:02: Empty filename for /wikidump/chrp/images/0/06/Günter_Verheugen.jpg chrpdb 2007-02-26 22:43:03: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:03: Empty filename for /wikidump/chrp/images/0/06/AntiquePokéball.png chrpdb 2007-02-26 22:43:09: crawling /wikidump/chrp/images/0/07 chrpdb 2007-02-26 22:43:09: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:09: Empty filename for /wikidump/chrp/images/0/07/Carte_France_Département_26.png chrpdb 2007-02-26 22:43:10: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:10: Empty filename for /wikidump/chrp/images/0/07/Carte_Localisation_Région_France_Midi-Pyrénée.png chrpdb 2007-02-26 22:43:11: Empty filename for /wikidump/chrp/images/0/07/OrchestreMétropolitain.jpg chrpdb 2007-02-26 22:43:11: Empty filename for /wikidump/chrp/images/0/07/Filzstift.Sion_Switzerland_Notre_Dame_de_Valère_2002.jpg chrpdb 2007-02-26 22:43:11: Empty filename for /wikidump/chrp/images/0/07/WilhelmRöntgen.JPG chrpdb 2007-02-26 22:43:11: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:11: Empty filename for /wikidump/chrp/images/0/07/Brønnøy_coa.png chrpdb 2007-02-26 22:43:18: crawling /wikidump/chrp/images/0/08 chrpdb 2007-02-26 22:43:19: Empty filename for /wikidump/chrp/images/0/08/Portrait_of_Miklós_Zrinyi.jpg chrpdb 2007-02-26 22:43:20: Empty filename for /wikidump/chrp/images/0/08/Éire.jpg chrpdb 2007-02-26 22:43:25: crawling /wikidump/chrp/images/0/09 chrpdb 2007-02-26 22:43:26: Empty filename for /wikidump/chrp/images/0/09/Äänekoski_bus_disaster_2004.jpg chrpdb 2007-02-26 22:43:26: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:26: Empty filename for /wikidump/chrp/images/0/09/Celes_Chère_menu.png chrpdb 2007-02-26 22:43:26: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:26: Empty filename for /wikidump/chrp/images/0/09/Carte_France_Département_41.png chrpdb 2007-02-26 22:43:27: Empty filename for /wikidump/chrp/images/0/09/Lü_Bu_and_Diao_Chan_TV_Serial.jpg chrpdb 2007-02-26 22:43:27: Empty filename for /wikidump/chrp/images/0/09/Nornorna_spinner_ödets_trådar_vid_Yggdrasil.jpg chrpdb 2007-02-26 22:43:27: Empty filename for /wikidump/chrp/images/0/09/Drave_at_Vízvár,_Hungary.JPG chrpdb 2007-02-26 22:43:33: crawling /wikidump/chrp/images/0/0a chrpdb 2007-02-26 22:43:33: Empty filename for /wikidump/chrp/images/0/0a/La_Martinière_01.jpg chrpdb 2007-02-26 22:43:33: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:33: Empty filename for /wikidump/chrp/images/0/0a/Côte_d'Ivoire_map.png chrpdb 2007-02-26 22:43:33: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:33: Empty filename for /wikidump/chrp/images/0/0a/Polli_pula_e_Lleshit_në_kaçile_t'leshit.ogg chrpdb 2007-02-26 22:43:33: Empty filename for /wikidump/chrp/images/0/0a/Eddé.jpg chrpdb 2007-02-26 22:43:34: Empty filename for /wikidump/chrp/images/0/0a/Battle_of_Bråvalla.JPG chrpdb 2007-02-26 22:43:34: Surprising mime type: text/plain chrpdb 2007-02-26 22:43:34: Empty filename for /wikidump/chrp/images/0/0a/Provincia_Autónoma_Hebrea.png