The exact same thing has happened to my site phBB3 board. I restored everything I could from a backup but when a user clicks on a topic I get:
Parse error: parse error, unexpected $ in ../FORUMS/cache/tpl_prosilver_viewforum_body.html.php on line 166
I tried deleting everything in the cache starting with tpl_prosilver_
But then I get:
Parse error: parse error, unexpected $ in ../FORUMS/includes/template.php(166) : eval()'d code on line 166
So I restored all the include PHP files in the phpBB3\includes folder. Then I get the above error again!
I also tried logging in as the Administrator but get:
Parse error: parse error, unexpected '}' in ../FORUMS/cache/ctpl_admin_overall_header.html.php on line 182
When I delete that file and retry I get the same.
How can I fix this?