Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - CAPTCHA Not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CAPTCHA Not working

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

Joined: 24 August 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote j172 Quote  Post ReplyReply Direct Link To This Post Topic: CAPTCHA Not working
    Posted: 24 August 2006 at 9:00pm
Hi,
 
I have just installed the web wiz forums successfully onto my web space and every thing seems to be ok appart from the CAPTCHA. on admin login it will not display the code, just a box with a red 'x'. On the CAPTCHA_image.asp page is shows the following:
 
GIF89ap#s!,p#ڋ؜ HB(`rڕ  l fK d90O )j) nlj.pX6Œ}#bRG"g#X'rbh1ӣjCUQ&hw# K[7fX;KgJPe#vv5<,s =lk :Φmzгm*+lмyY :s1EM 5$f={?j1Z:'~ Fyj۾;ݼ{;
 
1. If i delete the following lines from the CAPTCHA_image.asp page:
 
Response.Buffer = True
'First we need to tell the common.asp page to stop redirecting or we'll get in a bit of a loop
blnDisplayForumClosed = True
%><!-- #include file="common.asp" --><%
 
Change around line 602:
 
Call saveSessionItem("SCS", strHexImage(intRandomNumber,1))
 
to
 
Session("SCS") = strHexImage(intRandomNumber,1)
 
 
it will then show the code correctly on all pages
 
(So i know my browser and server can display the code correctly)
 
BUT
 
When you enter the code displayed and click submit on a login or registration page it will return an error message box saying the the code entered is not correct and display a new code (if you enter the next code it says the same error message)
 
Does anyone have any ideas
 
Thanks
Joel
 
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: 25 August 2006 at 10:08am
Sounds like a corrupted file, try downloading the original again and reuploading the files to your server.

The forum doesn't use the ASP session to store session data, it uses it's own more secure session system, which is why changing line 602 will not work.
Back to Top
j172 View Drop Down
Newbie
Newbie
Avatar

Joined: 24 August 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote j172 Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2006 at 10:11am

I've downloaded the full forum again and uploaded it again but it still displays:

GIF89ap#s!,p#ڋ؜ HB(`rڕ  l fK d90O )j) nlj.pX6Œ}#bRG"g#X'rbh1ӣjCUQ&hw# K[7fX;KgJPe#vv5<,s =lk :Φmzгm*+lмyY :s1EM 5$f={?j1Z:'~ Fyj۾;ݼ{; (which changes every time i press refresh, so its changing the code)
 
I have tried every thing but still cannot get it to display the code. What i find strange is that i know my browser and server can and will display the code but it will not on the forum.
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: 25 August 2006 at 10:19am
Try looking at the CAPTCHA_image.asp in your web browser, view the source of the file, and see if an ASP error is displayed within it somewhere.

If so let me know what it is as it should help track down the problem.

If you have a link to this it may also help to have a look at it myself.
Back to Top
j172 View Drop Down
Newbie
Newbie
Avatar

Joined: 24 August 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote j172 Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2006 at 10:26am

When i look at the captcha image in my browser it shows the jumbled up code, and as far as i can see there are no errors anywhere.

 
Thanks in advance
Joel


Edited by joel.pinder - 25 August 2006 at 9:49pm
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: 25 August 2006 at 3:50pm
I had a look and can see the problem.

It seems you have modified one of the files so that it outputs:-
<head>
<meta http-equiv="Content-Language" content="en-gb">
</head>

This is then displaying at the top of each file in teh forum coursing the image not to display.

If you need to add extra head content to your forum you should edit the file includes/header.asp and not another file which is coursing this issue.
Back to Top
j172 View Drop Down
Newbie
Newbie
Avatar

Joined: 24 August 2006
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote j172 Quote  Post ReplyReply Direct Link To This Post Posted: 25 August 2006 at 4:16pm
I have now fixed the problem. This is what i did. When i upoladed the forum i just dropped the forum folder which i downloaded straight onto my server into another folder for example:
 
root/xyw123/forum....
 
Just out of curousity i put the forum folder which i downloaded into the root of my server:
 
root/forum
 
and everything worked fine!
 
So using front page i cut the forum folder from the root and pasted into the folder which i wanted so it ended up
 
root/xyw123/forum...again
 
so in the process i think front page renamed some of the links to the correct locations in the asp files.
 
Now every things works great.
 
Thanks
Joel
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: 25 August 2006 at 4:49pm
Frontpage does have a bad habit of changing the code in files. I fyou can avoid using Frontpage.

If you want an MS HTML tool try their new Microsoft Expression software, it will eventually take over form Frontpage but is much better and standards compliant, which Frontpage is not. At the moment the preview version is free.
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.