Answer the question
In order to leave comments, you need to log in
Error 500 occurs when installing modules, why?
Already repeatedly when trying to install any module, a message appears (at first)
syntax error unexpected token in json at position 0 ftp_nlist.....
[25-Apr-2018 00:30:24 Europe/Moscow] PHP Parse error: syntax error, unexpected 'private' (T_PRIVATE) in /home/s/ser103jb/upgrade33.ru/public_html/catalog/controller/common/header .php on line 2
Answer the question
In order to leave comments, you need to log in
1 error is similar to the standard error when loading modules without ftp setup. Here is the fix
1. If you see along the paths, then this is an error already from the modified file, which has been modified with ocmod or vqmod, the syntax error says that somewhere there is a syntax error with the private function.
Solution: go to this file and find the lines where the error is, find this piece of code in the installed modifiers, disable this modifier, clear the cache, and try to install any module through the standard loader, if everything goes well, then feel free to go edit the code in the file that makes conflict
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question