Jump to:

4949 Posts in 13939 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Error Right After Install

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

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

Page: 1
Go to End
Author Topic: 1926 Views
  • zenmonkey
    Avatar
    Community Member
    527 Posts

    Error Right After Install Link to this post

    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?

  • digitalsean
    Avatar
    Community Member
    1 Post

    Re: Error Right After Install Link to this 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

  • mweichert
    Avatar
    Community Member
    2 Posts

    Re: Error Right After Install Link to this post

    Thanks Sean. That fixed the problem.

    Cheers,
    Mike

  • zenmonkey
    Avatar
    Community Member
    527 Posts

    Re: Error Right After Install Link to this post

    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

  • idrejected
    Avatar
    Community Member
    1 Post

    Re: Error Right After Install Link to this post

    Thanks Sean. That fixed the problem for me too.

    Cheers,
    J-P

  • mobius
    Avatar
    Community Member
    54 Posts

    Re: Error Right After Install Link to this post

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

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Error Right After Install Link to this post

    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.

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