Cache causing new forum messages not to appear

Author Message

Eirik Alfstad Johansen

Monday 20 June 2005 6:00:14 am

Hi,

I've built a forum using the default eZP forum package with very little, if any, modifications to it.

The problem I'm experiencing is that after adding a new forum topic or reply, the new message is not available until I clear the cache (v. 3.5.0).

Has anyone else experienced this?

Sincerely,

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

Paul Forsyth

Monday 20 June 2005 6:17:54 am

Hi Eirik,

Will

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

at the top of the template do the trick?

paul

Eirik Alfstad Johansen

Monday 20 June 2005 6:37:54 am

Yes it did, Paul. Thanks a lot!

Kind of strange that this isn't included in the template distributed with the package.

Sincerely,

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

Paul Forsyth

Monday 20 June 2005 6:44:03 am

Yes, i agree. Its a known problem with forums.

paul

Paul Forsyth

Monday 20 June 2005 6:48:11 am

Eirik,

Have a read of this bug from January.

http://ez.no/bugs/view/6133

You may need to clear cache for all forum templats to avoid privacy issues.

paul

Johnny Clingham

Sunday 27 February 2011 1:13:54 pm

"

Hi Eirik,

Will

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

at the top of the template do the trick?

paul

"

Hi Erik i have this problem can you tell me which template this needs to go is it the pagelayout.tpl i am not a developer also is it at the verry very top Johnny

Johnny Clingham

Tuesday 01 March 2011 4:32:43 am

"

Eirik,

Have a read of this bug from January.

http://ez.no/bugs/view/6133

You may need to clear cache for all forum templats to avoid privacy issues.

paul

"

Paul can you tell me exactly which template you are referring to is it the pagelayout.tpl i need to add this to is so where is it at the top of the page thanks JC

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 05:05:00
Script start
Timing: Jan 18 2025 05:05:00
Module start 'layout'
Timing: Jan 18 2025 05:05:00
Module start 'content'
Timing: Jan 18 2025 05:05:02
Module end 'content'
Timing: Jan 18 2025 05:05:02
Script end

Main resources:

Total runtime1.4122 sec
Peak memory usage4,096.0000 KB
Database Queries71

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0095 588.0469152.6406
Module start 'layout' 0.00950.0038 740.687539.4766
Module start 'content' 0.01331.3973 780.1641609.2578
Module end 'content' 1.41060.0016 1,389.421916.1250
Script end 1.4122  1,405.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.2929160.0003
Check MTime0.00170.1227160.0001
Mysql Total
Database connection0.00130.095010.0013
Mysqli_queries1.292791.5337710.0182
Looping result0.00100.0708690.0000
Template Total1.346895.420.6734
Template load0.00280.197420.0014
Template processing1.344095.171220.6720
Template load and register function0.00010.007510.0001
states
state_id_array0.00260.181110.0026
state_identifier_array0.00380.270320.0019
Override
Cache load0.00260.1836430.0001
Sytem overhead
Fetch class attribute can translate value0.00360.252930.0012
Fetch class attribute name0.00370.260580.0005
XML
Image XML parsing0.00090.065930.0003
class_abstraction
Instantiating content class attribute0.00000.001290.0000
General
dbfile0.00470.3318160.0003
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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/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
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs