I can't achieve images work properly

Author Message

Adolfo Barragán

Monday 16 June 2003 10:35:19 am

First, disclaim extension but I'm desperate.

After read whole forum and contribution docs, I can't achieve images work properly.

If I create a new content object of class image (or attribute image), it upload properly and ezpublish rename it and store it in var/storage/original/image, but not in reference, nor create variations.

I installed ImageMagick without root access as explained in forum and contributed docs, I change settings in image.ini.php.append, etc. but images not work.

So, if I want images on my site I must make all task manually:
- Create content object image,
- anotate new name, contentobject_attribute_id and version,
- make variations locally (with an external program)
- rename variations to follow standards in ezpublish (php9brYht_150x150_611.jpg, etc).
- fill records for these images in table ezimagevariation
- upload (by FTP) the images.

If I try use GD, ezDebug tell me "No JPEG support in this PHP build"
My site is on an shared hosting and I cannot change anything.

I'm desperated because the site has a lot of images (has a section with several galleries).

My site is on a shared hosting without virtual domains, so I cannot change settings for php, apache, etc. /var tree has 777 as permissions.

You can see phpinfo() at http://www.mcytp.com/index_info.php and the output of debug (relate to images) is show below:

Warning: eZModuleOperationInfo::execute Jun 14 2003 23:00:42
Missing main operation memento for key: de8c4fdc34a76bbd00468b4306b01f5c

Warning: Jun 14 2003 23:00:42
Exec: /usr/www/htdocs/mcytp/ImageMagick/bin/convert -geometry "150x150>" var/storage/reference/image//php9brYht.jpg jpg:var/storage/variations/image/p/h/p//php9brYht_150x150_611.jpg, Err: , Ret: 127

Warning: PHP Jun 14 2003 23:00:42
getimagesize: Unable to open 'var/storage/variations/image/p/h/p/php9brYht_150x150_611.jpg' for reading. in /usr/www/htdocs/mcytp/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 211

Warning: PHP Jun 14 2003 23:00:42
stat failed for var/storage/variations/image/p/h/p/php9brYht_150x150_611.jpg (errno=2 - No such file or directory) in /usr/www/htdocs/mcytp/kernel/classes/datatypes/ezimage/ezimagevariation.php on line 226

Error: Jun 14 2003 23:00:42
Could not create variation for var/storage/variations/image/p/h/p/php9brYht_150x150_611.jpg

Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[14] Jun 14 2003 23:00:42
Cannot retrieve attribute of a boolean

Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[45] Jun 14 2003 23:00:42
Cannot retrieve attribute of a boolean

Error: eZTemplate @ content/datatype/view/ezimage.tpl:8[67] Jun 14 2003 23:00:42
Cannot retrieve attribute of a boolean

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 01:15:49
Script start
Timing: Jan 31 2025 01:15:49
Module start 'layout'
Timing: Jan 31 2025 01:15:49
Module start 'content'
Timing: Jan 31 2025 01:15:49
Module end 'content'
Timing: Jan 31 2025 01:15:49
Script end

Main resources:

Total runtime0.0256 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2578151.2266
Module start 'layout' 0.00510.0041 739.4844220.7188
Module start 'content' 0.00920.0150 960.2031997.7266
Module end 'content' 0.02420.0013 1,957.929729.9922
Script end 0.0255  1,987.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00259.7082140.0002
Check MTime0.00103.9237140.0001
Mysql Total
Database connection0.00093.364110.0009
Mysqli_queries0.002610.346130.0009
Looping result0.00000.055010.0000
Template Total0.00093.610.0009
Template load0.00062.499610.0006
Template processing0.00031.083810.0003
Override
Cache load0.00041.682510.0004
General
dbfile0.002610.187680.0003
String conversion0.00000.030840.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