Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

reCAPTCHA ocstore 2.3 - ошибка


Recommended Posts

Добрый день подскажите выдаёт ошибку reCAPTCHA - в чем может быть причина?

 

В дополнения - капча - включил reCAPTCHA - и ввел ключ и секретный ключ.

После этого зашёл в - система - настройки - опции и в самом низу выбрал reCAPTCHA и отображать в "контактах"

 

После того как в контактах заполняешь все поля Имя, Эмейл и Сообщения - проходишь проверку reCAPTCHA и она успешная. 

 

Но после нажатия кнопки отправить сообщения получаю ошибку:

 

Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in /hsphere/local/home/......./......./catalog/controller/extension/captcha/google_captcha.php on line 29Warning: file_get_contents(): Failed to enable crypto in /hsphere/local/home/......./......./catalog/controller/extension/captcha/google_captcha.php on line 29Warning: file_get_contents(https://www.google.com/recaptcha/api/siteverify?secret=Секретный...ключ&response=03ANcjosqP-kwfa0nfOY50CUdpibR6sJmlts-m-jIQCjt7CRVCzKpMsyFr-_kKQk9OzHwwtzky-aBg6Rt5r4l0q2e4g5YRk_9lKxvIhzbhh9KlB9y0drz3fglRS5w1pliWtgAqVDTjmN511xnjGyCq2YJv1UMVJL13y5APMwqoPOZMlyqpajvdKvwd2kYCjpAKJOyH2wpMXVkt78hIZhhdJeJi4Aj3DIie1-MEsxIzJ-9jF5bB-KK35-5S612BYNcvBQmANMPg4KI809I7SkiCSU1asitz8js_aeU3np9iLVTvnaMfke2Ksp3mGWA-g_BFyby9hj-SntUpkkpviOhb7e_XYI1c9Tki-i3LkNv4L6rIRB02rwYWVN9pXp5ATUCH8742ESdvZ0ODMx0GFFiIZoZdegKfgzUrkWPEf2VpiQA246TRbfkPypTmK-Mp1JNqEf2Ojn48hfecRoPSkWdzs_drubEkLiFOkMuPZn54gIryJmayOYLXZw3eWhLULsqiQFPFr9dFcJW47iCOV8QjelinqkrM02JhcA&remoteip=57.58.229.233): failed to open stream: operation failed in /hsphere/local/home/hazard/pixel.net.ua/catalog/controller/extension/captcha/google_captcha.php on line 29

 

Нашёл эту строку №29 она выглядит так:

 

$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']);
	

 

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.