Events Made Easy Forums Generic Error using Booking/RSVP form on an Event page

Tagged: , ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #57996
    Anonymous
    Inactive

    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.

    #57997
    Franky
    Keymaster
    #58000
    Anonymous
    Inactive

    Hi 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.

    #58001
    Franky
    Keymaster

    If 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.

    #58002
    Anonymous
    Inactive

    I’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.

    #58265
    Anonymous
    Inactive

    Hi 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/9

    #58267
    Franky
    Keymaster

    Unrelated 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).

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top