Problem with pagination

Author Message

Felix Laate

Thursday 02 February 2006 6:20:28 am

Hi all,

I have a site where I use the standard pagination

 {include name=navigator uri='design:navigator/google.tpl' page_uri=concat( '/content/view/full/', $node.node_id, '/' )item_count=$articleCount view_parameters=$view_parameters item_limit=$numberOfObjects} 

in my pagelayout.

When I click on next, it works allright. But when I go back, the whole thing disapears. I then need to empty the cache to get it back..

I guess it has something to do with caching, but I can't figure it out.

Any help could make the differance..

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Felix Laate

Thursday 02 February 2006 9:12:51 am

Hi again,

caching most definatly has something to do with it. Turning off ViewCaching solves the problem, but obviously is a problem in it self.

Is there any way to say "<i>this part shall not be cached, what-so-ever</i>"?

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Marc Boon

Monday 13 March 2006 3:51:31 am

{set-block scope=root variable=cache_ttl}0{/set-block}

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 04:23:56
Script start
Timing: Jan 18 2025 04:23:56
Module start 'layout'
Timing: Jan 18 2025 04:23:56
Module start 'content'
Timing: Jan 18 2025 04:23:57
Module end 'content'
Timing: Jan 18 2025 04:23:57
Script end

Main resources:

Total runtime0.7994 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.0077 587.9063152.6250
Module start 'layout' 0.00770.0039 740.531339.4453
Module start 'content' 0.01160.7864 779.9766528.4609
Module end 'content' 0.79800.0014 1,308.437512.1719
Script end 0.7994  1,320.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4714160.0002
Check MTime0.00140.1737160.0001
Mysql Total
Database connection0.00090.118110.0009
Mysqli_queries0.741092.6832570.0130
Looping result0.00050.0630550.0000
Template Total0.763995.620.3820
Template load0.00200.255820.0010
Template processing0.761995.298520.3809
Template load and register function0.00010.011910.0001
states
state_id_array0.00120.148910.0012
state_identifier_array0.00120.149920.0006
Override
Cache load0.00170.2151200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.072220.0003
Fetch class attribute name0.00150.193040.0004
XML
Image XML parsing0.00070.083520.0003
class_abstraction
Instantiating content class attribute0.00000.001550.0000
General
dbfile0.00100.1200160.0001
String conversion0.00000.001540.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs