| Author |
Topic Search Topic Options
|
carlxyz
Newbie
Joined: 24 October 2008
Location: California
Status: Offline
Points: 12
|
Topic: Microsoft VBScript compilation error Posted: 09 January 2009 at 12:31am |
|
Getting the following: Microsoft VBScript compilation error; in reference to: CAPTCHA_configuration.asp
This is for: 'Initialise variables Dim blnCAPTCHAabout Dim strDisplayLicense Dim strLicense Dim strCanvasColour, strBorderColour, strCharacterColour Dim blnRandomLinePlacement, blnSkewing Dim intNoiseLevel1, strNoiseColour1, intNoiseLevel2, strNoiseColour2 Dim intNoiseLines1, strNoiseLinesColour1, intNoiseLines2, strNoiseLinesColour2
So what am I do wrong ? TIA. Carl,
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Posted: 09 January 2009 at 8:47am |
|
Did you also get an error code with this?
|
|
|
 |
carlxyz
Newbie
Joined: 24 October 2008
Location: California
Status: Offline
Points: 12
|
Posted: 09 January 2009 at 4:30pm |
The following is what I got from my ISP.. Microsoft VBScript compilation error '800a0411'
Name redefined
/2009NewTest/CAPTCHA/CAPTCHA_configuration.asp, line 48
Dim blnCAPTCHAabout ----^ Carl,
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Posted: 09 January 2009 at 4:38pm |
|
Looks like you are not following the install instructions correctly and are including the same include file mutile times in the same file.
|
|
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Posted: 09 January 2009 at 4:58pm |
Installing the captcha correctly - an exampleIf you have any problems just let us know
|
|
|
 |
carlxyz
Newbie
Joined: 24 October 2008
Location: California
Status: Offline
Points: 12
|
Posted: 09 January 2009 at 4:59pm |
|
HMMMMMMMMM
Just followed: http://www.webwiz.net/webwizcaptcha/kb/captcha_basic_install.asp and made no changes to the downloaded files.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Posted: 09 January 2009 at 5:55pm |
|
It's not changes to the files which is the problem.
The problem is that to get this error you have copied and pasted the same data from the instructions twice to the same file. When this is done it tries to load the same CAPTCHA files more than once thus getting the error that you have.
I am guessing that you are submitting the page back to itself so you have included the following twice in your file:-
<!-- Include file for CAPTCHA configuration -->
<!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->
This only needs to be placed in your file once at the top of the file as the configuration data for the Web Wiz CAPTCHA only needs to be loaded once for the file.
|
|
|
 |
123Simples
Senior Member
Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
|
Posted: 09 January 2009 at 6:22pm |
carlxyz wrote:
HMMMMMMMMM
Just followed: http://www.webwiz.net/webwizcaptcha/kb/captcha_basic_install.asp and made no changes to the downloaded files.
|
If perhaps you gave us a link to your website page then it would be a lot easier to help you with the problem perhaps. I know I struggled a bit when I first used Captcha but its amazing how easy it is to make a simple mistake The files themselves (provided you downloaded them from here) are sound, so the error must be a configuration problem on your page as Bruce suggests
|
|
|
 |