Contact form not sending email

8 replies · opened Jan 24, 2020

SSoBuenoJan 24, 2020

Hello Canvas Team,

Thank you for creating such an awesome theme. It really is a nice complete HTML theme.

I am having trouble getting my contact form to send out any emails.

Here is the link to my contact form. http://www.cultbranding.com/test/contact-form.html

I added the SMTP code as mentioned in the Documentation included but still nothing.

Thanks for your help.

Best,
Salim

SSemicolon WebSTAFFJan 25, 2020

Hello,

Thank You so much for the Kind Words! :)

We have checked out your Website and the issue appears to be with your SMTP Settings as the error message we receive is: Username and Password not accepted. You can check this by simply adding the .customjs Class to the .contact-widget DIV.

Additionally, you are using a very old version of Canvas. Make sure that you update your Website to the Latest Version of Canvas to avoid any unexpected issues.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

SSoBuenoJan 26, 2020

Hello,

I updated my files to the latest canvas. Thanks for the suggestion.

Unfortunately, I am still not able to send out a contact email. Here is the site http://www.cultbranding.com/test/contact-form.html

After I upgraded I am getting this error message when I click on submit in the contact form.

Fatal error: Uncaught Error: Call to undefined function json_decode() in /home2/ab5774/public_html/test/include/sendemail.php:78 Stack trace: #0 {main} thrown in /home2/ab5774/public_html/test/include/sendemail.php on line 78

Any idea where I went wrong?

SSemicolon WebSTAFFJan 28, 2020

Hello,

Your Forms are still at the Older Version. The Latest Version of Canvas uses include/form.php File. Making Partial Updates will cause unexpected errors, which is why it is recommended to completely update to the Latest Version.

Regarding the error, this occurs when using Google reCaptcha. Your PHP Version does not include JSON Module for PHP which is Highly Recommended. Please contact your Web Hosting Provider to install this for you.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

SSoBuenoJan 28, 2020

Ok. I updated the forms and I was able to get the contact form to send out emails.
Thank you!

Now I am having trouble with the reCaptcha. The form is not working, it times out when I use the ReCaptcha.

I had the Web Host provider enable the JSON module like you recommended and had them update our PHP to version 7.1.

The web host ran some error logs and they found the following error:

Failed loading /opt/ioncube/ioncube_loader_lin_7.1.so: /opt/ioncube/ioncube_loader_lin_7.1.so: undefined symbol: zend_interrupt_function, referer: http://cultbranding.com/test/contact-form.html

It seems like Google is not receiving the ReCaptcha code. I am getting this error from google Recaptcha admin site. "We detected that your site is not verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site."

Thanks again for the help.

SSemicolon WebSTAFFJan 30, 2020

Hello,

Thank You for updating Canvas to the Latest Version as this would ensure that you have everything at the latest versions and updated increasing flexibility.

  1. Regarding the issue with this:
    Failed loading /opt/ioncube/ioncube_loader_lin_7.1.so: /opt/ioncube/ioncube_loader_lin_7.1.so: undefined symbol: zend_interrupt_function, referer: http://cultbranding.com/test/contact-form.html

This does not appear to be an issue with Canvas as there are no codes in Canvas that would trigger this. This appears to be an issue with your WordPress Installation.

  1. Regarding the Google reCaptcha not working, it appears to be an issue with CURL not enabled in your PHP. Again, in this case you will need to contact your Web Hosting Providers and ask them to enable CURL for your Servers.

This should definitely fix the issue. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

SSoBuenoFeb 3, 2020

Hello again,

I am having problems with the contact form sending again, even without the Recaptcha.

Here is the current link where the form is at. http://cultbranding.com/contact-form.html

Not sure what is the problem.

Thanks for the help.

SSoBuenoFeb 4, 2020

Hey, I was able to figure the problem out. please disregard.

SSemicolon WebSTAFFFeb 4, 2020

Hello,

Glad that your issues were resolved.

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard