Problem with image display

Author Message

chanaka jayasena

Monday 11 July 2005 1:31:35 am

I am using eZ publish version 3.6.0 and designed the site on my local machine with the following configurations.

Microsoft Windows XP Professional version 2002 with service pack 2
PHP Version 4.3.11
MySql Ver 11.18 Distrib 3.23.58
Apache HTTP Server Version 1.3
ImageMagick 6.1.0

I install eZpublish with the manual process and create a news site. I add several articles with images to the site. Everything is working fine on my machine. I got a copy of the whole site folder and the database. Then I create a copy of this site on another machine which has the same configuration as mine.

When I access the site I couldn’t find images that were attached to the articles. But all the other content is visible. Also I can find the images inside the var directory. I can’t find a way to solve this problem. Please help!

chanaka jayasena

Tuesday 19 July 2005 8:55:59 pm

The problem was the path to image magic. In the machine I installed eZPublish had the following settings in the settings/image.ini.append.php file.

<?php /* #?ini charset="iso-8859-1"?

[ImageMagick]
IsEnabled=true
ExecutablePath=C:\WINDOWS
Executable=convertim.exe
*/ ?>

But in the second computer where image manipulation doesn&#8217;t work has no convertim.exe file on the C:\WINDOWS directory. I manually copied the file to the windows directory but it didn&#8217;t work out. Image Magick installation path is C:\ ImageMagick. So I change the settings in settings/image.ini.append.

<?php /* #?ini charset="iso-8859-1"?

[ImageMagick]
IsEnabled=true
ExecutablePath= C:\ ImageMagick
Executable=convert.exe
*/ ?>

It worked.

Note the two files are different in the two locations. In WINDOWS directory it is <b>convertim.exe</b> and in the ImageMagick folder it is <b>convert.exe</b>. I spend nearly 4 days to figure this out.

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 19:38:09
Script start
Timing: Jan 18 2025 19:38:09
Module start 'layout'
Timing: Jan 18 2025 19:38:09
Module start 'content'
Timing: Jan 18 2025 19:38:10
Module end 'content'
Timing: Jan 18 2025 19:38:10
Script end

Main resources:

Total runtime0.6807 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.3438152.6250
Module start 'layout' 0.00780.0030 741.968839.4453
Module start 'content' 0.01080.6683 781.4141464.2031
Module end 'content' 0.67910.0016 1,245.617212.1641
Script end 0.6807  1,257.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4663160.0002
Check MTime0.00130.1983160.0001
Mysql Total
Database connection0.00100.152310.0010
Mysqli_queries0.631592.7628520.0121
Looping result0.00050.0765500.0000
Template Total0.643294.520.3216
Template load0.00210.315420.0011
Template processing0.641094.163420.3205
Template load and register function0.00010.015010.0001
states
state_id_array0.00130.185110.0013
state_identifier_array0.00110.166520.0006
Override
Cache load0.00170.2541300.0001
Sytem overhead
Fetch class attribute can translate value0.00090.133110.0009
Fetch class attribute name0.00090.130530.0003
XML
Image XML parsing0.00060.086110.0006
class_abstraction
Instantiating content class attribute0.00000.001240.0000
General
dbfile0.00120.1733160.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs