Richard Yonck wrote:
MediaWiki version: 1.10.1
PHP version: 5.2.9
MySQL version: 5.0.89
A recent failed upgrade of cpanel broke my installation, requiring a
reinstall of perl and mysql. Following this, images no longer displayed on
my wiki pages - they just show as the namespace and filename, i.e.,
Image:Filename.jpg inline with the text. No error is reported related to the
image. Drilling down to the actual image location will display the image in
the browser window.
I understand the MW version is old, but I have a lot
of custom extensions,
etc that I don't want to have to rewrite so I don't want to upgrade. And I
seriously doubt it would change the image issue. (I haven't made any mods to
the MW install itself.) Note: Some of my extensions on some pages (not Home)
need to be adjusted since the migration, but the image problem is identical
to what was happening on the old server. Ideas anyone?
Look at the image table entries. I think that under some circunstances
the stored mime got corrupted, being padded with null bytes, becoming
unknown to mw and producing that output.
If your changes are done in extensions, it should be easy to install.
They will need little changes if any to run in newer mediawiki.