WebSite X5Help Center

 
Cynthia G.
Cynthia G.
User

Parse Error On Forms  en

Author: Cynthia G.
Visited 1747, Followers 3, Shared 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.

Posted on the
5 ANSWERS
Pcssa .
Pcssa .
Moderator

. . . PHP 5.x is on server and working ?

Read more
Posted on the from Pcssa .
Cynthia G.
Cynthia G.
User
Author

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.

Read more
Posted on the from Cynthia G.
Luca S.
Luca S.
User

Hello Cynthia,

Can send us the URL of your website? We try to made a test of your form email.

Read more
Posted on the from Luca S.
Cynthia G.
Cynthia G.
User
Author

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.    

Read more
Posted on the from Cynthia G.
Incomedia
Riccardo P.
Incomedia

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.

Read more
Posted on the from Riccardo P.