Contact form Spins...and spins, and spins... nothing happens.

4 replies · opened Feb 26, 2017

AawebwizardFeb 26, 2017

can you please help me? I have been trying for over 9 hours to trouble-shoot the contact form, reviewing your other questions and answers and I just can't get this to work. When I submit the form, an arrow spins forever and nothing happens.

Is this the same issue where my clients server is blocking the PHP request?

I bought TWO of your themes, the first was no problem with bluehosting, but now this one won't work.

Please HELP.. http://maplecrestlandscape.com/2017/contact.html
-Melanie
awebwizard@gmail.com

DdaihloFeb 26, 2017

Using Chrome inspector under the network tab you can see the ajax data sent and the response:

<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: phpmailer in <b>/homepages/19/d346347108/htdocs/public_html/2017/include/sendemail.php</b> on line <b>18</b><br />

Line 18 of sendemail.php instantiates the phpmailer class [$mail = new PHPMailer();] which relies on the phpmailer/PHPMailerAutoload.php.
This file is not being found by sendemail.php when it tries to include it on line 3:

require_once('phpmailer/PHPMailerAutoload.php');

Make sure that file is there and see what happens afterwards.

AawebwizardFeb 28, 2017

Hi, I deleted the file, and re-upload it again to assure it is in the correct place (see screenshot).
It is there - but still says can't be found - what do i do next to trouble shoot ?
Please help, -Melanie
SEE SCREENSHOTS:

DdaihloFeb 28, 2017

It looks like the file (include/phpmailer/PHPMailerAutoload.php) is there in your remote file system.
It could be that your web host does not have paths setup correctly, so you may have success if you put the full path into the sendemail.php:

on line 3, change require_once('phpmailer/PHPMailerAutoload.php'); to:

require_once('/homepages/19/d346347108/htdocs/public_html/2017/include/phpmailer/PHPMailerAutoload.php');

If this works, it's likely your host needs to setup relative paths, or you may find problems like this cropping up all over the place.

Source:
https://sourceforge.net/p/phpmailer/mailman/message/3100569/

Hope this helps :)

(I don't work here btw, I was just bored waiting 3 days for a response to my ticket ^^)

SSemicolon WebSTAFFMar 10, 2017

Hello,

Thanks for your Patience!

There definitely appears to be an Issue with the Web Hosting Environment and there are 3 possible errors:

  1. All the Files are not uploaded successfully to the Server. Or:

  2. The Path are not defined properly on your Servers. Or:

  3. PHPMailer is blocked on your Servers.

Please consider contacting your Web Hosting Provider regarding this issue. 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