An example of the problem can be found here: http://184.108.40.206/index.php?title=Kodokan_Judo_Institute
If you notice, the first thing on the page is links to File:Kodokan(andLaqua).jpg and File:Kodokan logo.gif. However, these are created using [[Image:
If you click through to the image page and then click through to the image, you can view it.
I migrated to a new server recently. Previously I was on a shared host using apache, but now I have my own virtual server using lighttpd. The problem occurs on the new server using either apache or lighttpd. Before I migrated I upgraded the installation to 1.16.2 and did not notice if the problem was from that or not.
Any new files I upload will work correctly. It is just the files that I have uploaded before the migration. (so one possible solution is to re-upload all the files... but I sure hell don't want to do that.)
Here is the error the debug log gives (it gives this for any image it tries to display):
- MediaHandler::getHandler: no handler found for image/jpeg
- Linker::makeImageLink2: File:Kodokan(andLaqua).jpg does not allow inline display
- MediaHandler::getHandler: no handler found for image/gif
- Linker::makeImageLink2: File:Kodokan_logo.gif does not allow inline display
I am guessing this has something to do with $wgTrustedMediaFormats and Image::isSafeFile deeming these file types to be invalid. But I have no idea why they would be doing this.
Any help would be appreciated.