Page 68 of 69 FirstFirst ... 185866676869 LastLast
Results 671 to 680 of 687
  1. #671
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,793
    Plugin Contributions
    31

    Default Re: Support Thread for Google reCAPTCHA

    ...and?
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  2. #672
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,302
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA

    ZC v2.1.0, PHP 8.2, OPC 2.5.4
    Using the latest (as of today) reCAPTCHA version from github.

    Attempting to add reCAPTCHA to OPC's create_account_register page. Although create_account_register 'uses' includes/modules/pages/create_account it has its own header.php file of header_php_create_account_register.php and as such the reCAPTCHA process gives a blank page when creating a registered account, as can be seen from the logs below.

    I am comfortable adding new instances of say CREATE_ACCOUNT_REGISTER, if necessary, but what code would I need for the mod to recognise header_php_create_account_register.php?

    Code:
    [25-Feb-2025 10:09:51 Europe/London] Request URI: /create-account, IP address: 127.0.0.1, Language id 1
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php(52): zen_debug_error_handler()
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php(52): require()
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update()
    #3 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify()
    #4 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    --> PHP Warning: require(D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php): Failed to open stream: No such file or directory in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52.
    
    [25-Feb-2025 10:09:51 Europe/London] PHP Fatal error:  Uncaught Error: Failed opening required 'D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php' (include_path='.;C:\php\pear') in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php:52
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update(Object(notifier), 'NOTIFY_CREATE_A...', Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify('NOTIFY_CREATE_A...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52
    
    [25-Feb-2025 10:09:51 Europe/London] Request URI: /create-account, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Failed opening required 'D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php' (include_path='.;C:\php\pear') in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php:52
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update(Object(notifier), 'NOTIFY_CREATE_A...', Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify('NOTIFY_CREATE_A...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52.
    
    [25-Feb-2025 10:09:51 Europe/London] Request URI: /create-account, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Failed opening required 'D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php' (include_path='.;C:\php\pear') in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php:52
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update(Object(notifier), 'NOTIFY_CREATE_A...', Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify('NOTIFY_CREATE_A...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52.
    Simon

  3. #673
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,302
    Plugin Contributions
    1

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by simon1066 View Post
    ZC v2.1.0, PHP 8.2, OPC 2.5.4
    Using the latest (as of today) reCAPTCHA version from github.

    Attempting to add reCAPTCHA to OPC's create_account_register page. Although create_account_register 'uses' includes/modules/pages/create_account it has its own header.php file of header_php_create_account_register.php and as such the reCAPTCHA process gives a blank page when creating a registered account, as can be seen from the logs below.

    I am comfortable adding new instances of say CREATE_ACCOUNT_REGISTER, if necessary, but what code would I need for the mod to recognise header_php_create_account_register.php?

    Code:
    [25-Feb-2025 10:09:51 Europe/London] Request URI: /create-account, IP address: 127.0.0.1, Language id 1
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php(52): zen_debug_error_handler()
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php(52): require()
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update()
    #3 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify()
    #4 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    --> PHP Warning: require(D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php): Failed to open stream: No such file or directory in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52.
    
    [25-Feb-2025 10:09:51 Europe/London] PHP Fatal error:  Uncaught Error: Failed opening required 'D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php' (include_path='.;C:\php\pear') in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php:52
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update(Object(notifier), 'NOTIFY_CREATE_A...', Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify('NOTIFY_CREATE_A...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52
    
    [25-Feb-2025 10:09:51 Europe/London] Request URI: /create-account, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Failed opening required 'D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php' (include_path='.;C:\php\pear') in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php:52
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update(Object(notifier), 'NOTIFY_CREATE_A...', Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify('NOTIFY_CREATE_A...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52.
    
    [25-Feb-2025 10:09:51 Europe/London] Request URI: /create-account, IP address: 127.0.0.1
    --> PHP Fatal error: Uncaught Error: Failed opening required 'D:/wamp64/www/MY_DOMAIN.co.uk/includes/classes/vendors/Google/recaptcha/src/autoload.php' (include_path='.;C:\php\pear') in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php:52
    Stack trace:
    #0 D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\traits\NotifierManager.php(106): zcObserverGoogleRecaptchaObserver->update(Object(notifier), 'NOTIFY_CREATE_A...', Array, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)
    #1 D:\wamp64\www\MY_DOMAIN.co.uk\includes\modules\pages\create_account\header_php_create_account_register.php(38): base->notify('NOTIFY_CREATE_A...')
    #2 D:\wamp64\www\MY_DOMAIN.co.uk\index.php(35): require('D:\\wamp64\\www\\k...')
    #3 {main}
      thrown in D:\wamp64\www\MY_DOMAIN.co.uk\includes\classes\observers\auto.google_recaptcha_observer.php on line 52.
    Just re-read the error logs and I think I cleared the vendors/google/recaptcha folder when I did this recent upgrade, I'll check. This post was not needed.
    Last edited by simon1066; 25 Feb 2025 at 12:23 PM.
    Simon

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

    Default Re: Support Thread for Google reCAPTCHA

    Hi Simon,
    I think you may be right - I downloaded v3.8 from Torvista's github repository also, and see that the vendors/Google/recaptcha directory is actually empty. Not sure what the reason for this is, but I followed the README.md instructions to obtain the files from Google's github, and applied the mentioned correction.
    `/includes/classes/vendors/Google/recaptcha`

    In here are the set of files from the Google reCAPTCHA library on GitHub: https://github.com/google/recaptcha

    The current version included here is tag v1.3.0 (newer versions may be available).

    All files are unmodified, bar one: ReCaptcha.php, which has minor fixes for php 8.4

    https://github.com/torvista/Zen_Cart...PTCHA/issues/3
    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. #675
    Join Date
    Feb 2017
    Location
    Tokyo, Japan
    Posts
    334
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    To be clear, the entire contents of https://github.com/google/recaptcha/tree/master/src (file autoload.php and directory ReCaptcha) needs to be placed in
    Code:
    includes/classes/vendors/Google/recaptcha/
    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

  6. #676
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,793
    Plugin Contributions
    31

    Default Re: Support Thread for Google reCAPTCHA

    vendors/Google/recaptcha directory is actually empty. Not sure what the reason for this is

    Me neither, Gitkraken would not "see" it to upload it. I could not include it as a submodule as it needs a fix for php8.4.
    I've now included it as a differently-named folder, and updated the readme.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  7. #677
    Join Date
    May 2008
    Location
    UK
    Posts
    374
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi there

    I need some assistance in figuring out where to put my <?php echo recaptcha_get_html(false); ?> line of code in on the 4 files that are on my server.

    let me explain. I am using ZC version 1.5.8a and the template is the bootstrap.

    So, these are the 4 files that i need to add the code to:
    a. tpl_contact_us_default.php
    b. tpl_modules_create_account.php
    c. tpl_product_reviews_write_default.php
    d. tpl_ask_a_question_default.php

    Although the instructions do tell you where the code goes, they are vague and i really dont want to mess up anything here.

    Can anyone assist me on this please?

    Thank you

  8. #678
    Join Date
    May 2008
    Location
    UK
    Posts
    374
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by amebb View Post
    Hi there

    I need some assistance in figuring out where to put my <?php echo recaptcha_get_html(false); ?> line of code in on the 4 files that are on my server.

    let me explain. I am using ZC version 1.5.8a and the template is the bootstrap.

    So, these are the 4 files that i need to add the code to:
    a. tpl_contact_us_default.php
    b. tpl_modules_create_account.php
    c. tpl_product_reviews_write_default.php
    d. tpl_ask_a_question_default.php

    Although the instructions do tell you where the code goes, they are vague and i really dont want to mess up anything here.

    Can anyone assist me on this please?

    Thank you
    Or cal anyone tell me what line i need to place the code on please for each file?

    Thank you

  9. #679
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,793
    Plugin Contributions
    31

    Default Re: Support Thread for Google reCAPTCHA

    There are examples in the updated version on Github.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  10. #680
    Join Date
    May 2008
    Location
    UK
    Posts
    374
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by torvista View Post
    There are examples in the updated version on Github.
    Thank you
    I will have a look and see if i can understand how it can be done on my site.

 

 
Page 68 of 69 FirstFirst ... 185866676869 LastLast

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