Results 1 to 10 of 694

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    Default Re: Support Thread for Google reCAPTCHA

    I am having a problem getting this to work. The store is in a sub-directory, so I am unsure if this is the issue? Also another issue that springs to mind is does it reply on GD libraries or some other element being loaded into PHP?

    I've temprarily disabled the module on the create account page for this site, however you can see my issue on the url below.

    http://deep-ideas.co.uk/Store/index....age=contact_us

    I've also added my public and private keys from google.
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  2. #2
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by Nick1973 View Post
    I am having a problem getting this to work. The store is in a sub-directory, so I am unsure if this is the issue? Also another issue that springs to mind is does it reply on GD libraries or some other element being loaded into PHP?

    I've temprarily disabled the module on the create account page for this site, however you can see my issue on the url below.

    http://deep-ideas.co.uk/Store/index....age=contact_us

    I've also added my public and private keys from google.
    Subdirectory is not an problem. It does not rely on GD libraries.

    The problem looks to be installation of your Google CAPTCHA account. Did you create a v2 or v3? It has to be version 2, the check-box type.

  3. #3
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,229
    Plugin Contributions
    6

    red flag Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by jeking View Post
    Subdirectory is not an problem. It does not rely on GD libraries.

    The problem looks to be installation of your Google CAPTCHA account. Did you create a v2 or v3? It has to be version 2, the check-box type.
    That I don't know. I will check
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  4. #4
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi David,
    I've got multiple languages (English, Japanese) on my site, and browser detection does not work. I've had to change the reCaptcha code in
    Code:
    includes/functions/extra_functions/recaptchalib.php
    to the following:
    PHP Code:
    if ($_SESSION['languages_id'] == 1) {
    $recaptcha_html.='<script src="https://www.google.com/recaptcha/api.js" async defer></script>'."\n";
    }
    if (
    $_SESSION['languages_id'] == 3) {
    $recaptcha_html.='<script src="https://www.google.com/recaptcha/api.js?hl=ja" async defer></script>'."\n";

    which is probably not great, but there you go.
    Zen Cart 1.5.6c modified for Japanese language support. Upgraded incrementally from initial 1.5.5d. Currently planning direct upgrade to 2.1.0

  5. #5
    Join Date
    Sep 2005
    Posts
    78
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Why would I be getting these errors in my error logs..

    18-Jun-2019 17:11:43 America/New_York] PHP Fatal error: Class 'ReCaptcha\ReCaptcha' not found in /usr/home/***/public_html/******/includes/classes/observers/class.google_recaptcha.php on line 37

    [18-Jun-2019 17:11:43 America/New_York] Request URI: /index.php?main_page=create_account, IP address: ********
    --> PHP Fatal error: Class 'ReCaptcha\ReCaptcha' not found in /usr/home/*****/public_html/********/includes/classes/observers/class.google_recaptcha.php on line 37.

    Thanks!

  6. #6
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by bluetooth View Post
    Why would I be getting these errors in my error logs..

    18-Jun-2019 17:11:43 America/New_York] PHP Fatal error: Class 'ReCaptcha\ReCaptcha' not found in /usr/home/***/public_html/******/includes/classes/observers/class.google_recaptcha.php on line 37

    [18-Jun-2019 17:11:43 America/New_York] Request URI: /index.php?main_page=create_account, IP address: ********
    --> PHP Fatal error: Class 'ReCaptcha\ReCaptcha' not found in /usr/home/*****/public_html/********/includes/classes/observers/class.google_recaptcha.php on line 37.

    Thanks!
    First thought is to check that all the installation files have been uploaded to the correct place. If they are, you should not be getting that error.

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,528
    Plugin Contributions
    127

    Default Re: Support Thread for Google reCAPTCHA

    Jim is right - this mod does work, so my guess would be that in your site, the folder includes/classes/observers/google/ReCaptcha is missing or damaged.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  8. #8
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi Jim

    I went back to basics and copied each file across. That resolved the issue. Thank you so much.

    It clearly was updated since I originally installed the website.

    Thanks for your help .
    Debbie Harrison
    DVH Design | Web Design blog

  9. #9
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi Jeking

    I changed the script to https and nothing.

    As the site is 1.5.3 I checked what I had before (many moons ago when this worked) and checked the files (as it says to add the code manually.

    The readme file instructed me to add

    Code:
    <?php echo recaptcha_get_html(); ?>
    But comparing the tempalte files in WinMerge I also found

    Code:
    <?php echo recaptcha_get_html(true); ?>
    Code:
    <?php echo recaptcha_get_html(false); ?>
    And under the write product reviews this was used:

    Code:
    <?php echo recaptcha_get_html($publickey, $resp->error,$request_type == 'SSL'); ?>
    So goodness knows. I thought I had done the right thing but the CAPTCHA is being ignored.
    Debbie Harrison
    DVH Design | Web Design blog

  10. #10
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by dharrison View Post
    Hi Jeking

    I changed the script to https and nothing.

    As the site is 1.5.3 I checked what I had before (many moons ago when this worked) and checked the files (as it says to add the code manually.

    The readme file instructed me to add

    Code:
    <?php echo recaptcha_get_html(); ?>
    But comparing the tempalte files in WinMerge I also found

    Code:
    <?php echo recaptcha_get_html(true); ?>
    Code:
    <?php echo recaptcha_get_html(false); ?>
    And under the write product reviews this was used:

    Code:
    <?php echo recaptcha_get_html($publickey, $resp->error,$request_type == 'SSL'); ?>
    So goodness knows. I thought I had done the right thing but the CAPTCHA is being ignored.
    You'll want to check that the versions of those templates in your template override folder are current. Meaning compare them to the default versions for 1.5.3.

 

 

Similar Threads

  1. Support Thread for CKEditor Plugin
    By DivaVocals in forum Addon Admin Tools
    Replies: 213
    Last Post: 18 Nov 2024, 04:17 AM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg