Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - 9.05 Update - Problem changing user group
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

9.05 Update - Problem changing user group

 Post Reply Post Reply
Author
brianmisty View Drop Down
Newbie
Newbie


Joined: 11 April 2007
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianmisty Quote  Post ReplyReply Direct Link To This Post Topic: 9.05 Update - Problem changing user group
    Posted: 22 September 2007 at 9:48pm
I just updated to 9.05 using the Membership API with the WWF login disabled.  When I try to change a user's group, I get an error message that the "username is already taken".  I am not trying to change the username, but the user's group.  Is this not possible under the new API?
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: 23 September 2007 at 2:36pm
It shouldn't do this, it could be a corrupted file though, so try reuploading the original 9.05 again.
Back to Top
brianmisty View Drop Down
Newbie
Newbie


Joined: 11 April 2007
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote brianmisty Quote  Post ReplyReply Direct Link To This Post Posted: 23 September 2007 at 8:08pm
I just uploaded a fresh 9.05 and still get the same error message. The only changes I have made is to set the variables in the memebrship API to "True", "True" and set my URLS. 
 
I noticed however, that if I set  blnMemberAPI  back to "False", I can modify the user's group again. 
 
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: 24 September 2007 at 9:01am
This will be looked into
Back to Top
efscl View Drop Down
Newbie
Newbie


Joined: 13 May 2007
Status: Offline
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote efscl Quote  Post ReplyReply Direct Link To This Post Posted: 02 October 2007 at 3:42pm
here is the problem AND temp solution (Only by using MemberAPI!!!) from my point of view:

the admin_register.asp something about line 234 checks, if we submitted a username.
BUT: form field username is disabled if memperAPI is TRUE

so the form does not submittes an username

1.) Change
If strUsername = "" Then blnUsernameOK = False

to
If strUsername = "" AND blnMemberAPI = false Then blnUsernameOK = False


2.) something around line 250 >> change
 
If blnUsernameOK Then

to
 
If blnUsernameOK AND blnMemberAPI = false
  Then
so we do not check if username already taken - can only be temp solution because of an update without memberAPI this is also a "bug"





Edited by efscl - 03 October 2007 at 9:46am
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.