Contact form not working
Author: Stephen C.
Visited 1450,
Followers 1,
Shared 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?
Posted on the
Hello Stephen,
WebSite X5 requires a minimum of PHP version 7.1 to be installed and configured correctly on the server:
What are the minimum requirements for the server?
Does your server comply with these requirements?
Could you provide a link to the website in question please?
Many thanks!
Paul
Search the WebSite X5 Help Center
Author
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
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.
Author
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?