Jump to:

1384 Posts in 493 Topics by 522 members

Themes

SilverStripe Forums » Themes » Themes not working in 2.4?

Discuss SilverStripe Themes.

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

Page: 1 2
Go to End
Author Topic: 3801 Views
  • MaryArena
    Avatar
    Community Member
    1 Post

    Re: Themes not working in 2.4? Link to this post

    Hi, im a new user of silverstripe. i have no problem with the setup of the cms on host. and test a lot of the function too. the point is that i try to use themes downloaded from the silverstripe page. they work pretty good in IE8 but show errors in Opera and Chrome.

    the error is:

    XML parsing failed

    XML parsing failed: syntax error (Line: 79, Character: 0)

    Reparse document as HTML
    Error:
    unexpected start-tag (root element already specified)

    Specification:
    http://www.w3.org/TR/REC-xml/

    76:
    77: </body>
    78: </html><!-- Start of StatCounter Code for Default Guide -->
    79: <script type="text/javascript">
    80: var sc_project=7029593;
    81: var sc_invisible=1;
    82: var sc_security="57665b18";

    Chrome show the site while show a error message on the other hand with Opera you have to click in the "Reparse document as HTML" to see the site. and that is for every time you change/refresh the page.

    wonder if some one can give me a clue/link/update to solve it.

    thanks a lot in advance.

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Themes not working in 2.4? Link to this post

    I fully recommend not sending pages as XML now, remove the xml header from Page.ss and then the whole site won't break in cases like this.

    3801 Views
Page: 1 2
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.