| Thursday 11 May 2006 4:25:16 am 
                                                                
                                                                 I have this error in ez debug : Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '200x200>' 'var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_reference.jpg' 'JPEG:var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_medium.jpg', Error: , Return: 1 
My apache log :convert: unable to open image `var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_reference.jpg': Permission denied.
 I tried everything I could to make it work, but it still not working... Imagemagick convert is install in /usr/bin/. 
Here is my override/image.ini.append.php :[ImageMagick]
 ExecutablePath=/usr/bin
 
Imagemagick work fine by command line when I try :convert test.jpg test.png
 
Imagemagick work fine by command line when I try with an Exponential image :convert /opt/Exponential/sites/default/var/mysite/storage/images/accueil/achat/popup/4383-2-fre-FR/popup.jpg test.png
 
So it's not an imagemagick problem because it works by command line.It's not a permission problem because it works when I try to convert an Exponential image.
 I think it's a path problem because ez debug outpout should be :
 Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '200x200>' '/opt/Exponential/sites/default/var/mysite/storage/images/accueil/achat/popup/4383-2-fre-FR/popup.jpg' 'JPEG:/opt/Exponential/sites/default/var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_medium.jpg', Error: , Return: 1 
not : Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '200x200>' 'var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_reference.jpg' 'JPEG:var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_medium.jpg', Error: , Return: 1
 So I tried in override/settings.ini.append.php : 
[FileSettings]VarDir=var/mysite
 or :
 [FileSettings]
 VarDir=/opt/Exponential/sites/default/var/mysite
 or :
 [FileSettings]
 VarDir=//opt/Exponential/sites/default/var/mysite
 But nothing works. The debug output message is always the same : Failed executing: /usr/bin/convert '-quality' '75' '-geometry' '200x200>' 'var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_reference.jpg' 'JPEG:var/mysite/storage/images/media/images/homepage_woman/1770-1-fre-FR/homepage_woman_medium.jpg', Error: , Return: 1 
Is anyone has a clue ?I'm really lost and I would really appreciate some litlle help :)
 Thanks.
 |