Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - members uable to register
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

members uable to register

 Post Reply Post Reply Page  <123>
Author
markomeara View Drop Down
Groupie
Groupie


Joined: 22 September 2004
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote markomeara Quote  Post ReplyReply Direct Link To This Post Posted: 22 September 2004 at 12:29pm

I too have had problems with people being able to register.

I think I have found the problem. - and the solution but it needs to be verified...

I have a site with 1200 users and about 6-10 new registrations each week. .... studentloans are hell in canada! My site helps people with these problems.

I think this is the problem....

If a user registers and turns on the "automatically log me in" but then forgets to activate, and then reregisters under a different name, and then tries to activate, they cant.

Or if they try to register and their cookie settings arent correct, and the registration fails, and then try to re-register under a different name  then above happens too...

I suspect the "automatically log me in" creates a cookie on registration, but then when they return to the forum... WWF searches for a cookie for username and password, but the login would fail... and if they re-register then the cookie has the older username and password .

I would need to look more deeply into the source code to see when the cookie is being created.. but this seems to be the common scenario that causes the registration problem for a select number of registrants. 98% of registrations happen ok...

Having the user delete all  cookies on their machine seems to clear up the problem.

This might also be a problem as a result of people trying to register from a public computer where the cookie is set and not cleared...not quite sure about this though....

I could be totally off the mark on this but it seems to be the only pattern I can think of... in each case, deleting cookies resolved the inability to register and activate.

Mark

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 2004 at 3:03am
I found the problem the other day and have fixed it for the next version.

If a user registers, then they login using the login page before they activate their account a new usercode is created for them.

This means that when they try to activate their account with their original actiavtion email containing their original usercode it can not be found in the database.

Users need to activate their acounts before logging in or use the resend activation email tool.
Back to Top
all-in View Drop Down
Newbie
Newbie


Joined: 09 March 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote all-in Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2005 at 1:06am
Hey I'm experiencing this too. I'm running an older version and I have modified serveral pages for my site so I can't do a flash upgrade.
 
Which files have been updated?
 
Thanks
 
Chris
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: 09 March 2005 at 5:20am
Have a look in the Version History file that comes with the application and is also found on the forum download page.
Back to Top
all-in View Drop Down
Newbie
Newbie


Joined: 09 March 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote all-in Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2005 at 11:00am

I realized my version is up to date - 7.9. Your note says you fixed the bug for the next version - which I'm guessing isn't out yet.

Is there anyway I can get you to post the fix here so I can update my site? For me this is affecting 2/3 of my new sign-ups. I don't know if they are impatient or what.

 
Many Thanks
 
Chris
Back to Top
all-in View Drop Down
Newbie
Newbie


Joined: 09 March 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote all-in Quote  Post ReplyReply Direct Link To This Post Posted: 10 March 2005 at 8:20pm
Any luck with posting the fix?
 
Thanks
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: 11 March 2005 at 5:28am
Change the following in the file login_user.asp:-

Change line 128 to:-

strSQL = "SELECT " & strDbTable & "Author.Password, " & strDbTable & "Author.Salt, " & strDbTable & "Author.Username, " & strDbTable & "Author.Author_ID, " & strDbTable & "Author.User_code, " & strDbTable & "Author.Active "

Change line 168 to:-

blnActive = CBool(rsCommon("Active"))
If blnActive Then strUserCode = userCode(strUsername)


Back to Top
all-in View Drop Down
Newbie
Newbie


Joined: 09 March 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote all-in Quote  Post ReplyReply Direct Link To This Post Posted: 11 March 2005 at 10:27am
I tried it and ran into a few problems. Here's how I fixed it:
Change line 168 to:
 
'For extra security create a new user code for the user
   dim blnActive  -it complained this wasn't declared
   blnActive = CBool(rsCommon("Active"))
   If blnActive Then
    strUserCode = userCode(strUsername)
   Else
   'don't change it - if you don't put the existing user code back in,
then the strUserCode says empty and in line 170 when you try to do the db update, it complains you can't update the db with a null value.
    strUserCode = rsCommon("User_code")
   End if
 
I've tested this and it does resolve the problem.
 
Thanks for your help.
Back to Top
 Post Reply Post Reply Page  <123>

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.