reCAPTCHA V2 Array Error
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/forms.html
http://www.wysiwygwebbuilder.com/form_wizard.html
Frequently Asked Questions about Forms
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
Wb 14.3.4
Created simple form with the form wizard on php page and recaptcha v2 downloaded from the extensions and installed.
Triple checked the codes , server has PHP 7.2
Using PHP from processor script and using built in mail processor.
No matter what i do i get the "The reCAPTCHA code is incorrect. Please try again.(Error: Array)" error
page is at https://wilstv.com
Anybody have any ideas ?
Created simple form with the form wizard on php page and recaptcha v2 downloaded from the extensions and installed.
Triple checked the codes , server has PHP 7.2
Using PHP from processor script and using built in mail processor.
No matter what i do i get the "The reCAPTCHA code is incorrect. Please try again.(Error: Array)" error
page is at https://wilstv.com
Anybody have any ideas ?
I used to have a photographic memory but i ran out of film !!!
Re: reCAPTCHA V2 Array Error
Are you sure the keys are valid?
Note that there is no support on (free ) extensions.
However, this extension has been used successfully by many other users so this can only be a configuration issue.
Note that there is no support on (free ) extensions.
However, this extension has been used successfully by many other users so this can only be a configuration issue.
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
Hello
Yes i triple checked the keys and all correct. I have tried it on my localhost and 2 other websites and always come up with the same issue. I wonder if any of the forum members are using this successfully.
Yes i triple checked the keys and all correct. I have tried it on my localhost and 2 other websites and always come up with the same issue. I wonder if any of the forum members are using this successfully.
I used to have a photographic memory but i ran out of film !!!
Re: reCAPTCHA V2 Array Error
Here is a working demo
https://www.wysiwygwebbuilder.com/support/recaptcha/
https://www.wysiwygwebbuilder.com/support/recaptcha/
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
Hi the only difference i can see between your and mine is of course the key and i know mine is correct.
You have yours in a <div> and i don't and i don't know how to get it in a <div>
Yours
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<div id="container">
<div id="wb_indexForm1">
<form name="contact" method="post" action="index.php" enctype="multipart/form-data" id="indexForm1">
Mine
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<div id="wb_Form1" style="position:absolute;left:315px;top:137px;width:404px;height:454px;z-index:6;">
<form name="contact" method="post" action="index.php" enctype="multipart/form-data" id="Form1">
You have yours in a <div> and i don't and i don't know how to get it in a <div>
Yours
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<div id="container">
<div id="wb_indexForm1">
<form name="contact" method="post" action="index.php" enctype="multipart/form-data" id="indexForm1">
Mine
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
</head>
<body>
<div id="wb_Form1" style="position:absolute;left:315px;top:137px;width:404px;height:454px;z-index:6;">
<form name="contact" method="post" action="index.php" enctype="multipart/form-data" id="Form1">
I used to have a photographic memory but i ran out of film !!!
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
I'll tell you, i am pulling my hair out.
I changed the email address
Tried it with my old keys and error
Deleted the site at google and generated new keys and still error.
I changed the email address
Tried it with my old keys and error
Deleted the site at google and generated new keys and still error.
I used to have a photographic memory but i ran out of film !!!
Re: reCAPTCHA V2 Array Error
Is the domain name for the keys valid?
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
Yes the domain is valid and i generated new keys , not sure how i can validate the keys but they are correct in the captcha setup
I used to have a photographic memory but i ran out of film !!!
Re: reCAPTCHA V2 Array Error
Did you create keys for recaptcha v2?
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
Yes i did
I used to have a photographic memory but i ran out of film !!!
Re: reCAPTCHA V2 Array Error
I'm sorry, in that case I do not know why it does not work for you.
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
Hi Pablo
I very much appreciate your help.
I have been contacting my host and they finally have my problem solved.
In the index.php there is
if (isset($_POST['g-recaptcha-response']))
They changed that to
if (isset($_POST['recaptcha-response']))
Not sure if that would be the correct way of doing things but if it is i am wondering if that could be implemented in some way so i wouldn't have to change it all the time.
I have tried the modified script on 3 domains and works perfect.
Regards
I very much appreciate your help.
I have been contacting my host and they finally have my problem solved.
In the index.php there is
if (isset($_POST['g-recaptcha-response']))
They changed that to
if (isset($_POST['recaptcha-response']))
Not sure if that would be the correct way of doing things but if it is i am wondering if that could be implemented in some way so i wouldn't have to change it all the time.
I have tried the modified script on 3 domains and works perfect.
Regards
I used to have a photographic memory but i ran out of film !!!
-
-
- Posts: 68
- Joined: Mon May 13, 2019 9:15 pm
Re: reCAPTCHA V2 Array Error
You know what. I just tried to function with hitting the i am not a robot box and i got a success as well so that is not working. Sorry Pablo
I used to have a photographic memory but i ran out of film !!!
Re: reCAPTCHA V2 Array Error
The 'fix' of your host is not correct.
It should be 'g-recaptcha-response', not 'recaptcha-response' because the name of the input field is "g-recaptcha-response".
Note that this is not specific to WWB, recaptcha is a third party service.
It should be 'g-recaptcha-response', not 'recaptcha-response' because the name of the input field is "g-recaptcha-response".
Note that this is not specific to WWB, recaptcha is a third party service.