Can't understand the result

Author Message

Børge Warvik

Monday 30 January 2006 2:20:52 pm

When doing this

{def $link=fetch('content', 'node', hash('node_id', 75))}
{$link.object.data_map|attribute('show', 1)}

I always get an execution timeout, even though I've set it to 120 seconds and increased the memory limit to 32.

Am I doing something wrong?

Łukasz Serwatka

Tuesday 31 January 2006 12:06:56 am

Hi Børge,

Which version of PHP do you have? There was bug in PHP 4.4.1, which caused "attribute" to infinite loop. Problem was fixed in eZ publish 3.7.3.

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

Børge Warvik

Tuesday 31 January 2006 1:50:01 am

Thanks, thats the version I'm using. Will upgrade from 3.7.2 to 3.7.3

Edit: upgraded, and everything worked great!

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 03:21:36
Script start
Timing: Jan 19 2025 03:21:36
Module start 'layout'
Timing: Jan 19 2025 03:21:36
Module start 'content'
Timing: Jan 19 2025 03:21:37
Module end 'content'
Timing: Jan 19 2025 03:21:37
Script end

Main resources:

Total runtime0.8395 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.1563152.6250
Module start 'layout' 0.00500.0032 741.781339.4453
Module start 'content' 0.00820.8300 781.2266540.8516
Module end 'content' 0.83810.0013 1,322.078112.1641
Script end 0.8394  1,334.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3781160.0002
Check MTime0.00130.1542160.0001
Mysql Total
Database connection0.00070.080810.0007
Mysqli_queries0.790994.2096570.0139
Looping result0.00050.0624550.0000
Template Total0.808996.420.4045
Template load0.00220.259820.0011
Template processing0.806796.098920.4034
Template load and register function0.00010.014310.0001
states
state_id_array0.00080.097410.0008
state_identifier_array0.00190.221420.0009
Override
Cache load0.00190.2301160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.074020.0003
Fetch class attribute name0.00130.149650.0003
XML
Image XML parsing0.00140.168420.0007
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00190.2238240.0001
String conversion0.00000.001140.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs