Object(ezimagealiashandler)|attribute(show) crashes

Author Message

Nabil Alimi

Tuesday 22 November 2005 7:29:51 am

Here's the result when trying to use attribute(show) on an image datatype. {$node.object.data_map.image.content}

Fatal error: Call to undefined function: storedata() in /var/www/ez_site_type/kernel/classes/datatypes/ezimage/ezimagealiashandler.php on line 1234

That occured when I tried to retrieve my image dirpath.

I'm using EzPublish 3.6.2

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ɓukasz Serwatka

Thursday 24 November 2005 1:22:57 am

Hi Nabil,

Use $node.data_map.image.content instead of $node.object.data_map.image.content.

{$node.data_map.image.content[original].url|ezroot}

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 20 2025 18:12:49
Script start
Timing: Jan 20 2025 18:12:49
Module start 'layout'
Timing: Jan 20 2025 18:12:49
Module start 'content'
Timing: Jan 20 2025 18:12:50
Module end 'content'
Timing: Jan 20 2025 18:12:50
Script end

Main resources:

Total runtime1.2662 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1797151.2266
Module start 'layout' 0.00580.0022 740.406336.6953
Module start 'content' 0.00801.2573 777.1016555.9922
Module end 'content' 1.26530.0009 1,333.09387.9688
Script end 1.2662  1,341.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2396160.0002
Check MTime0.00120.0983160.0001
Mysql Total
Database connection0.00090.068610.0009
Mysqli_queries1.222496.5419540.0226
Looping result0.00050.0420520.0000
Template Total1.237297.720.6186
Template load0.00170.137020.0009
Template processing1.235597.571320.6177
Template load and register function0.00010.010510.0001
states
state_id_array0.00090.072410.0009
state_identifier_array0.00150.121520.0008
Override
Cache load0.00140.1106130.0001
Sytem overhead
Fetch class attribute can translate value0.00080.059720.0004
Fetch class attribute name0.00180.138240.0004
XML
Image XML parsing0.00250.200320.0013
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00330.2600240.0001
String conversion0.00000.000740.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs