jonmbake / bootstrap3-contact-form

Bootstrap 3 Contact Form with Captcha
MIT License
169 stars 84 forks source link

Issue With Form Dont Finish sending email and dont display sucess massage #23

Open prasathrp opened 8 years ago

prasathrp commented 8 years ago

Issue With Form Dont Finish sending email and dont display sucess massage. form-errror

jonmbake commented 8 years ago

Looks to be an issue with setup. Please provide more information, specifically what the response looks like from the POST to sendmail.

prasathrp commented 8 years ago

When I Submit Its Just Like Above Picture Sending.. But No Im getting error But How ever thanks For Reply.....:)

Backbone666 commented 8 years ago

I get the same issue as prasathrp and get this in the chrome console:

jquery.min.js:6 POST http://www.example.co.uk/library/sendmail.php 500 (Internal Server Error)

contact-form.js:77 Uncaught TypeError: Cannot read property 'message' of undefined
jonmbake commented 8 years ago

Who's your hosting provider? Might be the same issue as https://github.com/jonmbake/bootstrap3-contact-form/issues/24. The message, Cannot read property 'message' of undefined usually means valid JSON was not returned in the response. I can update the code to catch the exception and provide a more meaningful error message... I just have to know where the error is propogating from. @Backbone666 What does the reponse body from the the http://www.example.co.uk/library/sendmail.php request look like? Would it be possible to get a stacktrace from the PHP exception being thrown on the server?

neebong commented 8 years ago

Hi Jonmblake. I too am having the issue with "sending" not completing. But only some of the time, its not happening every time i try and send a contact form. The google console shows the following -

screen shot 2016-10-14 at 22 23 46

Hope you can help

Cheers

neebong commented 8 years ago

Just to add.. ive found the php error log (finally after a log of moaning to my hosting provider) It contains the following when a stuck send happens

join() [function.join]: Invalid arguments passed in /home/autowiiv/public_html/library/sendmail.php on line 46 [14-Oct-2016 18:15:25 America/New_York] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/autowiiv/public_html/library/sendmail.php:46) in /home/autowiiv/public_html/library/sendmail.php on line 9