Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Parse error: syntax error, unexpected '}'


Reply

2 Posts   1700 Views

Avatar
skt

12 August 2008 at 3:39am Community Member, 7 Posts

I'm new to CMS in general, but well-versed in building pure-CSS-based sites. I'm attempting to convert such a site to SS by creating a theme from it. Not sure if this is the right approach. The error I'm getting is:

Parse error: syntax error, unexpected '}' in /tmp/silverstripe-cache-home-sktde2-public_html-site1/.cache.home.sktde2.public_html.site1.themes.stella.templates.Page.ss on line 92

No idea what the issue is, or if I have provided enough info; any help would be greatly appreciated.
Thanks,
ST

Avatar
Willr

12 August 2008 at 11:52am Forum Moderator, 5511 Posts

You have got something wrong in your Page.ss syntax. Try and strip out code bit by bit to see what line is causing the error as I think line 92 refers to the line after its compiled but start by looking at line 92 and seeing if theres anything that could be causing the error