Upgrade reCaptcha V2 on FormMail V9.10 fails

1,174 views
Skip to first unread message

K Wheeler

unread,
Jul 6, 2015, 6:17:16 AM7/6/15
to reca...@googlegroups.com
I've tried to follow the instructions to integrate reCaptcha v2 into the current version of Tectite's FormMail.  I keep getting a 'verification' failed error.   I've followed the directions very carefully but still get the error.  The Widget shows up ok but, as I say, verification fails.  On the FormMail instructions this is what's they say is required and it appears to agree OK with the reCaptcha instructions:-
  1. Install the reCaptcha widget code into the <head> section of your page:

    <script src="https://www.google.com/recaptcha/api.js" async defer></script>
    

    Display the reCaptcha widget in your HTML (just before your submit button, for example):

    <div class="g-recaptcha" data-sitekey="your_site_key"></div>
    

    Replace your_site_key with your reCaptcha site key (this is not the secret key; it's the other one.)

  2. Reload your HTML form in your browser. It should now display the reCaptcha widget.
  3. You must derive a field called "imgverify" from the reCaptcha field "g-recaptcha-response" so that FormMail receives the user's CAPTCHA input. Here's an example of this:
    <input type="hidden" name="derive_fields"
          value="imgverify=g-recaptcha-response" />
  4. Now proceed to the following steps on this page (below).

Modify the configuration section of your copy of FormMail to include the secret key you received from the reCaptcha admin.

You need to set the RECAPTCHA_PRIVATE_KEY setting in FormMail. For example:

$RECAPTCHA_PRIVATE_KEY = "6LgQQgATAAAAALWHy4k0uPSmnr7chET_T74cvzqZ";


Use the REQUIRE_CAPTCHA feature to enforce reCaptcha validation:

$REQUIRE_CAPTCHA = "Confirm you are not a robot.";

Alexander Hawthorn

unread,
Jul 7, 2015, 8:57:07 AM7/7/15
to reca...@googlegroups.com
I am also having the exact same problem!

Scott Crawford

unread,
Aug 8, 2016, 6:49:09 PM8/8/16
to reCAPTCHA, ajhawt...@gmail.com
I'm having the same problem, too. I got it working at one point, but now even though nothing has changed it seems to be not working again, which is even more puzzling. 

Gerald Kollmann

unread,
Aug 16, 2016, 6:33:31 AM8/16/16
to reCAPTCHA


Am Montag, 6. Juli 2015 12:17:16 UTC+2 schrieb oldcelt:
I've tried to follow the instructions to integrate reCaptcha v2 into the current version of Tectite's FormMail.  I keep getting a 'verification' failed error.   I've followed the directions very carefully but still get the error.  The Widget shows up ok but, as I say, verification fails. 

Same problem on my websites - since two or three weeks reCaptcha doesn't work any longer although I didn't change anything in my code or serversided setings...

Aaron Russell

unread,
Aug 16, 2016, 1:55:26 PM8/16/16
to reCAPTCHA
I, too, am having this problem. reCaptcha worked smoothly on my site for months, I changed nothing in my code, and all of a sudden I always get this response from formmail.php:

An error occurred while processing the form .

reCaptcha verification failed (verification failed) 


I'm using Tectite FormMail 9.13 on Rackspace Cloud Sites. I've been wondering if a PHP update or configuration change on the part of Rackspace may have had something to do with it.

Diederick van Eijsden

unread,
Aug 17, 2016, 11:25:46 AM8/17/16
to reCAPTCHA
Same problem here on two different servers so I don't think thats the problem.
If you take out the "imgverify=g-recaptcha-response" at the derive_fields in your form the error is gone but than the verification is not working, you can send forms with or without checking the recaptcha.
So I think it got something to do how the verification is done in the formmail.php file and to the recaptcha.
I emailed tectite, they said "last week recaptcha was broken but google fixed it" well I think they didn't fix it well enough or the fix doesn't work with the formmail from tectite.
I don't know if you already sent tectite an email to the support (supportATtectite.com) but I think when we all sent them emails about this same problem maybe they will fix it.

Op dinsdag 16 augustus 2016 19:55:26 UTC+2 schreef Aaron Russell:

Aaron Russell

unread,
Aug 17, 2016, 11:43:34 AM8/17/16
to reCAPTCHA
I sent them an email about it this morning with the POST data sent from my form. Hopefully that will help. Aaron

oldcelt

unread,
Aug 17, 2016, 1:41:57 PM8/17/16
to reCAPTCHA
I agree that it still isn't working.   I hope Tectite can sort this quickly.

oldcelt

unread,
Aug 17, 2016, 1:45:10 PM8/17/16
to reCAPTCHA
How do you send Tectite an email?   I can't find an email address.


On Wednesday, 17 August 2016 16:43:34 UTC+1, Aaron Russell wrote:

Aaron Russell

unread,
Aug 17, 2016, 1:56:28 PM8/17/16
to reCAPTCHA
I emailed suppor...@tectite.com. Strangely enough, I just noticed that the response came from sup...@recaptcha.net and that's who I actually responded to.

oldcelt

unread,
Aug 17, 2016, 2:03:30 PM8/17/16
to reCAPTCHA
I just emailed enqu...@tectite.com having noticed a link on their website.   Let's see if that produces any response.

oldcelt

unread,
Aug 18, 2016, 1:37:42 PM8/18/16
to reCAPTCHA
Had a reply this morning.   They claim that 9.13 now works with reCAPTCHA - it doesn't!   Re-checked everything and uploaded a fresh copy of 9.13 - same problem.  I've emailed Tectite accordingly.

Aaron Russell

unread,
Aug 18, 2016, 1:42:03 PM8/18/16
to reca...@googlegroups.com
I just gave up for now and am trying the reverse CAPTCHA setting in formmail for the time being. See https://www.tectite.com/fmdoc/attack_detection_reverse_captcha.php

--
You received this message because you are subscribed to a topic in the Google Groups "reCAPTCHA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/recaptcha/JT7Bf0v3xeg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to recaptcha+unsubscribe@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at https://groups.google.com/group/recaptcha.
For more options, visit https://groups.google.com/d/optout.

Gerald Kollmann

unread,
Aug 18, 2016, 1:43:30 PM8/18/16
to reCAPTCHA

I've sent an eMail to supportsta**@tectite.com and got an answer by Russell Robinson himself very quickly. He told me, that reCapthca is working for some people, for some others not - he isn't able to solve this and recommends to remove reCaptcha and use the other features implemented in FormMail. Another workaround could be to step down to the old image verification or CAPTCHA script posted at https://www.tectite.com/vbforums/showthread.php?1208-Image-verification-Version-1-05.

Not really satisfied with that solution, but unless there is no other workaround...

 

Chris Catalano

unread,
Aug 18, 2016, 1:58:43 PM8/18/16
to reca...@googlegroups.com
I'm also having a problem with formmail, but my problem was that I was getting an error message 'verification failed ; Array'. Russell sent me a bare bones form and a version 9.13 of formmail and I installed in and got it working. Interestingly enough I went back to the previous versions of formmail and tried the testalert=1 process and it failed. So there's something that we set initially in formmail that is now not working. I'm going to go through all of the settings and compare it to what he just sent to see what is different. I'll post back if I find anything obvious.


Chris Catalano




On Aug 18, 2016, at 1:43 PM, Gerald Kollmann <gek...@gmail.com> wrote:


I've sent an eMail to supportsta**@tectite.com and got an answer by Russell Robinson himself very quickly. He told me, that reCapthca is working for some people, for some others not - he isn't able to solve this and recommends to remove reCaptcha and use the other features implemented in FormMail. Another workaround could be to step down to the old image verification or CAPTCHA script posted at https://www.tectite.com/vbforums/showthread.php?1208-Image-verification-Version-1-05.

Not really satisfied with that solution, but unless there is no other workaround...

 

--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.

Gerald Kollmann

unread,
Aug 18, 2016, 7:37:33 PM8/18/16
to reCAPTCHA
Good news for all who are using Tectite FormMail:

Russell Robinson informed me about an update of his FormMail script to version 9.14, in which he has fixed the bug resulting from unannounced changes Google had implemented into reCaptcha.

With the new version (and with increasing the $MAXSTRING-value in the script to 2048) everything works again as it should...

I'm very glad not having to rewrite my whole scripting system for formmails...

Chapeu, Russell Robinson!

Ciao
Gerald

oldcelt

unread,
Aug 19, 2016, 5:40:28 AM8/19/16
to reCAPTCHA
Yes, Russell appears to have emailed all who wrote to him.   I can confirm that the latest changes are totally successful
Ken
Reply all
Reply to author
Forward
0 new messages