WebSite X5Help Center

 
Cynthia G.
Cynthia G.
User

Parse Error On Forms  en

Autor: Cynthia G.
Visitado 1750, Followers 3, Compartido 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.

Publicado en
5 RESPUESTAS
Pcssa .
Pcssa .
Moderator

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

Leer más
Publicado en de Pcssa .
Cynthia G.
Cynthia G.
User
Autor

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.

Leer más
Publicado en de 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.

Leer más
Publicado en de Luca S.
Cynthia G.
Cynthia G.
User
Autor

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.    

Leer más
Publicado en de 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.

Leer más
Publicado en de Riccardo P.