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.

Themes

Discuss SilverStripe Themes.

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

Themes not working in 2.4?


Reply

10 Posts   3832 Views

Avatar
MaryArena

16 July 2011 at 5:54am Community Member, 1 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.

Avatar
Willr

16 July 2011 at 1:50pm Forum Moderator, 5511 Posts

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.