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:

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Error Right After Install


Go to End


7 Posts   2332 Views

Avatar
zenmonkey

Community Member, 545 Posts

25 February 2009 at 1:58am

I'm getting the following error right after a new clean install on Dreamhost

This page contains the following errors:
error on line 45 at column 500: attributes construct error
Below is a rendering of the page up to the first error.

Any Ideas?

Avatar
digitalsean

Community Member, 1 Post

25 February 2009 at 11:09am

This looks like the error that Safari gives when it encounters problems with xml parsing of the html returned by a page.

Viewing the same page in firefox, the error shown is "XML Parsing Error: not well-formed", and it also indicates where the problem is in the web page source.

There seems to be some problems with the quoting generated from this file:

sapphire/core/control/ContentController.php:

lines 247, 252, 257
Where the text 'Note: this message won\'t be shown to your visitors' appears.

I found the simplest solution is to replace each instance of "won\'t" with "will not" on these three lines

The quoting of the div title uses single quotes and then has a single quote in the middle.

--
Sean Farrell

Avatar
mweichert

Community Member, 2 Posts

27 February 2009 at 10:34am

Thanks Sean. That fixed the problem. :)

Cheers,
Mike

Avatar
zenmonkey

Community Member, 545 Posts

2 March 2009 at 12:50pm

Made the change and I'm still getting and error, this time in a different spot.

According to to Firefox its

Line Number 22, Column 76:

I think I'll just install the older version

Avatar
idrejected

Community Member, 1 Post

4 March 2009 at 8:51am

Thanks Sean. That fixed the problem for me too.

Cheers,
J-P

Avatar
mobius

Community Member, 54 Posts

4 March 2009 at 7:43pm

replacing with " works well too...
is there a bug tracker we can file these things against?

Avatar
ajshort

Community Member, 244 Posts

4 March 2009 at 7:44pm

There is a bug-tracker @ open.silverstripe.org - but this specific bug has already been fixed in the 2.3 branch, and will be present in the next 2.3 minor release.