Form.php returning HTTP ERROR 500

2 replies · opened Jun 2, 2020

Ggeeforce23Jun 2, 2020

I'm having trouwble getting the quick contact form to work.
Test URL : http://www.buyse-electro.be/2020/index2.php
Form.php is located here : http://www.buyse-electro.be/2020/include/form.php

All files from the /include folder and /js folder are copied from the installation files.
All I changed in form.php are the email addresses

When adding following debug line

ini_set('display_errors', 1);

I get the following error :

Parse error: syntax error, unexpected '[' in /data/sites/web/buyse-electrobe/www/2020/include/phpmailer/src/PHPMailer.php on line 304

Any idea what might be causing this problem ? When trying to send the form, the spinner keeps turning, but nothing actually happens & no error msg.

SSemicolon WebSTAFFJun 3, 2020

Hello,

Thank You so much for providing us with the Error Message, as this indicates that your Server's PHP version is less than 5.6. Please make sure that you upgrade your Server’s PHP engine to latest version and this issue will be resolved automatically.

Hope this Helps!

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

Ggeeforce23Jun 3, 2020

Thanks for the solution !

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