WebSite X5Help Center

 
Karen B.
Karen B.
User

Email Form Not Working Evo 11  en

Autor: Karen B.
Besucht 2407, Followers 1, Geteilt 0  

Hello,

          I have created a website using version 11 but have found that the email form and captcha are not working when I tested it. I have read through other questions relating to this but cannot find the answer.

I still have a website created with version 8 and all is well.

This is the message and new page that comes up after clicking the 'send' button on the live site:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in D:\hshome\karenben\opuntia-company.com\res\x5engine.php on line2366

I have contacted the host and asked if could they could advise whether or not WebSite X5 mail should work correctly on their servers given the operating requirements: http://www.websitex5.com/en/system-requirements.html  and said that PHP MAIL command must be active. 

The guy said: I would like to inform you that I have enabled display_errors directive for your domain so now you may see error that your site return. "unexpected T_STATIC" error is related to the fact that you are using a version of PHP that is older than PHP 5.3. Also I have successfully sent test email message from my test PHP script. Please check it: http://opuntia-company.com/phpmail.php

I told him that its strange that the previous version of the software which I am still using for another site, the contact form works

So he replied with:Maybe previous versions of the software does not require PHP5+

Can anybody help with this?

Thank you

Gepostet am
4 ANTWORTEN - 1 KORREKT
Incomedia
Claudio D.
Incomedia

Hello Karen,

The previous Version of the program didn't reuqire PHP 5 but in Version 11 it is necessary to have PHP 5 and the error you get depends on the fact you don't have on your hosting provider PHP 5 but an older version.

Contact your hosting provider to ask how to upgrade to PHP 5 and once done the mail fomr will work again.

Many thanks!

Mehr lesen
Gepostet am von Claudio D.
Karen B.
Karen B.
User
Autor

Hello Claudio,

                    Thank you for that, I will contact them :)

Mehr lesen
Gepostet am von Karen B.
Karen B.
Karen B.
User
Autor

Hello Claudio,

                   I was advised to upgrade to the new control panel which supported php 5+ This meant that I also had to change name servers (with the same hosting company) I cannot test the email form at this time as I have to allow time for this change to update (the website is showing as 'under construction) but will update here as soon as I can test it.

Thank you

Karen :)

Mehr lesen
Gepostet am von Karen B.
Karen B.
Karen B.
User
Autor

Hello again Claudio, 

                             Just wanted to say thank you for your help, I have tested the email form this morning and all is working well :)

Karen

Mehr lesen
Gepostet am von Karen B.