Contact Form Not Working

6 replies · opened Sep 2, 2020

Nniltac88Sep 2, 2020

Hi,
The contact form on the bottom of the page is not working on my site, I have looked through your forum and can see you have helped others with this issue. I am going to try using the SMTP like you have suggested to others, I just wanted to clarify on this part:

$mail->Password = “yourpassword”;

This is the password for the email, is that correct?

Thanks,

Sarah

SSemicolon WebSTAFFSep 2, 2020

We have checked out your Website and it returns a 500 Internal Server Error which indicates that this is a Server Issue.

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

Secondly, as you are trying to use SMTP, first make sure that your SMTP Servers are up and running. The Password indicated is indeed for the Email Password.

If you are still facing further issues, then please consider adding the .customjs Class to the .form-widget DIV and then the following code at the very top (just after the php open tag) of your include/form.php File:
[ch_pre type="php"]error_reporting(E_ALL);[/ch_pre]

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.

Nniltac88Sep 6, 2020

Hi,
I haven't done the SMTP bit yet as I thought I would do the bit you suggested for the error reporting. Now the form doesn't work at all. When you submit the form it tries to open the .php file as a page.. What am I doing wrong?!

SSemicolon WebSTAFFSep 7, 2020

According to the errors you have mentioned, there appears to be some issue with PHP. Can you please provide us with FTP Access in a Private Reply so that we can check out the exact issue and try fixing this for you.

Thanks for your Patience.

Nniltac88Sep 7, 2020

Hi,
Thank you for getting back to me. You can use these details:

FTP Username: SemiColon@lunaglo.co.uk
FTP server: ftp.lunaglo.co.uk
FTP & explicit FTPS port: 21
Password: 497]T@&KN]X5

The file I am using in index-luna.html rather than the index.html so I can fix the form before going live.

Thanks again for your help with this.

Sarah

SSemicolon WebSTAFFSep 7, 2020

Thanks for the FTP Access. The issue was that the include/phpmailer Folder was missing which is required for the Forms Processor.

We have uploaded this Folder and fixed your issue. And it is running fine for us when testing your Page: http://lunaglo.co.uk/index-luna.html .

Hope this Helps!

Nniltac88Sep 7, 2020

Amazing!! Thank you so much for your help :-)

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