WebSite X5Help Center

 
David T.
David T.
User

Syntax error phpmailer.php on line 304  en

Autor: David T.
Visited 1883, Followers 1, Udostępniony 0  

web site error http error 500 turns out to be the fault below

parse error: syntax erroe unexpected [public_html/res/class.phpmailer.php on line 304]

How do I correct this Please

David

Posted on the
3 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
Paul M.
Paul M.
Moderator

Hello David,

In the first instance check that you have PHP correctly installed on your web server.  You need a minimum of PHP version 5.6 in order for WebSite X5 to function properly.

Kind regards,

Paul

https://webx5.pro

Czytaj więcej
Posted on the from Paul M.
David T.
David T.
User
Autor

php verison is 72.7 on server

correct info stored this fault started when I used this version of x5 on 2nd computor instead of using my laptop earlier version of x5

Czytaj więcej
Posted on the from David T.
Incomedia
Stefano G.
Incomedia

Hi David.

If the error you're getting is exactly the one mentioning this:

syntax error unexpected [public_html/res/class.phpmailer.php on line 304]

Then I can confirm that the PHP version is to blame.

Most surely the PHP version running on the server is not really the 7.2 but a much lower one.

Please try and contact your hosting support and mention this issue to them. They should be able to make sure that everything runs correctly for you

Keep me posted here after

Thank you

Stefano

Czytaj więcej
Posted on the from Stefano G.