Totally Zenned
- Join Date:
- Jan 2015
- Posts:
- 737
- Plugin Contributions:
- 0
Support Thread for Google reCAPTCHA plugin
Anyone have any ideas?
Views: 176,309
Totally Zenned
Anyone have any ideas?
Zen Follower
Hello,
I did not quite understand if the CAPTCHA is free or paid to get the keys Thank you
Totally Zenned
giancalr:
Hello,
I did not quite understand if the CAPTCHA is free or paid to get the keys Thank you
The keys are free from Google.
New Zenner
Hi,
I just updated using v3.6a and noticed that in the README file Step 3 references the wrong Create Account file:
Step 3
Edit the files you wish to use captcha in includes/templates/YOUR_TEMPLATE/templates
tpl_contact_us_default.php
** tpl_create_account_default.php (incorrect)**
tpl_product_reviews_write_default.php
tpl_ask_a_question_default.php
In each case, you will be adding the line
<?php echo recaptcha_get_html(false); ?>
a. tpl_contact_us_default.php
After the last </fieldset>
Add <?php echo recaptcha_get_html(false); ?>
b. **tpl_modules_create_account.php (correct)**
After the fieldset close for ENTRY_PASSWORD_CONFIRMATION.
Add <?php echo recaptcha_get_html(false); ?>
New Zenner
Hi just wanted to say thank you for this plugin, I have just added it to a couple of newly upgraded zc sites using 1.5.8a and php8.1 and it seems to be working nicely.
I was wondering if anyone knows if it will work on php8.2? Asking as I saw in the 1.5.8a notes that problems are expected with php8.2
Cheers,
Totally Zenned
It should be fine, it works locally on my 8.2.5 server.
New Zenner
I have two carts 155e and 155f and I have the "responsive_classic" temple in use. I just installed the " Google reCAPTCHA plugin" and I used the reCAPTCHA not the reCAPTCHA3.4 because it said "if you're using pre-156, please use an earlier version of this plugin." I only have "In store walk-in" as a shipping method. I ship two ways usps and ups. Neither are showing up when checking a shipping rate ( pre account) and when I check out no shipping method either. I'm working off of the ole "what changed?" It is all I can think of. I love the reCAPTCHA as it has cut down on tons of spam emails. Can anyone think of something I missed on the install of has anyone had this problem????
New Zenner
I also have PHP v 7.4.33 on both
New Zenner
Disregard from this thread. USPS is working but not UPS. Others are having the same problem.
https://www.zen-cart.com/showthread.php?229523-No-rates-for-UPS-United-Parcel-Service&p=1394999#post1394999
New Zenner
I'm getting an error in my debug logs as follows. The admin will load the but the storefront will not. At first I thought it might be due to the recent update, but after updating from 3.6 to 3.6a I am still getting the second error below, and now the first has appeared.
Any ideas? MUCH appreciated.
PHP Fatal error: Cannot redeclare recaptcha_get_html() (previously declared in /home/REMOVED/URL-REMOVED/includes/functions/extra_functions/functions_google_recaptcha.php:46) in /home/REMOVED/URL-REMOVED/includes/functions/extra_functions/recaptchalib.php on line 23
PHP Fatal error: Cannot declare class zcObserverGoogleRecaptchaObserver, because the name is already in use in /home/REMOVED/URL-REMOVED/includes/classes/observers/auto.google_recaptcha_observer.php on line 0
Totally Zenned
Doesn't match the updated version on Github:
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA/tree/main/files/includes
But your error means it is being loaded twice/you have duplicated files.
New Zenner
torvista:
Doesn't match the updated version on Github:
https://github.com/torvista/Zen_Cart-Google_reCAPTCHA/tree/main/files/includesBut your error means it is being loaded twice/you have duplicated files.
Thanks for the reply. I'll work through this.
Can you please tell me, since there are no instructions for updating, only installation, if I were upgrading from previous versions, are there any files that have to be removed from any previous version?
Totally Zenned
Note your keys, remove old files.
Zen Follower
Just upgraded a site to ZC 1.5.8a. Most everything is working, but the ReCaptcha is off screen to the left on the contact page on iPhones and probably other mobile devices. See https://macbrud.com/index.php?main_page=contact_us. How to get it to center?
Not sure what version of the plugin I'm using (where do I look for that?). Is there a recent version which solves this problem?
Administrator
billc108:
Just upgraded a site to ZC 1.5.8a. Most everything is working, but the ReCaptcha is off screen to the left on the contact page on iPhones and probably other mobile devices. See https://macbrud.com/index.php?main_page=contact_us. How to get it to center?
Not sure what version of the plugin I'm using (where do I look for that?). Is there a recent version which solves this problem?
The issue on your site when viewing on a phone/tablet device is that the site's template is not responsive.
Zen Follower
lat9:
The issue on your site when viewing on a phone/tablet device is that the site's template is not responsive.
Ok. Makes sense. The site uses a custom template which probably came out before the responsive templates existed.
Would I have to create a separate contact page template to insert into their custom templates? I didn't see such a thing in the responsive templates, so I assume I'd copy the one at includes/template_default/templates/tpl_contact_us_default.php and tweak to match the site? Is that one responsive these days?
Administrator
billc108:
Ok. Makes sense. The site uses a custom template which probably came out before the responsive templates existed.
Would I have to create a separate contact page template to insert into their custom templates? I didn't see such a thing in the responsive templates, so I assume I'd copy the one at includes/template_default/templates/tpl_contact_us_default.php and tweak to match the site? Is that one responsive these days?
template_default is not responsive, but responsive_classic is although it also creates its responsiveness by a bunch of changes to its /common/html_header.php file.
That said, it's not just a /templates/ sub-directory file-copy since *all *responsive templates gain their responsiveness via html_header.php additions.
Zen Follower
lat9:
template_default is not responsive, but responsive_classic is although it also creates its responsiveness by a bunch of changes to its /common/html_header.php file.
That said, it's not just a /templates/ sub-directory file-copy since *all *responsive templates gain their responsiveness via html_header.php additions.
Sorry, I'm not sure I understand what exactly I need to do to solve this. I rarely work with ZenCart these days, so I'm going to need a little more specific guidance - along the lines of "explain it like I'm a 5 year old".
What html_header.php needs to be added to the contact page template? Is there a specific location where it needs to go, or just somewhere in the header?
Thanks
Totally Zenned
I'm afraid your only option is to go to the existing responsive_classic template or the boostrap. There are so many things wrong with that template that it needs to be jacked up and a new one run under it.
I recommend the latter. If you have access to cPanel, you can test the templates by following the instructions at https://myzencarthost.com/index.php?rp=/knowledgebase/1/Creating-a-Test-Site-with-cPanel.html
Zen Follower
dbltoe:
I'm afraid your only option is to go to the existing responsive_classic template or the boostrap. There are so many things wrong with that template that it needs to be jacked up and a new one run under it.
I recommend the latter.
So you're suggesting I grab something like responsive_classic/common/tpl_main_page.php, drop it in the custom template directory renamed as tpl_contact_us_default.php, and then tweak to fit the site's layout and the contact page function?
That's not something I look forward to, but if it gets this pitifully out of date site a little less pitiful I guess I will.
I'm working on a staging site already, but thanks for the pointer on setting one up.
Fields marked required must be completed.
Tell staff why this post should be reviewed.
Required for login, security, and core site functionality.
Help us understand how the site is used so we can improve it.
Used for promotion and personalized campaign measurement.