Forums / Install & configuration / I can't achieve images work properly

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

eZ debug

Timing: Jan 18 2025 11:22:49
Script start
Timing: Jan 18 2025 11:22:49
Module start 'content'
Timing: Jan 18 2025 11:22:49
Module end 'content'
Timing: Jan 18 2025 11:22:49
Script end

Main resources:

Total runtime0.4086 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 587.8359180.8203
Module start 'content' 0.00890.0054 768.656393.8203
Module end 'content' 0.01430.3943 862.4766529.3281
Script end 0.4085  1,391.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.9525200.0002
Check MTime0.00150.3561200.0001
Mysql Total
Database connection0.00110.270210.0011
Mysqli_queries0.356987.34761410.0025
Looping result0.00170.42731390.0000
Template Total0.393896.410.3938
Template load0.00090.215910.0009
Template processing0.393096.175110.3930
Override
Cache load0.00060.144210.0006
Sytem overhead
Fetch class attribute can translate value0.00140.330710.0014
XML
Image XML parsing0.00030.072210.0003
General
dbfile0.00190.4553200.0001
String conversion0.00000.002330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs