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.

Installing SilverStripe

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

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

Error Right After Install


Reply

7 Posts   1953 Views

Avatar
zenmonkey

25 February 2009 at 1:58am Community Member, 528 Posts

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

25 February 2009 at 11:09am Community Member, 1 Post

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

27 February 2009 at 10:34am Community Member, 2 Posts

Thanks Sean. That fixed the problem. :)

Cheers,
Mike

Avatar
zenmonkey

2 March 2009 at 12:50pm Community Member, 528 Posts

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

4 March 2009 at 8:51am Community Member, 1 Post

Thanks Sean. That fixed the problem for me too.

Cheers,
J-P

Avatar
mobius

4 March 2009 at 7:43pm Community Member, 54 Posts

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

Avatar
ajshort

4 March 2009 at 7:44pm Community Member, 244 Posts

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.