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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Themes /

Discuss SilverStripe Themes.

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

Themes not working in 2.4?


Go to End


10 Posts   5167 Views

Avatar
MaryArena

Community Member, 1 Post

16 July 2011 at 5:54am

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

Forum Moderator, 5523 Posts

16 July 2011 at 1:50pm

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.

Go to Top