Parse Error On Forms
Auteur : Cynthia G.
Visité 1773,
Followers 3,
Partagé 22
Hi,
I uploaded my website to the server.
When I attempt to use two of the forms I created, I receive the following error message:
Parse error: Syntax error, unexpected $end in /home/website/public_html/test/res/imemail.inc.php on line 81
When I attempt to use a third form I created, I receive a different error message:
Parse error: Syntax error, unexpected $end in /home/website/public_html/test/files/mail_p014_8_00.php on line 35
Any thoughts on how to correct these errors?
Thanks very much for your help.
Cynthia G.
Posté le
. . . PHP 5.x is on server and working ?
Auteur
Hi,
Yes.
My husband got the parse error to go away by inserting slashes before the following lines (79-83) in the imemailinc.php. file as follows:
//else if($this->text == "") {
//$headers .= "Content-Type: text/html; charset=" . $this->charset . "\r\n";
//$headers .= "Content-Transfer-Encoding: 8bit\r\n";
//$msg .= $this->html . "\r\n\r\n";
//}
Cynthia G.
Hello Cynthia,
Can send us the URL of your website? We try to made a test of your form email.
Auteur
Hi Luca,
The form email is now working because my husband modified the imemail.inc file by commenting out the section that was causing the error message. I uploaded the modified imemail.inc file to the server. So, if you were to test the site, you would see that it is working now.
Would you like me to upload the old imemail.inc file to see the error occur? If so, can we please change this interaction to private?
Cynthia G.
Hi Cynthia,
if you want you can set this post as private.
Try to change the script of the sending mail in the "Preference" page of the program.