Bug - Making the image a link gives errors in debug

Author Message

John Smith

Wednesday 20 August 2008 7:43:59 am

Hi there,

I installed ez4.0 out of the box solution. On one page I inserted a picture and made it a link..

Following is the error in the debug....

Error: eZTemplate @ design/base/override/templates/embed/image.tpl:10[4]
No such attribute for array(3): classification
Choose one of following: url_id, target, href

Is it a bug or Am I doing something wrong???

Smith

John Smith

Thursday 21 August 2008 8:37:10 am

Any one please ???

John Smith

Friday 22 August 2008 3:08:59 am

Today I installed 4.0.1 new fresh release just to check the error.. But the error is still there....

Maxime Thomas

Thursday 04 September 2008 11:12:49 pm

Hi John,
It seems that you've got an error in one of your templates, I think it is in the embed view of the image. The template try to access an attribute called classification which doesn't exist.
You can post this as an issue on http://issues.ez.no and then some eZ guy will check this, else it's maybe development problem on your side.

Max

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 18 2025 21:06:53
Script start
Timing: Jan 18 2025 21:06:53
Module start 'layout'
Timing: Jan 18 2025 21:06:53
Module start 'content'
Timing: Jan 18 2025 21:06:54
Module end 'content'
Timing: Jan 18 2025 21:06:54
Script end

Main resources:

Total runtime1.2715 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.1641152.6563
Module start 'layout' 0.00510.0034 740.820339.5078
Module start 'content' 0.00851.2616 780.3281543.7500
Module end 'content' 1.27010.0013 1,324.078112.1094
Script end 1.2714  1,336.1875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2351160.0002
Check MTime0.00120.0983160.0001
Mysql Total
Database connection0.00060.044310.0006
Mysqli_queries1.225696.3899600.0204
Looping result0.00060.0505580.0000
Template Total1.229796.720.6149
Template load0.00190.153120.0010
Template processing1.227896.560720.6139
Template load and register function0.00010.010010.0001
states
state_id_array0.00180.143610.0018
state_identifier_array0.00140.114020.0007
Override
Cache load0.00160.1297190.0001
Sytem overhead
Fetch class attribute can translate value0.00090.074620.0005
Fetch class attribute name0.00080.061450.0002
XML
Image XML parsing0.00070.054520.0003
class_abstraction
Instantiating content class attribute0.00000.000750.0000
General
dbfile0.00160.1224160.0001
String conversion0.00000.000540.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
4content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 7

Time used to render debug report: 0.0001 secs