hi all,
my contact us form is not working ( customer pointed this out today) yet it has been fine and there have been no changes made, mods or changes to any extensions. in looking into it i see i am getting a recurring error in my error log file :
PHP Notice: Undefined index: g-recaptcha-response in /home/domain_name/public_html/shop/catalog/controller/extension/captcha/google_captcha.php on line 27
this is line 27 :
$recaptcha = file_get_contents('https://www.google.com/recaptcha/api/siteverify?secret=' . urlencode($this->config->get('google_captcha_secret')) . '&response=' . $this->request->post['g-recaptcha-response'] . '&remoteip=' . $this->request->server['REMOTE_ADDR']);
I have uninstalled captcha, checked keys and recopied them in, re-enabled it -
strange thing is even when Re-captcha is uninstalled so not there - i tried the contact us page and still get
ERROR - PAGE NOT WORKING.
so i am not convinced its the captcha - or is there something obvious to anyone?
OC version. Take note that the suggested bug-fix solution on the above has already been added in recent OC versions which includes the opencart-3 repository on Github.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
You should test your contact form every week.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Who is online
Users browsing this forum: No registered users and 4 guests