Reputation: 37
I had a website but is currently gone but I always had a back-up that worked on my hosting always.. I tried setting my website up on XAMPP but I keep getting the error: Parse error: syntax error, unexpected end of file.. I tried closing brackets but it didn't work. Can you guys please help me where the problem is? This is the index.php of my template where I'm getting it(backend of Joomla is doing fine):
Thanks.
Upvotes: 1
Views: 976
Reputation: 324750
My guess? Short tags aren't enabled, meaning the <? } ?>
is not recognised as your "end of code block". Use <?php } ?>
instead.
Upvotes: 5