Topic on Project:Support desk

Image thumbnail creation broken

7
90.244.185.24 (talkcontribs)

I've noticed that no thumbnails have been made for any uploads made in the past few months.

The site is www.peckhamvision.org and runs: MediaWiki: 1.8.2 PHP: 5.2.17 (cgi) MySQL: 4.1.22-standard

All that is shown on the page instead of the thumbnail is some text "Error creating thumbnail:". The MW log has the following lines:

img_width match: 300 makeImageLinkObj: '300'x, "architects meet the CoDesigners" reallyRenderThumb: running ImageMagick: -quality 80 -background white -size 300 -coalesce -thumbnail -depth 8 2>&1 wfShellExec: -quality 80 -background white -size 300 -coalesce -thumbnail -depth 8 2>&1 thumbnail failed on nativespace-mercury.ns-mercury.com: error 1 "" from " -quality 80 -background white -size 300 -coalesce -thumbnail -depth 8 2>&1"


Nothing has changed in the LocalSettings.php file to stop this from working and the server is running ImageMagick 6 in the correct location "/usr/bin/convert".

I have seen a few other posts that recommend increasing the $wgMaxShellMemory but even after doing that nothing changes.

Can anyone think of anything else?

thanks

MarkAHershberger (talkcontribs)

First, upgrade. MW 1.8 hasn't been supported in quite a while. Please contact me or another professional if you need help with this.

Second, you don't state where you got the logs from, but I assume they are not error logs. Check out How to debug for help with debugging.

90.244.185.24 (talkcontribs)

Hi,

Yes i do need to upgrade it at some point.

The logs are from a debug log that i turned on earlier today using that How to debug page.

thanks

MarkAHershberger (talkcontribs)

Do you see anything in your server error log?

Separately, can I ask why you haven't upgraded yet? What is stopping you? If I were to do it for you at no cost, would you upgrade?

90.244.185.24 (talkcontribs)

I'm not sure if I can get access to the server error logs. I'm on a shared server and asked the hosts to look into the problem but they couldn't find anything wrong.

I am actually trying to upgrade it now, but need the server updated to a newer PHP and MySQL so I have to wait for that to happen.

The reason I haven't upgraded yet is simply that I am not that active on the site. I set it up and left it for others to use and only step in if something goes wrong, which has probably only been a couple of times in about 7 years - shows how good MW is I suppose.

MarkAHershberger (talkcontribs)

If the site can afford $10/month, you could move it to linode and upgrade it in the process. You'd also get more control over the server.

Alternatively, another shared hoster (I have a server...) could host it so you don't have to wait on the current hoster.

MarkAHershberger (talkcontribs)

You should contact the hoster and get them to tell you how to get access to your error log.

Reply to "Image thumbnail creation broken"