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.

eZ debug

Timing: Jan 31 2025 08:09:36
Script start
Timing: Jan 31 2025 08:09:36
Module start 'layout'
Timing: Jan 31 2025 08:09:36
Module start 'content'
Timing: Jan 31 2025 08:09:36
Module end 'content'
Timing: Jan 31 2025 08:09:36
Script end

Main resources:

Total runtime0.0143 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.3750151.2422
Module start 'layout' 0.00480.0021 739.617236.7109
Module start 'content' 0.00690.0062 776.328190.2344
Module end 'content' 0.01310.0011 866.562529.9922
Script end 0.0142  896.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.2500140.0002
Check MTime0.00117.3612140.0001
Mysql Total
Database connection0.00064.382710.0006
Mysqli_queries0.002215.588930.0007
Looping result0.00000.061810.0000
Template Total0.00096.210.0009
Template load0.00074.937010.0007
Template processing0.00021.218810.0002
Override
Cache load0.00053.220610.0005
General
dbfile0.002618.143480.0003
String conversion0.00000.040140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs