PHP Parse error: syntax error, unexpected T PUBLIC, expecting ',' or ';' in
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Пример ошибки
12-May-2015 06:26:23] PHP Parse error: syntax error, unexpected T_PUBLIC, expecting ',' or ';' in /home/user/public_html/classes/_class.config.php on line 11 [12-May-2015 06:26:24] PHP Parse error: syntax error, unexpected T_PUBLIC, expecting ',' or ';' in /home/user/public_html/classes/_class.config.php on line 11
Решение - проверить в файле classes/_class.config.php чтобы все было в кавычках:
public $SYSTEM_START_TIME = "1431056769";