Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Parse error: syntax error, unexpected '}'

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

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

Page: 1
Go to End
Author Topic: 1683 Views
  • skt
    Community Member
    7 Posts

    Parse error: syntax error, unexpected '}' Link to this post

    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.

  • Willr
    Forum Moderator
    5508 Posts

    Re: Parse error: syntax error, unexpected '}' Link to this post

    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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.