Zen Cart Logo
Forums / All Other Contributions/Addons / Support Thread for Google reCAPTCHA plugin

Support Thread for Google reCAPTCHA plugin

Views: 176,347

Results 361 to 380 of 694
10 Nov 2018, 4:13 AM
#361
cubmanky avatar

cubmanky

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.

10 Nov 2018, 2:29 PM
#362
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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?

3 Dec 2018, 8:57 PM
#363
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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

3 Dec 2018, 9:34 PM
#364
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

NEVER MIND! Forgot to upload a file

Carol

21 Dec 2018, 11:57 PM
#365
icecold avatar

icecold

Zen Follower

Join Date:
Jul 2008
Posts:
360
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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
22 Dec 2018, 12:54 AM
#366
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

Obvious things to check first:

  1. All the plugin files are uploaded to the correct place.
  2. Check that /includes/modules/pages/contact_us/header_php.php is the 1.5.3 version with the antiSpam check.
30 Dec 2018, 1:47 PM
#367
pixbo avatar

pixbo

New Zenner

Join Date:
Feb 2008
Posts:
31
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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.

30 Dec 2018, 2:13 PM
#368
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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.

1 Jan 2019, 3:16 PM
#369
pixbo avatar

pixbo

New Zenner

Join Date:
Feb 2008
Posts:
31
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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

1 Jan 2019, 9:05 PM
#370
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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

2 Jan 2019, 10:53 AM
#371
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Support Thread for Google reCAPTCHA plugin

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

4 Jan 2019, 1:29 PM
#372
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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>

<?php echo zen_draw_input_field('subject', $subject, ' size="40" id="subject"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>

<br class="clearBoth" />" and it now works perfiectly

Zencart setup

version 155e
template Westminster_new
Php 5.6

Using: Latest Google reCaptcha plugin

4 Jan 2019, 1:52 PM
#373
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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 "
<label class="inputLabel" for="subject"><?php echo ENTRY_EMAIL_SUBJECT; ?></label>

<?php echo zen_draw_input_field('subject', $subject, ' size="40" id="subject"') . '<span class="alert">' . ENTRY_REQUIRED_SYMBOL . '</span>'; ?>

<br class="clearBoth" />" and it now works perfiectly

Zencart setup

version 155e
template Westminster_new
Php 5.6

Using: Latest Google reCaptcha plugin

4 Jan 2019, 3:27 PM
#374
fjbern1943 avatar

fjbern1943

Zen Follower

Join Date:
Apr 2015
Location:
United States
Posts:
144
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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.

4 Jan 2019, 4:37 PM
#375
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Support Thread for Google reCAPTCHA plugin

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.

10 Jan 2019, 11:55 PM
#376
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Support Thread for Google reCAPTCHA plugin

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

11 Jan 2019, 12:05 AM
#377
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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

13 Jan 2019, 3:41 AM
#378
goshawk avatar

goshawk

Zen Follower

Join Date:
Aug 2006
Location:
Kihikihi, New Zealand
Posts:
220
Plugin Contributions:
2

Re: Support Thread for Google reCAPTCHA plugin

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

13 Jan 2019, 4:14 AM
#379
jeking avatar

jeking

Totally Zenned

Join Date:
Oct 2005
Location:
Chicago, IL USA
Posts:
1,592
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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.

21 Jan 2019, 12:31 AM
#380
widget50 avatar

widget50

New Zenner

Join Date:
Oct 2015
Location:
NZ
Posts:
5
Plugin Contributions:
0

Re: Support Thread for Google reCAPTCHA plugin

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.