problem uploading images - doest create image variations

Author Message

Alexandre Cunha

Tuesday 14 February 2006 5:34:15 pm

Hi,

I have this problem only on the shared hosting (apache2+php4.1+gd).
On my developement machine (opensuse10+apache2+php4.1+gd) no problems at all.

I upload the image with name "a" using "admin interface / multimidia". The admin interface doest show any error.
Looking in the var/mysite/images/media/a/ I found the file "a.png" but not any other image variations like "a_reference.jpg" and other.

Looking in the var/log/error.log I see:

[ Feb 14 2006 18:19:36 ] [87.196.44.127] Unknown destination file: var/mysite/storage/images/media/a/942-1-por-PT/a_reference.png
[ Feb 14 2006 18:19:36 ] [87.196.44.127] Failed converting var/mysite/storage/images/media/a/942-1-por-PT/a.png to alias original in directory var/mysite/storage/images/media/a/942-1-por-PT
[ Feb 14 2006 18:19:36 ] [87.196.44.127] Failed creating the referenced alias reference, cannot create alias small
[ Feb 14 2006 18:19:43 ] [87.196.44.127] Undefined module: favicon.ico
[ Feb 14 2006 18:19:43 ] [87.196.44.127] Error ocurred using URI: /favicon.ico
 

I have checked the file permissions of var/ and have testes with 777 and 770.

Any ideas ?

I have the same setup (file permissions, user/group, etc) on my developement machine without any trouble.

axel

http://AlexandreCunha.com

Alexandre Cunha

Wednesday 15 February 2006 5:48:23 am

The problem is solved ...

Looking further, I fount the /settings/override/image.ini.append.php have

[ImageMagick]
IsEnabled=true
ExecutablePath=/usr/local/bin
Executable=convert
 

Changeg to

[ImageMagick]
IsEnabled=false
#ExecutablePath=/usr/local/bin
#Executable=convert

this enables GD library to work with images.

I thing there is someting wrong in the setup of ezPublish because the setup screen says GD is installed. I dont understand why ImageMagick is choosed by the setup (or there is a option in the setup to enable GD instead of ImageMagick ?? I will see this later ...)

http://AlexandreCunha.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.