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:

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   1793 Views

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.


Community Member, 23 Posts

21 May 2010 at 4:06am

see this previous post on a similar problem

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.