|
|
Rank: Member
Joined: 4/24/2008 Posts: 22 Location: East Sussex UK
|
Hi
Environment
Two IIS web front ends serving up the forums app (1.9.3) against a single 2005 SQL Server database. Currently 750+ users and growing daily.
Problem
Moderators get directed to first category when they click moderate button in their forum, instead of seeing the moderator view page (invite users etc). If I clear the cache (clear all) under host settings > cache it works fine for a while (few hours) and then the old behaviour returns and I have to repeat the process. This needs to be done on both IIS boxes as I guess the cache is managed in server memory rather than database.
1. Where is the cache managed? Should I create yaf in it's own app pool in IIS 2. Is it down to the way I add moderators and general users?
I am a little confused because when adding in users you can add them in two ways.
1. By ticking user group as an admin this create a new record in(yaf_UserGroup ) 2. As a moderator by using the Invite user option on this creates a (yaf_UserForum record).
What's the difference and should they be added into both.
Should I expect users who I have added by ticking their user group to appear in the invite user list because they don't.
Sorry for so many questions but this is causing a real headache and I know that I'm using 1.9.3 and it is not recommended for public use.
Any comments really appreciate, this product is fantastic and I am happy to help. If anyone has questions about performance I might be able to offer information as my user base will soon be over 1000. Currently it's lighting fast.
Dave
|
|
|
Rank: Member
Joined: 4/24/2008 Posts: 22 Location: East Sussex UK
|
Hi In case like me you get stuck with finding the SVN (latest code) here is the link 1.9.3
|
|
|
 Rank: YAF Developer

Joined: 7/12/2005 Posts: 1,223 Location: on Dock Street
|
2nd is the ability to invite users to a forum, very useful as it allows users to manage secure forums themselves without requiring board access, its completely different to an admin giving rights to a user in 1. They are not out of sync because they are different entities completely, groups and invitations is the best way i can describe it.  "It's a case of RTFM.. the only problem being we don't have a manual!" When I post FP:Mek in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting. (Yes I stole this off Ederon  )
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
I'm going to take a look at this issue here this weekend, CodeJunky2008. FP: Jaben "When you are grateful, fear disappears and abundance appears”." 
|
|
|
Rank: Member
Joined: 4/24/2008 Posts: 22 Location: East Sussex UK
|
Thanks, for taking the time to look into this
|
|
|
Rank: Member
Joined: 4/24/2008 Posts: 22 Location: East Sussex UK
|
Hi
So I have got no further forward with understanding what is happening. When the Moderator clicks on the 'Moderate' button on the topic page they get redirected to default.aspx?g=forum&c=x where x represents the last category in the forums.
The problem is fixed if I call RemoveCacheKey(forummoderators). I can't see any pattern in why it breaks
Biggest question is way does it redirect to default.aspx?g=forum&c=x and not just stay on the topic page???
CJ
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 2,950 Location: Honolulu, HI
|
Sorry for the delay... I cannot reproduce. It seems like your cache settings are non-standard -- because you have a few different cache issues. Not sure what to suggest... "When you are grateful, fear disappears and abundance appears”." 
|
|
|
Rank: Member
Joined: 4/24/2008 Posts: 22 Location: East Sussex UK
|
The only thing that seems to fix it is by calling the the YafCache.Current.Clear() method. So I am going to write a console app that runs this piece of code and attach it to a scheduled task to run every 15 minutes. I am using 1.9.3 Alpha at the momement but I have just upgraded to RC2 on our development servers so maybe this update will fix it when I deploy it to live.
I let you know
thanks
CJ
|
|
|
| Users browsing this topic |
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.115 seconds.