Jump to:

1374 Posts in 487 Topics by 520 members

Themes

SilverStripe Forums » Themes » Error with custom theme

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 903 Views
  • benald
    Avatar
    Community Member
    2 Posts

    Error with custom theme Link to this post

    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

    903 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.