1776 Posts in 498 Topics by 533 members
|Go to End|
12 October 2011 at 7:44pm Last edited: 13 October 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.
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.
18 October 2011 at 2:38pm
Yep not sure how the got there thanks
|Go to Top|