Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Permission Denied!!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Permission Denied!!

 Post Reply Post Reply
Author
yourbudweiser View Drop Down
Newbie
Newbie
Avatar

Joined: 10 July 2006
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote yourbudweiser Quote  Post ReplyReply Direct Link To This Post Topic: Permission Denied!!
    Posted: 30 October 2006 at 4:29pm
I haave a moderator who is trying to edit a post. The edit_post_form.asp page appears but instead of displaying the message, the words "Permission Denied!!" appears. The phrase comes from RTE-textarea.asp and the line that causes the error is:

'If this is an edit or quote then stripout who edited the post and check permisisons
If strMode = "edit" OR strMode="editTopic" OR strMode = "quote" Then
   
    'Call teh forum permissions function
    Call forumPermissions(intForumID, intGroupID)
   
    'If the user dosn't have permisison to view/edit/post/etc. then don't let them read the post
    If (strMode = "edit" OR strMode="editTopic") AND (blnAdmin = False AND blnModerator = False) Then
       
        If blnRead = False OR blnEdit = False Then strMessage = "Permission Denied!!"
   
    ElseIf strMode = "quote" Then
       
        If blnRead = False OR blnReply = False Then strMessage = "Permission Denied!!"
   
    End If
       
End If

In this case, strMode = editTopic and blnModerator = True.


Edited by yourbudweiser - 30 October 2006 at 5:02pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2006 at 4:33pm
It sounds like moderator permissions for this user have not been correctly set for that forum.
Back to Top
yourbudweiser View Drop Down
Newbie
Newbie
Avatar

Joined: 10 July 2006
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote yourbudweiser Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2006 at 5:17pm
Thanks Borg, when I test the values that the code is looking for, strMode = editTopic and blnModerator = True so Permission Denied error should not appear. The Moderator group permission settings are set to allow them to edit posts and Forum Moderator is also checked for this user.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2006 at 5:34pm
If permissions are set correctly then you may have a corrupted file, try reuploading the files again and see if that solves the problem, if not go back to your permissions setup as it would seem there is something not set correctly somewhere along the line.
Back to Top
yourbudweiser View Drop Down
Newbie
Newbie
Avatar

Joined: 10 July 2006
Location: United States
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote yourbudweiser Quote  Post ReplyReply Direct Link To This Post Posted: 30 October 2006 at 7:11pm
Permissions are set correctly because it works on all computers except the boss's. What could possibly prevent a moderator from editing a post on one computer but not on any other computers? He is accepting cookies and is able to do other functions as well.

I even gave him my logon as Admin and he still receives Permission Denied!!


Edited by yourbudweiser - 30 October 2006 at 7:19pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.