Forum V. 8.04 - CAPTCHA images suddenly gone
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=21843
Printed Date: 07 April 2026 at 6:12pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Forum V. 8.04 - CAPTCHA images suddenly gone
Posted By: tonyz
Subject: Forum V. 8.04 - CAPTCHA images suddenly gone
Date Posted: 06 November 2006 at 1:33am
Problem: CAPTCHA images suddenly not rendering after working perfectly. No image is displayed and the message "Code Image - Please contact webmaster if you have problems seeing this code"
Process: Log in as forum administrator. Click the "Admin" link to do some administrative things and when I am presented with the second level login to verify that I am the administrator, the CAPTCHA images are not there.
I installed the forum - relocated and renamed the database and tested the forum and everything worked just fine. I was able to get through the secondary login with CAPTCHA images with no problems. I then worked of some other aspects of my site - not related to the forum or it's database. Then I go back to the forum, login as admin - click the admin link and the CAPTCHA images are gone...
I have a second version of the forum in another directory and it has not lost it's CAPTCHA images yet - but the forum in the directory where I would like it to exist has done this 2 times now and I am at a loss as to why.
Does anyone have any thoughts on what could suddenly cause the CAPTCHA images to fail?
Thanks! --tz
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 06 November 2006 at 9:54am
The easiest way, when this happens is try and load the image directly into your browser by pointing it to the file CAPTCHA_image.asp
This will then hopefully display an error message instead of the image which will help find what is coursing this problem.
------------- 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: tonyz
Date Posted: 06 November 2006 at 2:26pm
Thanks for you prompt reply!
I found that suggestion in an another thread - what I get in IE Ver - 6 (friendly errors turned off) is giving:
GIF89ap#3ffPExu!,p#ڋV"# 76亜W lA
)=_"[JhWkڈb;$tuIu!֪[FQ62VUtuxH9Hɇ7Pcj2GfٗٷZtSy
[ CĴ% 3hGtxg+4ۊRdv}8g
uB*m-džş^C.uŖ1$L0aw.p
%d]ֹUIZL$pv0-:8n&gZAi`1pŢީTqGr#
JxP(WJDTˑ9ڴE^dZ'B_òKƲ@p3r1}0Xac}V%&(ޫ&wX܉.eNID
{@.^N||C]DæJIz AHOe#GZS<
A~VCY&ѡwtRj;|s LoP b 4&z
|eі+mQ+>Ӝr\Qs/'A3b}ma:EQ=bTV=f
tP@(- Xe iLsG[fWQVR#_\Rghgzg;
In Firefox 1.5.0.7 gives:
The image
http://[mydomain]/forum/CAPTCHA_image.asp
cannot be displayed, because it contains errors.
I will continue to investigate - I am really not doing any fancy modifications and the fact that it works for a little while, then starts tossing errors is really odd.
I have duplicated the forum in a new directory and have not see the problem repeat. BOTH forums are referring to the same Access 2000 db. So if the dupe continues to work then I am not going to worry too much about it - mostly curious, but my main goal is to have a working forum!
Cheers! --tz
|
Posted By: WebWiz-Bruce
Date Posted: 06 November 2006 at 2:48pm
If you are getting this type of error it suggests that the file CAPTCAHA_image.asp has become corrupted in some way.
1. Try reuploading the original file again 2. Make sure you are not suing some software like Frontpage which may have re-written the file 3. Make sure you have not added anything to a file like common.asp that would place some HTML or other none standard code in the head of the pages in the forum
------------- 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: tonyz
Date Posted: 06 November 2006 at 2:57pm
We have a winner!
And the winner is... #3!
I had indeed added some simple HTML to the common.asp file to contain the width of the forum. Once I removed that code (and it's complimentary code in the footer.asp file) my CAPTCHA images returned!
Thanks a bunch for you help and for the fine apps! I will be contributing to your fine efforts monitarily very soon - Your apps are going to play a key role in my current (personal) web effort.
|
Posted By: WebWiz-Bruce
Date Posted: 06 November 2006 at 3:50pm
If you want to do this type of thing you would need to edit the files header.asp and footer.aps found in the includes directory.
Although the size of the tables can be controlled by editing the default_style.css file found in the CSS_styles directory.
------------- 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: disrael
Date Posted: 29 November 2006 at 12:52am
I had this same problem. I put in a Response.Write to write a comment. It looked something like this:
Response.Write "<!-- some comment... -->"
and my CAPTCHA failed. Why would that happen? I understand if I did some real code, but this was a COMMENT...
Thanks for any insight.
------------- -D. Israel
|
Posted By: Mikey
Date Posted: 29 November 2006 at 1:05am
Can you show us the snippit of code?
------------- Handyman man?
|
Posted By: WebWiz-Bruce
Date Posted: 29 November 2006 at 9:45am
Response.Write outputs some text to the page.
If you put this into the wrong file and it trys to display this text in the CAPTCHA image it will fail because ethe CAPTCHA image is meant to be all binery for a GIF image, your outputted text would screw this binery up.
------------- 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: disrael
Date Posted: 29 November 2006 at 3:46pm
-boRg- wrote:
Response.Write outputs some text to the page.
If you put this into the wrong file and it trys to display this text in the CAPTCHA image it will fail because ethe CAPTCHA image is meant to be all binery for a GIF image, your outputted text would screw this binery up.
|
Gotcha. I was thinking (after I wrote my question) that it might be something like that. Thanks for the explanation.
------------- -D. Israel
|
Posted By: waynelambright
Date Posted: 17 December 2006 at 2:23am
I had the same problem. I put
'////////////// kick out code ///////////////////////////////////////////
If lngLoggedInUserID = 2 And NOT blnShowThisPage Then ' Call closeDatabase() response.redirect("login_user.asp?TakeAction=1") End If
'////////////// kick out code ///////////////////////////////////////
in the common.asp page.
why? because i'm making a version that you to registered to see anything.
when I place that code in the common.asp page.
the captcha is gone on the register.asp page.
|
Posted By: waynelambright
Date Posted: 17 December 2006 at 6:29am
waynelambright wrote:
I had the same problem. I put
'////////////// kick out code ///////////////////////////////////////////
If lngLoggedInUserID = 2 And NOT blnShowThisPage Then ' Call closeDatabase() response.redirect("login_user.asp?TakeAction=1") End If
'////////////// kick out code ///////////////////////////////////////
in the common.asp page.
why? because i'm making a version that you to registered to see anything.
when I place that code in the common.asp page.
the captcha is gone on the register.asp page.
|
I fixed it by putting this on the CAPTCHA_image.asp page. since this ( blnShowThisPage = True )was missing it would not kick people out.
<% @ Language=VBScript %> <% Option Explicit %> <!--#include file="KickOUT.asp" --> <% blnShowThisPage = True %> <!--#include file="common.asp" -->
------------- Wayne Lambright
415-750-1921
GMT (-8)Pacific
|
Posted By: sfbay420
Date Posted: 03 May 2007 at 7:58am
My captcha images disappeared but the only thing I did was turn captcha off. It was slowing me down from making some changes so I turned it off temporarily. Now it won't work.
I tried re-uploading the captcha_images file but no luck.
Any ideas?
The only changes to any files that I made were to the adsense file. I only added an ID and maybe a color change.
I've played with some skins but thats it.
edit...oops I forgot to mention I'm using 8.05a access and I'm getting this error when trying to log into admin.
|
|