Share » Forums » Developer » ImageMagick : convert not found

ImageMagick : convert not found

ImageMagick : convert not found

Friday 10 September 2010 1:29:45 am - 4 replies

Modified on Friday 10 September 2010 1:56:35 am by Gerard Ouiller

Author Message

Jérôme Vieilledent

Friday 10 September 2010 7:20:24 am

Hi Gérard

Mmm it seems that you have an INI issue here... Be aware that the default value (in settings/image.ini) for [ImageMagick].ExecutablePath is an empty string (it explains your /convert errors).

So my guess would be a problem in your image.ini.append.php override. Can you show the whole image.ini content please ?

Activating debug (clear the cache after) should also be very helpful :)

SEBBANE Alexandre

Friday 10 September 2010 10:26:57 am

Hello

can you go to the setup > configuration ini page in your ezpublish admin and choose image.ini in your siteaccess : you choose have the list of the variable and you will see which settings are take into account.

Paris, France

Gerard Ouiller

Monday 13 September 2010 12:42:59 am

Hello,

First, thank you Jerome and thank you Alexandre having answered.

Unfortunately, both Admin Panel & INI files seem correct :

Name default "ImageMagick"
  IsEnabled override true
  Handler default "eZImageShellFactory"
  ExecutablePath override "/usr/bin"  
  Executable override "convert"  
  PreParameters default ""
  PostParameters default ""

settings/image.ini :

ImageConverters[]
ImageConverters[]=ImageMagick
ImageConverters[]=GD

...

[ImageMagick]
Name=ImageMagick
IsEnabled=true
Handler=eZImageShellFactory
ExecutablePath=
Executable=convert
# ExecutableMac=convert
# ExecutableUnix=convert
PreParameters=
PostParameters=

settings/override/image.ini.append.php

<?php /* #?ini charset="utf-8"?
[ImageMagick]
IsEnabled=true
ExecutablePath=/usr/bin
Executable=convert
[FileSettings]
ImagePermissions=0777
*/ ?>

Christian Rößler

Monday 13 September 2010 2:15:26 am

After reading your infos, i might consider checking the following:

  • has the webserver-user read and execute permissions on convert binary? check this really by invoking convert as www-data (or whatever user you use) user to be sure.
  • has it worked before clearing the cache?
  • did you do apache updates? perhaps doing a graceful reload does somehow "refresh" the apache2-mod-php5 instance. this might be the last resort as all seems to be correct set up and ini's are correct.
  • check the re-created/cached inifiles (php-arrays in *.php files) in var/cache/ini folder. are the permissions correct? what does really got stored here? my guess is that clearing the cache has altered file permissions on those files/folders and ez cannot re-create cache files - somehow - or similar.

chris

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu