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.

Blog Module /

Discuss the Blog Module.

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

Build error installing Blog


Go to End


3 Posts   1217 Views

Avatar
sebjepb

Community Member, 5 Posts

12 October 2011 at 7:44pm

Edited: 13/10/2011 1:38pm

Trying to install blog on CMS 2.4 with mssql database .

Fatal error: Class 'WidgetArea' not found in E:\SilverStripeCMS\ss24\blog\code\BlogHolder.php on line 118

when doing a build?flush=all

I'm obviously missing something ?

*** Answer ***

Hmm found by copying widgetarea.php from ...themes/../css/widget into ...blog/code/widgets did the trick not sure why it didn't pick them up from themes or why they got put into themes area.

Avatar
Willr

Forum Moderator, 5523 Posts

17 October 2011 at 10:02am

You shouldn't have any PHP at all in your theme as SilverStripe won't process any PHP classes in your themes dir, likely they accidentially got copied into the themes dir when you uploaded / extracted your site.

Avatar
sebjepb

Community Member, 5 Posts

18 October 2011 at 2:38pm

Yep not sure how the got there thanks