Zen Follower
- Join Date:
- Jan 2014
- Posts:
- 224
- Plugin Contributions:
- 0
Support Thread for Google reCAPTCHA plugin
Anyone have any input on how contact us is bypassing the check box but my create account is working fine.
Views: 176,347
Zen Follower
Anyone have any input on how contact us is bypassing the check box but my create account is working fine.
Totally Zenned
cubmanky:
Anyone have any input on how contact us is bypassing the check box but my create account is working fine.
First place to look is:
/includes/modules/pages/contact_us/header_php.php
Be sure those changes were merged correctly. What version of ZC are you using?
Zen Follower
I've successfully installed the program and it's working great - thanks!
One issue I have because I think it may confuse my customers. I tested to see what would happen if I didn't check the box and the message didn't go through, which is good .
On the contact us page it said " RECAPTCHA_MISSING_INPUT_RESPONSE". I found a page that I thought would change that to something like "you forgot to check the box" . The page I thought it would be on is includes/languages/English/ extradifinitions/recaptcha.php . The wording on the page looks ok but I thought that may be the coding is a bit off - it says: define('RECAPTCHA_MISSING_INPUT_RESPONSE' , 'Please verify that you are not a robot'); Is there a parenthesis missing or is this the wrong page. Thanks for any help
Carol
Zen Follower
NEVER MIND! Forgot to upload a file
Carol
Zen Follower
I'm using ZC v 1.5.3, but for some reason, the RECAPTCHA does nothing ... I mean, you hit "SEND" and it doesn't ask to check the field. I added the RECAPTCHA on its own div but I know the script is valid, before I was getting an error, until I properly entered the keys. So what might be wrong? The instructions say that under 1.5.3, the only thing that needs to be added to each template is the function call ... and I did exactly that before the SUBMIT code ... take a look at my link
https://www.theoutletseason.com/scentia/contact_us
Totally Zenned
Obvious things to check first:
New Zenner
Hi, I am using zc v.1.5.4 and today I installed RECAPTCHA v3.2 but it is not working properly. When I have filled in contact_us form and got recaptcha box marked OK and press SEND nothing more happens. Mydebugg gave me following message:
PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in
includes/classes/observers/google/ReCaptcha/RequestMethod/Post.php on line 68
PHP Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify%29: failed to open stream: no suitable wrapper could be found in includes/classes/observers/google/ReCaptcha/RequestMethod/Post.php on line 68
PHP Warning: implode(): Invalid arguments passed in includes/classes/observers/google/ReCaptcha/Response.php on line 128
I have checked that the files are uploaded to correct places. I need some help to solve my problem. Just before I posted this I saw that there was a new version to download. Perhaps that will solve my problem?
/Per.
Totally Zenned
pixbo:
PHP Warning: file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in
includes/classes/observers/google/ReCaptcha/RequestMethod/Post.php on line 68
/Per.
This warning is in reference to your server configuration. Contact your hosting company to enable it.
pixbo:
Just before I posted this I saw that there was a new version to download. Perhaps that will solve my problem?
/Per.
The newest version is for compatibility with PHP 7.x. You did not mention what version of PHP you're using, so I don't know if it will solve your problem or not.
New Zenner
Jim,
thanks a lot for your help! Now all is running fine. My current php-version is 5.6. Any advantage change to 7.0 ? Wish you a prosperous 2019!
/Per
Totally Zenned
You're very welcome.
You should plan to upgrade PHP to 7. PHP 5.6 is now end of life.
pixbo:
Jim,
thanks a lot for your help! Now all is running fine. My current php-version is 5.6. Any advantage change to 7.0 ? Wish you a prosperous 2019!
/Per
Totally Zenned
As said php5.6 is end of life. for the everyday user the biggest advantage of php 7.x is a significant speed improvement.
pixbo:
Jim,
thanks a lot for your help! Now all is running fine. My current php-version is 5.6. Any advantage change to 7.0 ? Wish you a prosperous 2019!
/Per
Zen Follower
Just a heads up. The "tpl_contact_us_default.php" file is missing the email subject box for both the custom template and the standard responsive template.
Was getting errors that it was missing. Modified file to put this in "
<label class="inputLabel" for="subject"><?php echo ENTRY_EMAIL_SUBJECT; ?></label>
<br class="clearBoth" />" and it now works perfiectly
Zencart setup
version 155e
template Westminster_new
Php 5.6
Using: Latest Google reCaptcha plugin
Totally Zenned
The Email Subject is a separate pluging: https://www.zen-cart.com/downloads.php?do=file&id=226
which is why it's not included in this plugin.
When installing this plugin, you'd need to merge your tpl_contact_us_default.php with the one from this plugin, as you now have.
fjbern1943:
Just a heads up. The "tpl_contact_us_default.php" file is missing the email subject box for both the custom template and the standard responsive template.
Was getting errors that it was missing. Modified file to put this in "
<?php echo zen_draw_input_field('subject', $subject, ' size="40" id="subject"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>
<label class="inputLabel" for="subject"><?php echo ENTRY_EMAIL_SUBJECT; ?></label><br class="clearBoth" />" and it now works perfiectly
Zencart setup
version 155e
template Westminster_new
Php 5.6Using: Latest Google reCaptcha plugin
Zen Follower
jeking:
The Email Subject is a separate pluging: https://www.zen-cart.com/downloads.php?do=file&id=226
which is why it's not included in this plugin.When installing this plugin, you'd need to merge your tpl_contact_us_default.php with the one from this plugin, as you now have.
The email subject box is already included in Zencart Version 1.54 and 155e as a standard so there is absolutely no reason to have to install the Email Subject Plugin and therefore it should be included with the Google reCapcha Plugin for these zencart versions.
If you include it in the plugin there would not be a need to do any merge and just use the files provided.
Just my opinion.
Totally Zenned
fjbern1943:
The email subject box is already included in Zencart Version 1.54 and 155e as a standard so there is absolutely no reason to have to install the Email Subject Plugin and therefore it should be included with the Google reCapcha Plugin for these zencart versions.
If you include it in the plugin there would not be a need to do any merge and just use the files provided.
Just my opinion.
Not true. The subject is not part at a standard Zen Cart installation.
Zen Follower
I have installed your latest plugin (19 Dec 2018) on my zen-cart 1.5.5f.
I get the following message: ERROR for site owner: Invalid site key
I have completed the set up as instructed and put the keys in the correct file.
Does this plugin only work with reCAPTCHA 2?
Thanks,
Goshawk
Totally Zenned
It does work with 2.
The error indicates a problem with steps 1 and 2.
Step 1
Go to https://www.google.com/recaptcha/admin and create the Google reCAPTCHA keys for your website
Step 2
Open the file /includes/functions/extra_functions/recaptchalib.php and insert the public and private keys you got in Step 1. They need to go on lines 9 and 10
Goshawk:
I have installed your latest plugin (19 Dec 2018) on my zen-cart 1.5.5f.
I get the following message: ERROR for site owner: Invalid site key
I have completed the set up as instructed and put the keys in the correct file.Does this plugin only work with reCAPTCHA 2?
Thanks,
Goshawk
Zen Follower
jeking:
It does work with 2.
The error indicates a problem with steps 1 and 2.
Step 1
Go to https://www.google.com/recaptcha/admin and create the Google reCAPTCHA keys for your website
Step 2
Open the file /includes/functions/extra_functions/recaptchalib.php and insert the public and private keys you got in Step 1. They need to go on lines 9 and 10
Sorry for the delayed response, thank you.
I filled in the correct details in the plug-in and at Google Admin, but forgot to click "accept changes" at Google...LOL
Totally Zenned
Goshawk:
Sorry for the delayed response, thank you.
I filled in the correct details in the plug-in and at Google Admin, but forgot to click "accept changes" at Google...LOL
Thank you for confirming. I have done the exact same thing myself.
New Zenner
Hi Im using zencart 1.54 and i have installed this plugin, however i seem to have locked myself out of the admin. when i refreshed the page i could not log back in.
Can you please help. Im using SSL if this helps. I get a pop up box when trying to login in saying using under SSL do you want to continue.
Fields marked required must be completed.
Tell staff why this post should be reviewed.