Topic on Project:Support desk

Thumbnail creation error code: -1

8
Kiksesoi (talkcontribs)

Hello, starting to use upload an image file function (png, jpg, ...).

The thumbnail fails to display on any page ...

"Error while creating Thumbnail. Error code: -1"

But the file is correctly uploaded and displayed if tryed.

Any idea ?

Jessie cloud hosted

MediaWiki 1.28.0

PHP Version 7.1.3

imagick module version     3.4.3RC1

ImageMagick release date     2017-05-23

Many thanks .

AhmadF.Cheema (talkcontribs)
82.236.43.243 (talkcontribs)

Thank you for your answer.

As in the original topic, the server is hosted by OVH, and there is no pbl with small images.

I've tried with these settings in LocalSettings.php : $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgUseImageResize = true; $wgUseImageMagick = true; $wgMaxShellMemory = 307200; $wgGenerateThumbnailOnParse = true;

Doesn't change anything

AhmadF.Cheema (talkcontribs)

The poster of the original topic believed that this issue is due to restrictions by OVH hosting. Have you checked this issue with them?

Kiksesoi (talkcontribs)
Kiksesoi (talkcontribs)

up ? ....

This post was hidden by MacFan4000 (history)
Ciencia Al Poder (talkcontribs)

See Manual:How to debug and enable a debug log, it will display the imagemagick command used to generate the thumb, and maybe some error messages. You can try to execute the imagemagick command directly in the command line to see if it crashes.