Welcome to WebmasterWorld Guest from 34.204.171.108

Forum Moderators: open

Message Too Old, No Replies

formmail not working with Captcha

no file found for verification

     
6:49 pm on Feb 9, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:June 4, 2002
posts: 1916
votes: 3


My formmail works if I leave out the captcha and verifytext requirement, but not with it in. I get a "no file found for verification". I think this occurred after I switched to https.

I checked another site with the same formmail with captcha that is working to make sure referrers are set up the same way. There are no special details that need to be set up in either form - just referrers.

I have 7 items "required" and made sure they are spelled the same way as the input names.

Here is the top of the form:

<FORM METHOD=POST ACTION="cgi-bin/formmail/FormMail.pl">
<input type=hidden name="recipient" value="info@example.com">
<input type=hidden name="subject" value="Free Quote">
<input type=hidden name="required" value="name, email, focus, pages, cart, when, verifytext">


Here is the captcha data:

<img src="/cgi-bin/formmail/captcha.cgi" alt="captcha"><br>
<input type="text" name="verifytext"><br>

Here is the referrers line in formmail.pl

my @referers =('example.com', 'www.example.com');

Can anyone see anything wrong?
9:08 pm on Feb 9, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10469
votes: 1099


Have you checked captcha.cgi and formmail.pl for internal calls? Is there a refernce that has the protocol embedded? (If it works http but not https, that would be where I look first).
5:15 pm on Feb 10, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:June 4, 2002
posts: 1916
votes: 3


@ Tangor,

Thanks for your reply but I don't understand what you're saying. I'm not a server administrator. I don't even have an http site anymore. Can you explain how to do an internal call? Tech support used to help with forms but not any more.
7:41 pm on Feb 10, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member tangor is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Nov 29, 2005
posts:10469
votes: 1099


Do you have access to your cgi-bin? That's where the scripts reside.

If formmail.pl works without the captcha, it is the captcha.cgi that needs to be examined. If it is not on your server (say, like a third party) then you will have to contact them for any help.
12:50 am on Feb 11, 2019 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:June 4, 2002
posts: 1916
votes: 3


the captcha.cgi is within the formmail folder and there is an images file in there as well as the FormMail.pl.

I noticed there was an example file in there and checked my code with the example and it's set up the same way.