WebSite X5Help Center

 
Květa P.
Květa P.
User

An e-mail form does not work  en

Auteur : Květa P.
Visité 2366, Followers 2, Partagé 0  

I used WebSite X5 Ev. 10, now I use WebSite X5 Ev. 11, transfer from version 10 to 11 was OK. But I have one problem. I have an e-mail form on my www pages at it does not work now. With the version 10 it was OK. When enybody fills my form a sends it, this report appears: 

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in D:\www\pes\vruzovemsaducz\www\res\x5engine.php on line 2358 

Thank you for your hepl

Kveta

Posté le
5 RéPONSES
Janiz C.
Janiz C.
User

same problem:

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /htdocs/res/x5engine.php on line 3024

Lire plus
Posté le de Janiz C.
Paul M.
Paul M.
Moderator

Hello Květa & Ianiz,

That error message usually indicates that your webhost has an older version of PHP on the server.  WebSite X5 requires PHP 5 to run correctly:

http://www.websitex5.com/en/system-requirements.html

Contact your webhost with this information and they may be able to upgrade the PHP version for you.

Kind regards,

Paul

 

Lire plus
Posté le de Paul M.
Julio Arturo R.
Julio Arturo R.
User

In www.utesco.org this problen

Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/domains/utesco.org/web/res/x5engine.php on line 2358

Lire plus
Posté le de Julio Arturo R.
Julio Arturo R.
Julio Arturo R.
User

help me

Lire plus
Posté le de Julio Arturo R.
Anthony A.
Anthony A.
User

As Paul said

This is a resault of the servers not realy up to date and with little bit unusual setings.

normaly your roots should show:

/home/(your cpanel name or domain)/public_html/res/x5engine.php

or

/home/(your cpanel name or domain)/public_html/www/res/x5engine.php

I suggest to contact your host to update your php to 5.x or switch to another server.

you are more than welcome to switch to NuluHost, you will get 6 months free with promo code: usx56m

if this post is the correct answer, please mark this answer as correct answer.

------------------------------------------------------------

Good Luck
http://www.nuluhost.com (6 months free Web Host for x5 users, promo code: usx56m)
http://www.wdesigners.us
http://www.usx5.com (Templates and support for x5)

Lire plus
Posté le de Anthony A.