Forums Cache Problem - Ez Crew please help.

Forums Cache Problem - Ez Crew please help.

Wednesday 01 February 2006 1:25:10 am - 4 replies

Author Message

Kristof Coomans

Wednesday 01 February 2006 1:33:48 am

What exactly do you mean with:
"There is a big cache problem when one user log out and another log in." ?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

John Smith

Wednesday 01 February 2006 1:45:30 am

Thanks for your quick reply.

Let me explain you.

In my case, After logging, staff members can edit/post both forum topics, one for students and another for staff member. On the other end Students can only see both topics but only post/edit students topics.

First I logged in as staff members, I can see "New Reply" and "Keep me Updated" buttons and can edit/post both the forum topics which is right according to the roles ans permission which i have set. Now I logged out, and logged in as student user, again I can see "New Reply" and "Keep me Updated" button on the forum topics related to staff, which is wrong.

Then if i clear the cache, it disappears from the staff forum topics.

So this means I have clear cache everytime I logged out from the forums.

Hope this can help.

Gabriel Ambuehl

Wednesday 01 February 2006 2:33:43 am

Solution: Wrap the forum posts in a cache block that depends on the user.

Visit http://triligon.org

Vjeran Vlahovic

Wednesday 31 May 2006 8:09:40 am

This problem was posted as a bug some time ago by Zinn but it was closed, so I sent it again today. ( http://ez.no/community/bugs/forum_edit_button_is_cached )

I supose viewcache should be disabled with {set-block scope=global variable=cache_ttl}0{/set-block} and cache-block should be used in full/forum_topic.tpl.

http://www.netgen.hr/eng

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.