WebSite X5Help Center

 
Bernard P.
Bernard P.
User

When recapture enabled the messages from the contact form do not send.  en

Autor: Bernard P.
Visitado 1321, Seguidores 1, Compartilhado 0  

when adding nthe google ReCapture to my online contact form the messages do not send.

I assumed this is because the google code is incorrect so I created another set of cyphers, but still can not send the form, if I dont add the reCapture the forms send OK

will websits X5 be using recapture v3 

or we only able to use V2

regards Bernard

Publicado em
5 RESPOSTAS - 1 CORRIGIR
Aleksej H.
Aleksej H.
Moderator

Hello. Here is an example with a form and reCAPTCHA type:v2 Checkbox https://test5.aleksius.com/contact.html As you can see, everything is fine.
There may be something wrong with your keys or reCAPTCHA settings. Perhaps there is third-party code on the page. Please provide a link to the site page with the form.

"will websits X5 be using recapture v3" - at the moment there is only v2 or built-in captcha.

Ler mais
Publicado em de Aleksej H.
Bernard P.
Bernard P.
User
Autor

Hello Aleksej, Thank you for your reply

The web address is https://www.si-tech.com.hk/contact-us.html

As another note, I was able to use the websiteX5 built in Capture and it worked OK.

The  Google ReCapture was working previously, so I opened the very old site information and loaded that but it still failed. I tried it on 2 servers, Fedora & Centos stream 9

Regards

Bernard

Ler mais
Publicado em de Bernard P.
Aleksej H.
Aleksej H.
Moderator

I tried to send an email through your form. After clicking on the "Submit" button, nothing happened. Do you see any errors in the server logs? What version of PHP do you have on the server?

I sent a notification about your question to the company employees, expect an answer from them here in the comments.

Ler mais
Publicado em de Aleksej H.
Bernard P.
Bernard P.
User
Autor

Hello Aleksej,

I checked the logs before and after trying to send a nessage.

I dont see any errors in the log relating to this.

I have PHP 8.0.27

Ler mais
Publicado em de Bernard P.
Bernard P.
Bernard P.
User
Autor

Hello Aleksej,

I found an error showing in Selinux access controll.

The fix I applied 

setsebool -P httpd_can_network_connect 1
setsebool -P httpd_can_network_relay 1
ausearch -c 'php-fpm' --raw | audit2allow -M my-phpfpm
semodule -X 300 -i my-phpfpm.pp

Now the mail is working correctly, allbe it a bit slow but working

Ler mais
Publicado em de Bernard P.