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.