Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Admin cannot login, captcha problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Admin cannot login, captcha problem

 Post Reply Post Reply Page  <12
Author
venki View Drop Down
Groupie
Groupie


Joined: 20 April 2003
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote venki Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2009 at 8:49pm

I also have same problem, I downloaded new version and installed it to iis7 and MSSQL, forum is workin and when I try to login on admin page, I get error for CAPTCHA code. I use IE8 and accept all cookies is on. Also, I didn't had any older versions instaled on server.

I try to look up for an error, and it seems that file where image is generated, CAPTCHA_image.asp don't save session of displayed image, I tested it whit reading of  getSessionItem("SCS") on another page, after image was generated.
Also tryed it in a FireFox, but no luck.
Back to Top
venki View Drop Down
Groupie
Groupie


Joined: 20 April 2003
Status: Offline
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote venki Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2009 at 9:04pm
I did manage to work it out...
Dont use http://localhost/ to access page, instead use http://127.0.0.1/ and it works...
Back to Top
namviet View Drop Down
Newbie
Newbie
Avatar

Joined: 08 November 2004
Location: Vietnam
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote namviet Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2010 at 4:49pm
I got the same problem.

For the temporary solution, you can disable the check CAPTCHA function by editing the code in functions_login.asp as bellow:


        'Increment login attempts
        intLoginAttempts = intLoginAttempts + 1

'BEGIN EDIT
intLoginAttempts = 1
'END EDIT
               
       
        'If CAPTCHA is NOT required only enable it if login attempts are above 3
        If blnCAPTCHArequired = True OR intLoginAttempts => 3 Then
               
            'Set the blnCAPTCHArequired to true
            blnCAPTCHArequired = true
           
            'If the login attempt is above 3 then check if the user has entered a CAPTCHA image
            If LCase(getSessionItem("SCS")) = LCase(Trim(Request.Form("securityCode"))) AND getSessionItem("SCS") <> "" Then
                blnSecurityCodeOK = True
                loginUser = 2
            Else
                blnSecurityCodeOK = False
                loginUser = 3
            End If
           
            'Distroy session variable
            Call saveSessionItem("SCS", "")
        End If
       
'BEGIN EDIT
blnSecurityCodeOK = True
blnCAPTCHArequired = false
'END EDIT       
       
       

        'Only encrypt password if this is enabled
        If blnEncryptedPasswords Then


Goodluck!
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 30 January 2010 at 5:31pm
Bypassing the CAPTCHA is not the actual solution though - you are really lowering the forum defences by doing that surely?
Back to Top
Falcon_ View Drop Down
Newbie
Newbie


Joined: 11 February 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Falcon_ Quote  Post ReplyReply Direct Link To This Post Posted: 11 February 2010 at 4:52am
Originally posted by venki venki wrote:

I did manage to work it out...
Dont use http://localhost/ to access page, instead use http://127.0.0.1/ and it works...
 
I did have the same problem with a fully new installation. I downloaded and reinstall the forum 3 times, just to make sure. I have also Windows7 with IE8 running. Using http://127.0.01 instead of localhost did worked very well.
 
Rene
Back to Top
 Post Reply Post Reply Page  <12

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.