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.

Themes /

Discuss SilverStripe Themes.

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

Error with custom theme


Reply


1008 Views

Avatar
benald

Community Member, 2 Posts

10 March 2012 at 2:42pm

Edited: 11/03/2012 12:26am

Hi all,

I built a new theme from scratch using the responsive foundation by zurb. The site works fine from the user perspective and also from the cms, but i am getting constant errors reported when the cms is used. It's very frustrating as tracing the issue leads me nowhere. I've seen similar issues reported but have been unable to resolve my own with their solution, I'm clearly missing something and would really appreciate some expert assistance as this is stopping us from going live . Happy to post code or staging site link if required. (thanks in advance)

error1

Warning: None of these templates can be found in theme 'foundation': Widget.ss, DataObject.ss, ViewableData.ss, Object.ss
At line 207 in /home/formcraf/public_html/sapphire/core/SSViewer.php

None of these templates can be found in theme 'foundation': Widget.ss, DataObject.ss, ViewableData.ss, Object.ss
Line 207 of SSViewer.php
SSViewer->__construct(Array)
Line 332 of ViewableData.php
ViewableData->renderWith(Array)
Line 183 of Widget.php
Widget_Controller->Content()
Line 369 of ViewableData.php
ViewableData->obj(Content,,,1)
Line 446 of ViewableData.php
ViewableData->XML_val(Content,,1)
Line 35 of .cache.sapphire.templates.WidgetHolder.ss
include(/home/formcraf/public_html/silverstripe-cache/.cache.sapphire.templates.WidgetHolder.ss)
Line 429 of SSViewer.php
SSViewer->process(Widget_Controller)
Line 342 of ViewableData.php
ViewableData->renderWith(WidgetHolder)
Line 193 of Widget.php
Widget_Controller->WidgetHolder()
Line 369 of ViewableData.php
ViewableData->obj(WidgetHolder,,,1)
Line 446 of ViewableData.php
ViewableData->XML_val(WidgetHolder,,1)
Line 10 of .cache.sapphire.templates.WidgetArea.ss
include(/home/formcraf/public_html/silverstripe-cache/.cache.sapphire.templates.WidgetArea.ss)
Line 429 of SSViewer.php
SSViewer->process(WidgetArea)
Line 342 of ViewableData.php
ViewableData->renderWith(WidgetArea)
Line 58 of WidgetArea.php
WidgetArea->forTemplate()
Line 447 of ViewableData.php
ViewableData->XML_val(SidebarWidgets,,1)
Line 123 of .cache.themes.foundation.templates.Layout.Page.ss
include(/home/formcraf/public_html/silverstripe-cache/.cache.themes.foundation.templates.Layout.Page.ss)
Line 429 of SSViewer.php
SSViewer->process(ViewableData_Customised,Zend_Cache_Frontend_Output)
Line 420 of SSViewer.php
SSViewer->process(ViewableData_Customised)
Line 197 of Controller.php
Controller->handleAction(SS_HTTPRequest)
Line 143 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
ModelAsController->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
Director::direct(/support/)
Line 127 of main.php

error2

Warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty
At line 393 in /home/formcraf/public_html/sapphire/core/SSViewer.php

file_get_contents()
Line 393 of SSViewer.php
SSViewer->process(Widget_Controller)
Line 342 of ViewableData.php
ViewableData->renderWith(Array)
Line 183 of Widget.php
Widget_Controller->Content()
Line 369 of ViewableData.php
ViewableData->obj(Content,,,1)
Line 446 of ViewableData.php
ViewableData->XML_val(Content,,1)
Line 35 of .cache.sapphire.templates.WidgetHolder.ss
include(/home/formcraf/public_html/silverstripe-cache/.cache.sapphire.templates.WidgetHolder.ss)
Line 429 of SSViewer.php
SSViewer->process(Widget_Controller)
Line 342 of ViewableData.php
ViewableData->renderWith(WidgetHolder)
Line 193 of Widget.php
Widget_Controller->WidgetHolder()
Line 369 of ViewableData.php
ViewableData->obj(WidgetHolder,,,1)
Line 446 of ViewableData.php
ViewableData->XML_val(WidgetHolder,,1)
Line 10 of .cache.sapphire.templates.WidgetArea.ss
include(/home/formcraf/public_html/silverstripe-cache/.cache.sapphire.templates.WidgetArea.ss)
Line 429 of SSViewer.php
SSViewer->process(WidgetArea)
Line 342 of ViewableData.php
ViewableData->renderWith(WidgetArea)
Line 58 of WidgetArea.php
WidgetArea->forTemplate()
Line 447 of ViewableData.php
ViewableData->XML_val(SidebarWidgets,,1)
Line 123 of .cache.themes.foundation.templates.Layout.Page.ss
include(/home/formcraf/public_html/silverstripe-cache/.cache.themes.foundation.templates.Layout.Page.ss)
Line 429 of SSViewer.php
SSViewer->process(Page_Controller,Zend_Cache_Frontend_Output)
Line 420 of SSViewer.php
SSViewer->process(Page_Controller)
Line 202 of Controller.php
Controller->handleAction(SS_HTTPRequest)
Line 143 of RequestHandler.php
RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
ModelAsController->handleRequest(SS_HTTPRequest)
Line 282 of Director.php
Director::handleRequest(SS_HTTPRequest,Session)
Line 125 of Director.php
Director::direct(/build-process/)
Line 127 of main.php