Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top