Page 1 of 2 12 LastLast
Results 1 to 10 of 694

Hybrid View

  1. #1
    Join Date
    Apr 2014
    Location
    London
    Posts
    22
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hi
    I am running zen cart V1.5.1 (I know I should upgrade but I still have to get round to doing it).
    I'm trying to get Google's V2 reCaptcha ('I am not a robot') to work.
    Can anyone please confirm whether Google reCAPTCHA CAPTCHA - Version: 3.4 is working on ZC V1.5.1 running php5.3 ?
    I'm getting server error 500 upon sending the contact us form. My very expensive webhost (have a guess who that might be) are giving me the run-around saying they can't make sense of what's going on and asked me 'contact the developer of the script to preview the matter and suggest if a change in the code or server environment is required. If a change in the PHP settings is needed, provide us with his/her response, so we could verify if the change could be applied to the hosting environment.' I told them that this script is listed as working as compatible with both lower and higher versions of zen cart that run on both lower and higher versions than php5.3

    Should I try another version of Google reCAPTCHA CAPTCHA perhaps? Maybe Version: 3.1?

    Any help would be greatly appreciated.
    thank you!
    Millie

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

    Default Re: Support Thread for Google reCAPTCHA

    I have a version on GitHub I have fettled to death...

    https://github.com/torvista/Zen_Cart-Google_reCAPTCHA

    If your version is working on your site then let sleeping dogs lie/leave well alone/don't fix what is not broken.

    If you are having problems, then please try this out on your development site and report any issues and feed back improvements on GitHub.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  3. #3
    Join Date
    Apr 2014
    Location
    London
    Posts
    22
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Hello Torvista
    Thank you for your reply.
    Can I try this version work on zen cart 1.5.1?
    I am in the process of moving webhost and if it works i'll try it out as soon as I can and get back to you.
    Thanks in advance for your answer
    Regards
    Millie

  4. #4
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,838
    Plugin Contributions
    31

    Default Re: Support Thread for Google reCAPTCHA

    Can I try this version work on zen cart 1.5.1?
    I wouldn't normally consider obsolete versions, but yes it now should work with all the 1.5x versions.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  5. #5
    Join Date
    Dec 2020
    Location
    UK
    Posts
    6
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by torvista View Post
    I have a version on GitHub I have fettled to death...

    https://github.com/torvista/Zen_Cart-Google_reCAPTCHA

    If your version is working on your site then let sleeping dogs lie/leave well alone/don't fix what is not broken.

    If you are having problems, then please try this out on your development site and report any issues and feed back improvements on GitHub.
    I've just installed your mod but can't get it working due to the site running PHP v5.6 (yeah I know but I can't upgrade)

    The error is:

    PHP Parse error: syntax error, unexpected ':', expecting '{' in /home/xxx/public_html/includes/functions/extra_functions/functions_google_recaptcha.php on line 42

    Is there a workaround please?

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

    Default Re: Support Thread for Google reCAPTCHA

    As you correctly surmised, the culprit is your obsolete php 5.6.

    You need to remove the ":string" from that line:
    Code:
    function recaptcha_get_html($fieldset = false, $theme = 'light', $size = 'normal', $style = null): string {
    to
    Code:
    function recaptcha_get_html($fieldset = false, $theme = 'light', $size = 'normal', $style = null) {
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  7. #7
    Join Date
    Dec 2020
    Location
    UK
    Posts
    6
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by torvista View Post
    As you correctly surmised, the culprit is your obsolete php 5.6.

    You need to remove the ":string" from that line:
    Code:
    function recaptcha_get_html($fieldset = false, $theme = 'light', $size = 'normal', $style = null): string {
    to
    Code:
    function recaptcha_get_html($fieldset = false, $theme = 'light', $size = 'normal', $style = null) {
    Thanks - that got rid of the errors but now the recaptcha isn't working... I can submit forms on the site without ticking the Google checkbox? (not sure if it's related or not?)

  8. #8
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,838
    Plugin Contributions
    31

    Default Re: Support Thread for Google reCAPTCHA

    I can submit forms on the site without ticking the Google checkbox
    Any other debug logs?
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  9. #9
    Join Date
    Dec 2020
    Location
    UK
    Posts
    6
    Plugin Contributions
    0

    Default Re: Support Thread for Google reCAPTCHA

    Quote Originally Posted by torvista View Post
    Any other debug logs?
    No nothing??

  10. #10
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,838
    Plugin Contributions
    31

    Default Re: Support Thread for Google reCAPTCHA plugin

    I implemented this solution to reduce the small amount of spam being sent throught the contact us form.
    I am getting more now. Can't say if that it just more attacks or the reCaptcha is getting bypassed.
    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

 

 
Page 1 of 2 12 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