ezh Posted August 24, 2022 Share Posted August 24, 2022 (edited) https://www.sammuke.ee/ Parse error: syntax error, unexpected '$html' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST) in ...../...../..../public_html/classes/controller/Controller.php on line 516 I compared the file with new install and it is 100% same. Exchanged to from distribution. Same problem. What might be the issue? Hacked? Edited August 24, 2022 by ezh (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted August 28, 2022 Share Posted August 28, 2022 You don't tell the Prestashop version so I cannot compare. But anyone who knows a little bit about PHP can understand that there is something wrong in the picture that you show. That line 516 used to contain something like: protected function smartyOutputContent($content) And you replaced it with something that doesn't make sense at all. I don't know what "distribution" you use but Prestashop doesn't distribute such code. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now