WebSite X5Help Center

 
Bernard P.
Bernard P.
User

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

Autore: Bernard P.
Visite 1418, Followers 1, Condiviso 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

Postato il
5 RISPOSTE - 1 CORRETTO
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.

Leggi di più
Postato il da Aleksej H.
Bernard P.
Bernard P.
User
Autore

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

Leggi di più
Postato il da 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.

Leggi di più
Postato il da Aleksej H.
Bernard P.
Bernard P.
User
Autore

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

Leggi di più
Postato il da Bernard P.
Bernard P.
Bernard P.
User
Autore

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

Leggi di più
Postato il da Bernard P.