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
Printable View
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
I wouldn't normally consider obsolete versions, but yes it now should work with all the 1.5x versions.Quote:
Can I try this version work on zen cart 1.5.1?
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?
As you correctly surmised, the culprit is your obsolete php 5.6.
You need to remove the ":string" from that line:
toCode:function recaptcha_get_html($fieldset = false, $theme = 'light', $size = 'normal', $style = null): string {
Code:function recaptcha_get_html($fieldset = false, $theme = 'light', $size = 'normal', $style = null) {
Any other debug logs?Quote:
I can submit forms on the site without ticking the Google checkbox
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.
I added the POST reCaptcha response code to the extra info footer of the email we receive, and the spam ones do not have the response, so they are managing to get round it....more investigation needed.