Print Page | Close Window

CAPTCHA Not working

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21132
Printed Date: 09 April 2026 at 4:17am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CAPTCHA Not working
Posted By: j172
Subject: CAPTCHA Not working
Date 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
 



Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: j172
Date 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.


Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: j172
Date 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


Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: j172
Date 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


Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net