Forums / Developer / Cache causing new forum messages not to appear

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