contact.php on form submit gives 500 error

1 reply · opened Feb 14, 2021

Ssteventran06Feb 14, 2021

I've deployed my test site on Heroku using PHP: stark-dusk-98509.herokuapp.com

Submitting my contact form here does not work, I receive a 500. Please help.

composer.json:
{}

index.php (just points to index.html)
``

Not sure how to make PHP notice the include/contact.php file?

SSemicolon WebSTAFFFeb 15, 2021

Hello,

This appears to be an Error with the Server Configurations or any Customization errors in the include/form.php File.

Firstly, please make sure that your PHP Version is more than 5.6 or preferably the Latest Version.

Secondly, it might be possible that the PHP mail() Function is blocked by your Web Hosting Provider in order to to prevent SPAM. So, it is Highly Recommended to use SMTP Functionality: http://docs.semicolonweb.com/docs/forms/form-setup/#docs-snippet-php for Forms as it ensures that the Mails are delivered securely.

Please check these 2 issues above and if you are still facing further issues, then please consider adding the .customjs Class to the .form-widget Element and then following code at the very top of your include/form.php File:

error_reporting(E_ALL);

which should display all the possible errors. Please notify us about the Error Message you see, after going through the process above, so that we can provide you with more assistance on this. Thanks for your Patience.

Meanwhile, 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