Print Page | Close Window

Captcha error

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=18941
Printed Date: 12 April 2026 at 5:39pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Captcha error
Posted By: spanky_n_va
Subject: Captcha error
Date Posted: 25 March 2006 at 10:24pm

I am getting an error on my both my admin login page and my registration page where there is no captcha picture being shown.  Here is what the source code is saying:

//--> 
<script language="javaScript">
function reloadCAPTCHA() {
 document.getElementById('CAPTCHA').src='CAPTCHA_image.asp?SID=9bz2dd245cf8b4a3e1z466f5a7dce1f5&'+Date();
}
</script>           
  <table width="100%" border="0" cellspacing="1" cellpadding="3">
   <tr>
    <td><img src="CAPTCHA_image.asp?SID=9bz2dd245cf8b4a3e1z466f5a7dce1f5" alt="Code Image - Please contact webmaster if you have problems seeing this image code" id="CAPTCHA" />&nbsp;<a href="javascript:reloadCAPTCHA();">Load New Code</a></td>
   </tr>
   <tr>
    <td><input type="text" name="securityCode" id="securityCode" size="12" maxlength="12" autocomplete="off" /></td>
   </tr><tr><td><span style="font-size: 10px; font-family: Arial, Helvetica, sans-serif;">Powered by <a href=" http://www.webwizcaptcha.com - http://www.webwizcaptcha.com " style="font-size:10px">Web Wiz CAPTCHA </a> version 2.01 wwf<br />Copyright &copy;2005-2006 <a href=" http://www.webwiz.net - http://www.webwiz.net " style="font-size:10px">Web Wiz Guide</a></span></td></tr>
  </table></td>

Ya'll see anything wrong with that???
 
Ryan



Replies:
Posted By: WebWiz-Bruce
Date Posted: 27 March 2006 at 11:48am
The source code won't say why the image is not loading, you need to look at the image file for that and see why the image file is failing:-

CAPTCHA_image.asp


Posted By: spanky_n_va
Date Posted: 27 March 2006 at 3:00pm
explain to me what i would be looking for.  What should i do when i find it, this is all greek to me.


Posted By: WebWiz-Bruce
Date Posted: 27 March 2006 at 3:26pm
Try running the 'CAPTCHA_image.asp' file onj it's own in your browser and see what error is returned by the server.

You may need to turn off friendly HTTP errors if you are using a crap browser like IE


Posted By: Mikey
Date Posted: 27 March 2006 at 3:37pm
Originally posted by -boRg- -boRg- wrote:

...if you are using a crap browser like IE


LOL A very technical summary of IE lol


-------------
Handyman man?


Posted By: spanky_n_va
Date Posted: 27 March 2006 at 3:38pm
All i get is a little box in the upper left with a red square.  If i refresh with the same page address it brings in some form of code text like this:
 
GIF89ap#f3 !,p#ڋ޼H
 )\7xKhcL6DhAB9}KHqd#kìx
V"lU亢`vpWFyw siV' )3 @u9א
g ik˰(jPř6ʘ9Ěz*+2;]C:­ՕM]x6Kߣ4l0U: tPx!Л_6cX䅶5H­Qb+:eR^-zdQSǒS~LB⮆ $qX6e4­f2
#LZc
 
Sorry i can't be more descriptive.


Posted By: WebWiz-Bruce
Date Posted: 27 March 2006 at 3:42pm
Looks like for some reason your browser isn't processing it as the correct content type.

This could be a corrupted file, so try reuploading the file again and see if that solves the problem.


Posted By: spanky_n_va
Date Posted: 27 March 2006 at 3:52pm
i re-uploaded both captcha files and re-uploaded my default.asp file.  Where are these images located at??
 
CAPTCHA_image.asp?SID=8ebaec1a6d89472924ad3zdbzzzf7a59
 
Thats the image it is looking for.


Posted By: WebWiz-Bruce
Date Posted: 27 March 2006 at 3:59pm
The CAPCHA images don't actually exist and the file CAPTCHA_image.asp creates the images on the fly within the file.

It then sends over binary data to the web browser, but sets the content type to image so the browser knows to processes the ASP file as an image and not just display the binary data.

For some reason in your case your browser is displaying the binary data as text and not as the image.

This is very strange and could either be an issue with your browser or with the server.

Try a different browser first and see if that solves the issue, that way can tell if the issue is with your browser or with the server.


Posted By: spanky_n_va
Date Posted: 27 March 2006 at 4:02pm
I found a fix for this.  I re-uploaded my common.asp file and voila, working now.  I found it strange that this happened as the only thing i did to the common file is add some text to the top so that it shows on every page.


Posted By: spanky_n_va
Date Posted: 27 March 2006 at 4:11pm
Now, i got my text put in the header.asp file and it all seems to be working for now.  Question, how do you align the text centered on the page??


Posted By: WebWiz-Bruce
Date Posted: 27 March 2006 at 4:11pm
That will be the problem then.

By placing making the common.asp file sendout text will course issues with things like the CAPTCHA image, XML Feeds, and XSLT stylesheets, as the text will prevent the browser from selecting the correct content type for the page and it will not be processed correctly.


Posted By: WebWiz-Bruce
Date Posted: 27 March 2006 at 4:12pm
Originally posted by spanky_n_va spanky_n_va wrote:

Now, i got my text put in the header.asp file and it all seems to be working for now.  Question, how do you align the text centered on the page??

You could try editing the default_style.css file and changing the 'body' part


Posted By: spanky_n_va
Date Posted: 27 March 2006 at 4:46pm
got it all working now, thanks Borg.



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