Help Please. I need resolve my problem with images...

Author Message

Adolfo Barragán

Sunday 15 June 2003 12:11:52 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

Víctor Déniz

Monday 11 August 2003 6:18:14 am

Hi Adolfo.

Have you fixed your problem?

I have another one very similar and I think I've tried everything.

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 18 2025 16:27:53
Script start
Timing: Jan 18 2025 16:27:53
Module start 'layout'
Timing: Jan 18 2025 16:27:53
Module start 'content'
Timing: Jan 18 2025 16:27:53
Module end 'content'
Timing: Jan 18 2025 16:27:53
Script end

Main resources:

Total runtime0.0165 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.0066 588.0469152.6406
Module start 'layout' 0.00660.0026 740.687539.4922
Module start 'content' 0.00930.0053 780.179789.2578
Module end 'content' 0.01460.0018 869.437534.3047
Script end 0.0164  903.7422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.7679140.0002
Check MTime0.00116.6274140.0001
Mysql Total
Database connection0.00074.310110.0007
Mysqli_queries0.002817.044730.0009
Looping result0.00000.078310.0000
Template Total0.00159.010.0015
Template load0.00084.618810.0008
Template processing0.00074.328910.0007
Override
Cache load0.00053.282610.0005
General
dbfile0.00137.726080.0002
String conversion0.00000.053640.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