Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Build error installing Blog

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 387 Views
  • sebjepb
    Avatar
    Community Member
    5 Posts

    Build error installing Blog Link to this post

    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.

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Build error installing Blog Link to this post

    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.

  • sebjepb
    Avatar
    Community Member
    5 Posts

    Re: Build error installing Blog Link to this post

    Yep not sure how the got there thanks

    387 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.