WebSite X5Help Center

 
Stephen C.
Stephen C.
User

Contact form not working  en

Auteur : Stephen C.
Visité 1064, Followers 1, Partagé 0  

I am getting the following error message when attempting to send a message via the contact form:

Parse error: syntax error, unexpected ':', expecting ';' or '{' in /freeola/users/8/9/sr1730398/htdocs/res/x5engine.php on line 5460

Can you help please?

Posté le
4 RéPONSES - 1 CORRECT
Stephen C.
Stephen C.
User
Auteur

Ah.. I think that the version of php is the reason - I have just remembered that I had the same issue on another domain with this service provider.  Here's the website in question:

www.smltscr.org.uk

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

Yes, I can confirm that PHP is not currently configured to WebSite X5's requirements on that particular server, Stephen.  Thanks for the link.

Your webhost should be able to assist you with this.

Lire plus
Posté le de Paul M.
Stephen C.
Stephen C.
User
Auteur

I have miraculously managed to resolve my problem without resouce to my service provider by placing theis line in my .htaccess file

AddHandler application/x-httpd-php73 .php

I thought that it might be a useful tip for others?

Lire plus
Posté le de Stephen C.