eZImagemanager error slowing down template processing

Author Message

Eirik Alfstad Johansen

Friday 19 March 2004 2:30:48 am

Hi,

When debugging, I get the following errors several times on my main page:

=====
Error: eZImageManager::createImageAlias Mar 19 2004 10:53:03
The reference alias original file does not exist

Error: Mar 19 2004 10:53:03
Original alias does not exists, cannot create other aliases without it
=====

I've uploaded the following latest files from pubsvn, STABLE, 3.3

design/standard/templates/content/datatype/edit/ezimage.tpl
design/standard/templates/content/datatype/view/ezimage.tpl
kernel/classes/datatypes/ezimage/ezimagealiashandler.php

However, the error msgs still occur. This is not design problem as all images are properly displayed, but I

think it slows down the template processing which is about 2.5 seconds.

Thanks in advance for any suggestions !

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Friday 26 March 2004 2:05:21 am

Hi guys,

Just curious about why noone can answer this. Are noone familiar with the problem? Anyone from ez?

Thanks in advance !

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Bård Farstad

Friday 26 March 2004 2:21:37 am

Check your image settings. It seems you have a reference in image.ini to an image variation which does not exist.

Documentation: http://ez.no/doc

Eirik Alfstad Johansen

Monday 29 March 2004 10:00:37 am

Hi Bård,

How can that be when I haven't touched the image.ini file? Also, is is possible to find out for which images these errors occur?

Thanks in advance !

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Maxime Thomas

Friday 03 March 2006 1:13:29 am

I've got also this message when I tried to render the image. My code was :

{if ne('',$node.data_map.preview.content.small.url)}
			<img src="{concat('/',$node.data_map.preview.content.small.url)}" />
		{else}
			<img src={'line/lien.gif'|ezimage()}/>
		{/if}

And the one which finally worked :

{if ne('',$node.data_map.preview.has_content)}
			<img src="{concat('/',$node.data_map.preview.content.small.url)}" />
		{else}
			<img src={'line/lien.gif'|ezimage()}/>
		{/if}

And the fact I tried to access directly the alias was a mistake... Prefer use the <b>has_content</b> function.

Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou

Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas

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 19 2025 07:26:40
Script start
Timing: Jan 19 2025 07:26:40
Module start 'layout'
Timing: Jan 19 2025 07:26:40
Module start 'content'
Timing: Jan 19 2025 07:26:41
Module end 'content'
Timing: Jan 19 2025 07:26:41
Script end

Main resources:

Total runtime1.2227 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 590.5156152.6406
Module start 'layout' 0.00630.0035 743.156339.4766
Module start 'content' 0.00981.2115 782.6328614.9063
Module end 'content' 1.22130.0014 1,397.539116.1250
Script end 1.2227  1,413.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2629160.0002
Check MTime0.00130.1028160.0001
Mysql Total
Database connection0.00070.061210.0007
Mysqli_queries1.155594.4983650.0178
Looping result0.00080.0635630.0000
Template Total1.184996.920.5925
Template load0.00220.181320.0011
Template processing1.182796.724620.5913
Template load and register function0.00010.007410.0001
states
state_id_array0.00090.074510.0009
state_identifier_array0.00180.148720.0009
Override
Cache load0.00200.1634460.0000
Sytem overhead
Fetch class attribute can translate value0.00110.094030.0004
Fetch class attribute name0.00130.105780.0002
XML
Image XML parsing0.00300.248630.0010
class_abstraction
Instantiating content class attribute0.00000.0014100.0000
General
dbfile0.00270.2231290.0001
String conversion0.00000.000840.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs