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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Solution Found: help! db/build breaks website


Go to End


3 Posts   1865 Views

Avatar
Super Coffee

Community Member, 2 Posts

20 May 2010 at 1:41pm

Edited: 21/05/2010 8:32am

I am trying to install the gallery module for in silverstripe 2.4. When I upload the folder for gallery into the root directory of my site, then run the db/build, I can no longer access my CMS control panel. I just typed in db/build after the site name in my address bar after logging in as the administrator. The following error is also displayed at the top of every page.

Notice: DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead. in /home/crabcr5/public_html/sapphire/core/model/DataObjectDecorator.php on line 60

I am new to this whole CMS thing, and I don't really know much about how to use it. Could someone tell me how to install this gallery module without breaking my site? And how to fix my site without reinstalling it. I've already done that twice now.

Avatar
michaelhmm

Community Member, 23 Posts

21 May 2010 at 4:06am

see this previous post on a similar problem

http://www.silverstripe.org/all-other-modules/show/283120#post283120

Avatar
Super Coffee

Community Member, 2 Posts

21 May 2010 at 8:32am

Ok thanks. This is the fix. Now all is good on my site.