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 in 2.3.0 fresh installation - attributes construct error


Reply

2 Posts   2317 Views

Avatar
ianpiper

6 March 2009 at 10:51pm Community Member, 32 Posts

Hi,

I am seeing an error on certain admin pages after a fresh installation of v2.3.0. The error message is in a flash message at the top of the page (which in other respects renders fine) saying:

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

The line and column numbers vary, but otherwise the message is the same. It seems to happen mainly on the login page.

Any ideas what might be happening?

Ian.
--

Avatar
ianpiper

7 March 2009 at 12:36am (Last edited: 7 March 2009 12:51am), Community Member, 32 Posts

I think I may have found the problem, and it seems to be one that was reported earlier:

http://silverstripe.org/installing-silverstripe/show/254754

So I made the suggested changes in sapphire/core/ContentController.php and the error has gone away.

I suppose I am still struck by the fact that others have not seen this problem. The error is even worse on Firefox (the error I reported comes up in Safari), to the extent that the page is completely broken. Is this problem limited to the Mac?

Ian.