YAFLogo

oh help
  • oh help
  • 69.2% (Friendly)
  • YAF Forumling Topic Starter
16 years ago
Oh well, I have had this problem on and off

Some new sections I cant post in them as when I hit new post or new topic it sends me to a forum section!!!

Yesturday I was able to work around (as I only wnated to add a new post) and so I used quoted - deleted the quote and added ...

TODAY I cant put in a new post - so I cant use the board.

Obviously a solution ASAP as no one can use the board ... 😞 NOT GOOD! Does not encourage people to come back!

Also a solution of how to post in newly created forums (since we upgraded) would be helpful too.

TIA


Excuse typing, I may be one handed, fighting off a toddler that wishes to type too :)

Thanks to all those that work on the code, but we would like LOTS of changes, when is the new version? 🙂

Sponsor
test2005
16 years ago
Have you double check mask permissions to the boards/forums?
.....the man in black fled across the desert..........and the gunslinger followed.....

oh help
  • oh help
  • 69.2% (Friendly)
  • YAF Forumling Topic Starter
16 years ago
Would they decide to keep changing themselves randomly?

I will check but it is a random on/off prob so I cant see them doing what I just asked ...


Excuse typing, I may be one handed, fighting off a toddler that wishes to type too :)

Thanks to all those that work on the code, but we would like LOTS of changes, when is the new version? 🙂

test2005
16 years ago
Sorry, didn't catch that! :?

If it's an intermittent problem, you should be looking at configuration and DB access settings. Something may not be set quite right in one of the .config files or your provider is having DB permissions issues.


.....the man in black fled across the desert..........and the gunslinger followed.....

crf370
  • crf370
  • 58.4% (Neutral)
  • YAF Camper
16 years ago
I have this same problem with only one user. He has administrator access over the board, but can only post messages in just over half the sub forums. He has the same access as another user account that can post just fine in the sub forums in question. Every time he clicks on New Topic he gets returned to the root forum.

I'm still trying to diagnose this, have deleted his user account and recreated it but I am stumped right now at what to do next.

This is just an FYI for now that this problem can occur. I realize I haven't given you enough information to help yet.

oh help
  • oh help
  • 69.2% (Friendly)
  • YAF Forumling Topic Starter
16 years ago
we still have this problem ... comes and goes, sometimes within the same log in session!!!

The other problem is we cant post in some sections ... we also cant go on to the new version as we couldnt get it to work ...

I do honestly appreciate all the work you all put in ... just be glad when the bugs have all been killed 😉


Excuse typing, I may be one handed, fighting off a toddler that wishes to type too :)

Thanks to all those that work on the code, but we would like LOTS of changes, when is the new version? 🙂

test2005
16 years ago

If you using v1.9.3, are you running other roles on the site, managed outside the forum?

Have you checked the forum default mask settings? After creating a forum, you need to ensure the default settings are correct as these may override your user mask settings.


.....the man in black fled across the desert..........and the gunslinger followed.....

crf370
  • crf370
  • 58.4% (Neutral)
  • YAF Camper
16 years ago
Yes I am running the latest 1.9.3. And yes, there are other roles outside of the site. I compared everything I could with roles, permissions, masks etc against a similar user that can post to that forum. Nothing stood out.

It's working now, but what I had to do was delete the forum and recreate it. As this is a brand new board and users aren't even on it yet, that was not a problem. When I recreated that sub forum, magically this admin user could now post to all the sub forums he was denied originally.

Strange but true. I will keep an eye out for this happening again as I have to set up a number of boards this coming week. FYI, this is a board within a central board. BoardID=3 if that makes a difference.

stewartlab
16 years ago
Yeah i get the same error, when i click on "New Topic"it throws me back to the Forum Description page.

I thought it might be a error with having to many forums within a forum but that didnt fix it either.

I thought it also could be a sort order problem or possibly something in the forum name throwing the error, but still no luck.

Anybody else with this problem. Its 1.9.3 too.

stewartlab
16 years ago
Mine is actually a admin problem. If i login as a member instead of an Admin im able to post to the forum. All my masks and roles are set up properly since it works great on all the rest of the forums. Just thought i would mention that as well
stewartlab
16 years ago
Ok i found the answer from a different topic:

User Logan wrote

Must go into Admin - Host Settings - Cache

Clear cache

Then you can post no matter what user you are

crf370
  • crf370
  • 58.4% (Neutral)
  • YAF Camper
16 years ago
I believe I have isolated the actual issue, but have not yet found the code affected.

This happened to me again today when I created a new Category and Forum. I went through the normal create procedure, set the Access Mask intially to Member Access, then when the list of access displays, changed Administrators to Admin Access. Then clicked Save.

Trying to post a message in that forum returned me to the root.

I looked at the database table yaf_ForumAccess. The records for the new forum ID were not there.

SELECT GroupID, ForumID, AccessMaskID

FROM dbo.yaf_ForumAccess

WHERE (ForumID = 62)

This returned nothing.

I went back into the Forum and again saved the Access Masks. Then the records showed up in the table. I was still not able to post to this forum until I recycled the site's application pool. I'm assuming that Clearing the cache would also work. However, I use multiple boards on multiple domains with different administrators. They are not able to get to this function.

This is still a problem I will try and isolate as it will continue to affect users.

oh help
  • oh help
  • 69.2% (Friendly)
  • YAF Forumling Topic Starter
16 years ago
YES I HAVE THAT PROBLEM TOO!!!

A few sections I cant post in and go to the root!!

I am NOT mad after all 🙂


Excuse typing, I may be one handed, fighting off a toddler that wishes to type too :)

Thanks to all those that work on the code, but we would like LOTS of changes, when is the new version? 🙂

Preethi
  • Preethi
  • 50.6% (Neutral)
  • YAF Forumling
16 years ago
If you have multiple boards, there seems to be a caching issue. When you load a new board, clearing the cache helps. I added this line 'YafCache.Current.Clear();' as follows whenever a new board is loaded which is in Forum_load in forum.cs

if ( Request.QueryString ["g"] != null )

{

try

{

_page = (ForumPages)Enum.Parse(typeof(ForumPages), Request.QueryString ["g"], true);

}

catch (Exception)

{

_page = ForumPages.forum;

}

}

else

{

_page = ForumPages.forum;

YafCache.Current.Clear();

}

This seems to resolve the issue.

CodeJunky2008
16 years ago
Finally I'm not alone. I have posted on this twice although I am still trying to solve it.

Previous posts

Cache out of sync 

Weird behaviour 

So far I have discovered that the only way to temporarly fix the problem is by clearing all the cache settings under host settings > cache.

This in fact runs some code called YafCache.Current.Clear(), it basically enumerates over all the keys in the application cache of which mine has 9 and removes them all.

Interestingly all forums that have the access mask of members belonging to the registered group (YAF out of the box) work fine all the time. It is only new access masks and roles that are problematic.

The funny thing is it doesn't always fix the problem sometimes it takes a few goes or even closing the browser and reloading the page before it works. There is no pattern on how long this lasts for but normally only a few hours.

It's very strange because once the problem happens all the event handlers on the page stop working so clicking on the new topic or moderate button do nothing. I guess something elsewhere takes over and redirects you to the first category in the forums. Always the 1st category.

I am at a loss but feel the only way to fix this is to create a console application that does a request for a page which calls the YafCache.Current.Clear() running as a scheduled task. As the cache is managed by asp.net you cannot access it via httpruntime or httpcontext object from outside the application (YAF).

I have 1400 users and over a dozen forums suffering with this problem, very annoying and a shame because otherwise it's a brilliant product

If I come up with a fix I will post it up asap.