Question

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):

http://pastebin.com/CzGbybYZ

Thanks.

Était-ce utile?

La solution

My guess? Short tags aren't enabled, meaning the <? } ?> is not recognised as your "end of code block". Use <?php } ?> instead.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top