Topic on Project:Support desk

[RESOLVED] Images not displaying

14
139.133.73.61 (talkcontribs)

In this wiki the images are not displayed. I tried both with uploading one or using the InstantCommons features (like in the main page), but the result is the same. The software is 1.16.5 and I cannot upgrade it since the hosting server support a PhP compatible to this version at the best. Any suggestion?

Ricordisamoa (talkcontribs)
151.225.136.51 (talkcontribs)

Please upgrade mediawiki from 1.16.5 to mediawiki 1.23.5 or wait until November to get 1.24 or upgrade to mediawiki 1.23 and then upgrade to mediawiki 1.24 when released.

151.225.136.51 (talkcontribs)

Please also upgrade php from, 5.2 to 5.3 please to work with latest version of mediawiki.

Florianschmidtwelzow (talkcontribs)

You also can upgrade to 1.19.x, which is the latest stable and supported branch, that supports PHP < 5.3.2 (if you can not upgrade your PHP version). But, you should try to figure out ways to upgrade your php version, because MW 1.19 support will end in May 2015.

90.212.21.250 (talkcontribs)

Hello, as I explained I cannot upgrade as I downloaded the latest version compatible with the PhP version on my university's server. I really would like to use the latest version, but I can't do it for now. Isn't there a way to display images in this software though? Tanonero (talk) 13:29, 25 October 2014 (UTC)

88.130.85.32 (talkcontribs)

The server is using PHP 5.2.17 and MediaWiki 1.19 is compatible with that PHP version (see Release_notes/1.19). So in fact also I recommend to try an upgrade.

And if it's only for improved security. Some days ago we had a user here who asked, how he could restore part of his database after he realized that an attacker had deleted all entries newer than a certain date. It's no fun having such issues.

Tanonero (talkcontribs)

Thank you for your reply, unfortunately I read 5.2.17 as 5.2.1.7, so I installed an outdated version. I'll try an upgrade, even if I am struggling with apparently simple operations as I am a poor sociologist :(

Should the upgrade solve my displaying images problem?

Florianschmidtwelzow (talkcontribs)

> Should the upgrade solve my displaying images problem?

Maybe, maybe not :) Please give us feedback, if the upgrade solved the problem.

Tanonero (talkcontribs)

Hello, I managed to upgrade my wiki to the latest version supported, which is 1.19.20, but the old images are still not displayed. Furthermore, when uploading new test images I get the warning messages:

▪ Could not delete lock file for "mwstore://local-backend/local-public/f/f8". ▪ Could not delete lock file for "mwstore://local-backend/local-public/f/f8/Test1.jpg

Finally, in the thumbnail frame it appears the message "Error creating thumbnail: sh: /usr/bin/convert: No such file or directory". Any suggestion?

Tanonero (talkcontribs)

I solved it, the only problem was that my Local Settings was missing of:

$wgUploadPath = "$wgScriptPath/uploads"; $wgUploadDirectory = "$IP/uploads";

Sorry everyone to having wasted your time.

Paladox (talkcontribs)

Hi you also need to update your localsettings.php for 1.19 since you were using 1.16 there were lots of changes including adding support for javascript.

Paladox (talkcontribs)

You can ask who ever owns the server to upgrade there php to 5.3.3 or higher.

Malyacko (talkcontribs)

That is not needed as PHP 5.2 is available and MediaWiki 1.19 supports it.

Reply to "[RESOLVED] Images not displaying"