Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Install issue...
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Install issue...

 Post Reply Post Reply Page  123>
Author
hisplaceresort View Drop Down
Newbie
Newbie
Avatar

Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hisplaceresort Quote  Post ReplyReply Direct Link To This Post Topic: Install issue...
    Posted: 13 December 2008 at 12:12am

I truly believe I followed the instructions, but...

My domain is www.testing.hisplaceresort.net
(it is not an actual web page, just an asp file that sends my emails when Submit is clicked...)
My Captcha files are located at www.testing.hisplaceresort.net/Captcha
My website is at MyHosting.com on Windows 2008 servers running IIS 7
 
What I did:
 
1.) on the form2.asp page, I inserted:
<!-- Include file for CAPTCHA configuration -->
<!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->
at the very top of the page.
 
2.) put the following code where I wanted the Captcha image to come up in my form, on the same form2.asp page:
<!-- include the Web Wiz CAPTCHA form element -->
<!--#include file="CAPTCHA/CAPTCHA_form_inc.asp" -->
 
(The captcha image does show correctly on my form2.asp.  And, you can get a new image by clicking the link.  so, it's partly working, anyway.)
 
3.) in the /cgi-bin/sendmail.asp file, I put the following code at the very top:
<!-- Include file for CAPTCHA configuration -->
<!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->

<!-- Include file for CAPTCHA form processing -->
<!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->
4.) put "incorrect.htm" in the captcha configuration file as the page I want to go to if entry is incorrect.
 
5.) got all files and the entire captcha directory uploaded to my server.
 
6.)  It doesn't work.
 
Note:  I had it partly working.  Before adding the code to the sendmail.asp, the captcha image was working on the form.  But, no matter what you did, whether you entered anything at all in the captcha field, or if you entered it incorrectly, the form processed as if you had entered the code correctly.  (The sendmail.asp file has a Response.redirect to the page ../thankyou.htm, after you fill out the form and click submit.)
 
Then, realizing that it was my sendmail.asp that was actually my "form Processor", I added the lines of code referenced in #3 above.  (I was a little confused on that, thinking my form and my form processor were one in the same, which of course they were not.)
 
Once I did that, the form doesn't process at all when you click submit.  I get the http error.  I think this tells me the problem is with the code I put in my sendmail.asp file.
 
I'm completely stumped.  Any suggestions???
 
 
 
 
 
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 12:28pm
I think you will find that it is a directory issue since the processing form is actually in your cgi-bin directory (which is outside of your root directory I assume) and therefore it is looking in the wrong place, and hence why it does not find the includes file
Back to Top
hisplaceresort View Drop Down
Newbie
Newbie
Avatar

Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hisplaceresort Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 2:55pm
I thought it might be too.
I changed my form2.asp to reference "sendmail.asp" instead of "cgi-bin/sendmail.asp", and then I put a copy of sendmail.asp in the root directory.
I'm still having the same issue.
Any other thoughts?
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 3:06pm
Can you give me a few moments and I'll try this on one of our test sites Wink
Back to Top
hisplaceresort View Drop Down
Newbie
Newbie
Avatar

Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hisplaceresort Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 3:28pm

Please feel free to try anything you want on that testing subdomain.  That's what it's for.  I have copies of everything on my local machine, and my real website is up, so you can't mess up anything that I couldn't put back.

Thank you!

Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 3:39pm
Okay - what I did was upload the software to my own website and installed and modified the contact form I currently use
If you would like to verify it is working - goto:
http://www.justcheck.co.uk/contact.asp

and then complete the form and send it
Then we can look at what is different on your site Wink
Back to Top
hisplaceresort View Drop Down
Newbie
Newbie
Avatar

Joined: 12 December 2008
Location: USA
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote hisplaceresort Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 3:43pm

OK.

That form worked.  I'm assuming from your post that you used my sendmail.asp. 

So, what do we look at now?
 
Thanks!
 

 

Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2008 at 3:58pm
As you can see (I've blotted out the details) the form processed correctly:



If you had entered say a wrong code you would have been directed to this page:
http://www.justcheck.co.uk/contact_fail.asp

Sorry it seems a bit basic but I was rushing LOL

How I did it -
1. Install Captcha into root directory where you might have your normal folders ie. images, navbuttons whatever, and all your normal webfiles
2. I had a page called contact.asp which had the form on and at the top of that page you put:
<%@LANGUAGE="VBSCRIPT" %>
<!-- Include file for CAPTCHA configuration -->
<!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->

Your form obviously then goes to say a file called send_email.asp

And at the bottom of your contact form, but within the form itself
<!-- include the Web Wiz CAPTCHA form -->
<!--#include file="CAPTCHA/CAPTCHA_form_inc.asp" -->

Then on the send_email.asp file at the top

<%@LANGUAGE="VBSCRIPT" %>
<!-- Include file for CAPTCHA configuration -->
<!-- #include file="CAPTCHA/CAPTCHA_configuration.asp" -->
 
<!-- Include file for CAPTCHA form processing -->
<!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->          
<%

'The line below will prevent the rest of the file from processing if the CAPTCHA code is entered incorrectly
'To use the line below remove the comment (') quote mark from in front of the line
If blnCAPTCHAcodeCorrect = False Then Call stopProcess()
   
%>

If you then edit the file in the captcha folder called:
CAPTCHA_configuration.asp and see this bit below

'***** This is the name of the page you want users redirected to if CAPTCHA is entered incorrectly *****
'Place the page to be redirected to between the quote marks below
Const strIncorrectCAPTCHApage = ""

In my case I put in between the speech marks
Const strIncorrectCAPTCHApage = "/contact_fail.asp"

The / bit shows that the page contact_fail.asp is outside the CAPTCHA folder

I hope that helps Julie. If you have any questions please email or PM me and I can help you out further
Back to Top
 Post Reply Post Reply Page  123>

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.