WebSite X5Help Center

 
Ed M.
Ed M.
User

Mail form not working  en

Автор: Ed M.
Просмотрено 1144, Подписчики 1, Размещенный 0  

Hi, I uploaded my site to Bluehost and tried to send mail from my contact page and got a 500 error. I checked the error log and see:

Nutritionresq.com

[14-Mar-2019 15:14:07 UTC] PHP Parse error: syntax error, unexpected end of file, expecting ')' in /home1/mynutrk6/public_html/res/access.inc.php on line 8

How do I fix this?

Размещено
3 Ответы
Aleksej H.
Aleksej H.
Moderator

Hello.I recommend you enable on server PHP 7.1 for your site.

Читать больше
Размещено От Aleksej H.
Ed M.
Ed M.
User
Автор

How would that help a syntax error?

Читать больше
Размещено От Ed M.
Aleksej H.
Aleksej H.
Moderator

This will allow your hosting to correctly understand what is written in the files of your site.

For correct work sites on WebSite X5 Evolution 17 your hosting should be at least PHP 5.6.

Have you tried changing PHP to 7.1?

P.S. It is also worth noting that PHP 7 is faster than 5.

Читать больше
Размещено От Aleksej H.