| Author |
Topic Search Topic Options
|
svpworld
Groupie
Joined: 06 March 2003
Location: usa
Status: Offline
Points: 49
|
Post Options
Thanks(0)
Quote Reply
Topic: Security code disabled - bug quick login Posted: 18 October 2003 at 8:40am |
I have disabled the security code feature by setting the blnLongSecurityCode to false in the common.asp file.
Everything is fine unless I attempt to log in using the "quick login" on the main forum page in which case I get an error message (after the login page displays) of :
Line 121 Error: 'document.frmLogin.securityCode' is null or not an object
It works fine with the Login button, just not with the quick login... I assume a variable hasnt been defined somewhere?
Simon
Edited by svpworld
|
 |
kmacy
Groupie
Joined: 15 March 2002
Location: United States
Status: Offline
Points: 73
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 October 2003 at 8:58am |
Yes, I am having the same problem.
I am using a completely clean copy of 7.5 Sql Version
|
 |
kmacy
Groupie
Joined: 15 March 2002
Location: United States
Status: Offline
Points: 73
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 October 2003 at 8:43pm |
Svpworld,
Here's what I did to fix this problem:
On login_user.asp page, I changed the following(down around line 410 or so):
<script>document.frmLogin.<% If Request.Form("QUIK") Then Response.Write("securityCode") Else Response.Write("name") %>.focus()</script>
TO
<% If blnLongSecurityCode Then %>
<script>document.frmLogin.<% If Request.Form("QUIK") Then Response.Write("securityCode") Else Response.Write("name") %>.focus()</script>
<% end if %>
Seems to work for me.
|
 |
svpworld
Groupie
Joined: 06 March 2003
Location: usa
Status: Offline
Points: 49
|
Post Options
Thanks(0)
Quote Reply
Posted: 19 October 2003 at 10:27am |
Thank you Kmacy, I will try that out and see if it works!
Regards Simon
|
 |
dmedendorp
Newbie
Joined: 07 October 2003
Location: United States
Status: Offline
Points: 13
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2003 at 10:00am |
|
I am not even seeing the quick login after I made it blnLongSecurityCode to false, what am I missing?
|
 |
huwnet
Senior Member
Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2003 at 10:02am |
|
I think you did something wrong!
|
 |
dmedendorp
Newbie
Joined: 07 October 2003
Location: United States
Status: Offline
Points: 13
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2003 at 10:31am |
Obviously. I turned the blnLongSecurityCode to true and I still don't see the the quick login. So it must be related to something else. What file and what script displays the quick Login, I can compare it to the original and see what I indeed did wrong.
Scratch that, I editted the default.asp and add the quick login script, it shows up, however, what makes this so quick, it still goes to the login_user.asp page and the forum login is not even active so you have to use the mouse to click on it. I thought the quick login would go directly to the forum, not login_user.asp and have to have a response.
What am I missing?
Edited by dmedendorp
|
 |
shigum
Newbie
Joined: 24 May 2002
Location: Canada
Status: Offline
Points: 12
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2003 at 1:20pm |
|
Thanks for the tip, svpworld, I make the code change in the common.asp and it worked perfectly fine.
|
 |