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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Parse error: syntax error, unexpected '}'


Go to End


2 Posts   2394 Views

Avatar
skt

Community Member, 7 Posts

12 August 2008 at 3:39am

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

Forum Moderator, 5523 Posts

12 August 2008 at 11:52am

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