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.

Blog Module /

Discuss the Blog Module.

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

Build error installing Blog


Reply


3 Posts   517 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, 5513 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