Page 1 of 1

CAPTCHA v2

Posted: Mon Feb 08, 2021 1:23 pm
by peteread
Hi guys,
I have just installed this onto my contact page, but now it's an error, any help solving it please?
URL for error page https://costablancahogs.com/en/contact_us.php

The error
Warning: require_once(./ReCaptcha/ReCaptcha.php): failed to open stream: No such file or directory in /home/costabla/public_html/en/contact_us.php on line 2

Fatal error: require_once(): Failed opening required './ReCaptcha/ReCaptcha.php' (include_path='.:/opt/cpanel/ea-php56/root/usr/share/pear') in /home/costabla/public_html/en/contact_us.php on line 2

I published this page ALL files

Image

These are my settings in WWB.

The error page is pointing to the same place as my error for contact form.

Any help would be gratefully received

Thank you

Re: CAPTCHA v2

Posted: Mon Feb 08, 2021 1:44 pm
by Pablo
The error indicates that the ReCaptcha folder is missing.
Are you sure that you have published all files?

Note that in WB16, you no longer need the Recaptcha extension, Recaptcha support is built-in the standard Captcha object.

Re: CAPTCHA v2

Posted: Mon Feb 08, 2021 1:51 pm
by peteread
Thanks Pablo,
I have changed it for the old type that is in the form controls and it seems to work now, however, people have t put the text and numbers in, rather than just push NOT A ROBOT.
Regards
Peter

Re: CAPTCHA v2

Posted: Mon Feb 08, 2021 2:32 pm
by Pablo
The built-in CAPTCHA object also supports recaptcha v2.