Simple enough, I've done that and now, in the browser I get:
Parse error: syntax error, unexpected T_STRING in /home/drill45/public_html/get_started_step_5.php on line 95 |
I stumbled past the above error by deleting test in line 95 & 96. Now I'm getting the below error that looks like to phpMailer didn't install files in the correct places.
Warning: require(PHPMailer-master/lib/PHPMailer/PHPMailerAutoload.php) [function.require]: failed to open stream: No such file or directory in /home/drill45/public_html/get_started_step_5.php on line 55 Warning: require(PHPMailer-master/lib/PHPMailer/PHPMailerAutoload.php) [function.require]: failed to open stream: No such file or directory in /home/drill45/public_html/get_started_step_5.php on line 55 Fatal error: require() [function.require]: Failed opening required 'PHPMailer-master/lib/PHPMailer/PHPMailerAutoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drill45/public_html/get_started_step_5.php on line 55 |
Like I said above, the PHPMailer didn't have a lib folder, so changed the require in line 55 to point to the PHPMailerAutoLoad.php file in the root of PHPMailer-master. I am now getting a different error in the browser. It initially loads the page with:
Message could not be sent. Mailer Error: Message body empty When I fill in the to input fields and click submit, in the browser it can't find a page called, http://www.drill4waterequipmentleasing.com/email.php I can't find that page anywhere on the site. The form does not deliver the email either. |
I've been gone for a while today and are just now getting back to this. I'm guessing the email.php is a generic name that needs to be replaced by the real file name that you use for the site. In the script, I changed it to point to the file name and when you hit submit it just goes back to the page and clears the content of the input fields.
But it still shows at the bottom of the page: Message could not be sent. Mailer Error: Message body empty And the form email is not sent. I would think it should go to a page that says the message was successfully sent. I know I'm close on this and would really appreciate a little help getting over this hump. Bart |
0
|
I have noticed that you are attempting to insert PHP code within an HTML file. To allow the file to use PHP within it, you will need to change the file extension from a .html file to a .php file. Currently the file name is: http://www.drill4waterequipmentleasing.com/get_started_step_5.html Which will need to be changed to: http://www.drill4waterequipmentleasing.com/get_started_step_5.php |
Email: | support@WebHostingHub.com | Ticket: | Submit a Support Ticket |
---|---|---|---|
Call: | 757-416-6627 | Chat: | Click To Chat Now |