Events Made Easy › Forums › Generic › Error using Booking/RSVP form on an Event page
- This topic has 6 replies, 3 voices, and was last updated 6 years, 3 months ago by Franky.
-
AuthorPosts
-
Thu 10 May 2018 at 01:04 #57996AnonymousInactive
Hi there, I’m rather new to EME. I was trying to set up booking/rsvp emails on events and testing out the functionality when I ran into the error below. I filled out the booking form, and clicked submit, and I get this:
”
An error has occurred
Warning: stream_socket_enable_crypto(): Peer certificate CN=*.sgcpanel.com' did not match expected CN=
localhost’ in /home/commu087/public_html/wp-includes/class-smtp.php on line 368
{“Result”:”OK”,”keep_form”:1,”htmlmessage”:”Your booking has been recorded
Warning: there was a problem sending you the registration mail, please contact the site administrator to sort this out”} : SyntaxError: Unexpected token < in JSON at position 0
”Is this a simple fix? I tried putting `*.sgcpanel.com’ (without single quotes) into the SMTP host field in Mail Settings (where ‘localhost’ was) after reading that first part of the warning, which resulted in this:
”
Your booking has been recorded
Warning: there was a problem sending you the registration mail, please contact the site administrator to sort this out
”Let me know what other info might help.
Thu 10 May 2018 at 08:27 #57997Thu 10 May 2018 at 17:56 #58000AnonymousInactiveHi Franky, thanks for the reply.
This hasn’t worked. I deactivated the ‘verify smtp certifications’ option and it still came up with the message.
I’ve activated the debug SMTP option, and am getting a little more info on the second error message above:
”
An error has occurred2018-05-10 15:47:32 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting 2018-05-10 15:47:32 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting {“Result”:”OK”,”keep_form”:1,”htmlmessage”:”Your booking has been recorded
Warning: there was a problem sending you the registration mail, please contact the site administrator to sort this out”} : SyntaxError: Unexpected number in JSON at position 4
”I’ve been visiting the url listed in the error… I’m beginning to think that its a firewall setting somewhere since I’m not receiving Contact Form emails from another WP add-on either. I’ll have to do more research to see how to fix this, anything you know about it would be welcome, though.
Thu 10 May 2018 at 18:34 #58001FrankyKeymasterIf you’re still using *.sgcpanel.com as mailserver, then this is normal. That’s not a valid SMTP mailserver address. My
solution was concerning your certificate issue. Change it back to localhost or ask your provider for the hostname to use.
Also, don’t forget to deactivate the debugging again.Thu 10 May 2018 at 18:42 #58002AnonymousInactiveI’ve currently got my mail server from Siteground as the SMTP host now, working on a 550-permissions error which seems to be something about spam settings on the hosting side.
Thu 9 Aug 2018 at 15:21 #58265AnonymousInactiveHi Franky!
I have this error showing up when someone fills out the form, however, on our end the person is registering just fine. Is there a way to fix this warning?
I looked at https://wordpress.org/support/topic/booking-form-stuck-at-loading/, however, I think i have it set up correctly. Thoughts?
Error: http://tinypic.com/r/24azzbr/9
Backend: http://tinypic.com/r/2q2fyj9/9Thu 9 Aug 2018 at 16:23 #58267FrankyKeymasterUnrelated to the original post. Please read https://www.e-dynamics.be/wordpress/forums/topic/forum-post-guidelines/ (and in your case: check your SMTP settings and send a test mail).
-
AuthorPosts
- The forum ‘Generic’ is closed to new topics and replies.