Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Forum V. 8.04 - CAPTCHA images suddenly gone
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum V. 8.04 - CAPTCHA images suddenly gone

 Post Reply Post Reply Page  12>
Author
tonyz View Drop Down
Newbie
Newbie
Avatar

Joined: 06 November 2006
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tonyz Quote  Post ReplyReply Direct Link To This Post Topic: Forum V. 8.04 - CAPTCHA images suddenly gone
    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
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: 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.
Back to Top
tonyz View Drop Down
Newbie
Newbie
Avatar

Joined: 06 November 2006
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tonyz Quote  Post ReplyReply Direct Link To This Post 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
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: 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
Back to Top
tonyz View Drop Down
Newbie
Newbie
Avatar

Joined: 06 November 2006
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote tonyz Quote  Post ReplyReply Direct Link To This Post 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.


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: 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.
Back to Top
disrael View Drop Down
Groupie
Groupie


Joined: 28 November 2006
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote disrael Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Mikey View Drop Down
Senior Member
Senior Member

1979

Joined: 06 October 2003
Location: United Kingdom
Status: Offline
Points: 839
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikey Quote  Post ReplyReply Direct Link To This Post Posted: 29 November 2006 at 1:05am
Can you show us the snippit of code?
Handyman man?
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.