Jump to:

794 Posts in 409 Topics by 304 members

Widgets

SilverStripe Forums » Widgets » Installing widgets, block BlogHolder pages from being able to load in CMS

Discuss SilverStripe Widgets.

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

Page: 1 2
Go to End
Author Topic: 1589 Views
  • DsX
    Avatar
    Community Member
    178 Posts

    Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    Installing widgets, block BlogHolder pages from being able to load in CMS.
    and a error popp shows for a few seconds:
    =====
    Warning at line 670 of F:\vhost\mysite\httpdocs\framework\view\SSViewer.php
    =====

    removing 'widgets' and rebuilding fixes this; however, I need to add widgets to my blog templates

    help??

  • katja
    Avatar
    Community Member
    46 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    Hope you managed to fix it in the meantime..

    Anyway, I had the same problem, and strangely got it working by just emptying the silvestripe cache. The error messages were about not finding the WidgetArea template, but I could see in the code that it did actually exist, and in fact nothing seems to have been wrong with the installation.

  • ecadre
    Avatar
    Community Member
    5 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    I seem to be having the same problem as the OP.

    After installing the Widgets module, the Blog holder page is now blank on the admin.

    I've tried /?flush=1 but to no avail.

    This is on the admin side, the page on the frontend (public) loads OK.

  • katja
    Avatar
    Community Member
    46 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    There should be a Silverstripe cache directory under the tmp directory of your system. That's the one I cleared..

  • ecadre
    Avatar
    Community Member
    5 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    Thanks for replying and the suggestion but, sadly, that too made no difference.

    I'm getting this on my desktop box and the server install as well, both Debian.

  • ecadre
    Avatar
    Community Member
    5 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    OK, I've turned on development mode on my desktop install and it's coming up with this error:

    Error at line 1334 of /home/ecadre/myfiles/sites/silver-stripe/framework/model/DataObject.php

    The line reads:

    throw new Exception("DataObject->getComponent(): Could not find component '$componentName'.");

    So, summat's missing, but what?

  • katja
    Avatar
    Community Member
    46 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    Sorry to hear it didn't help. I remember fiddling around with all this for ages. I think one of the problems was finding the right versions of modules to go together. This is not really documented anywhere.. Have you used composer to install them? I think it was in the end the only way for me to get versions that worked together.

    Perhaps this helps:

    composer.json
    {
       "name": "silverstripe/installer",
       "description": "The SilverStripe Framework Installer",
       "require": {
          "php": ">=5.3.2",
          "silverstripe/cms": "3.0.*@stable",
          "silverstripe/framework": "3.0.*@stable",
          "silverstripe-themes/simple": "*",
          "silverstripe/blog": "0.6.1",
    "silverstripe/widgets": "0.1.*"
       },
       "require-dev": {
          "silverstripe/docsviewer": "*",
          "silverstripe/behat-extension": "*",
          "silverstripe/buildtools": "*",
          "phpunit/phpunit": "3.7.*"
       },
       "minimum-stability": "dev"
    }

  • ecadre
    Avatar
    Community Member
    5 Posts

    Re: Installing widgets, block BlogHolder pages from being able to load in CMS Link to this post

    Yes, I tried composer earlier today, but it did not work. The only version of the Widgets module it has is the one compatible with SilverStripe 3.1 (a beta release) so of course it refused to install on 3.0.5.

    Is it permissible to roll my eyes at this point? :-D :-/

    The versions of the Blog module and the Widgets module are the same as yours (thanks for that) and I'm still on the default "Simple" theme since I am still trying things out.

    I don't mind "fiddling around" with stuff, but I am a little frustrated here with what seems a standard install of SilverStripe.

    I know it's not your responsibility of course katja, thanks for taking the time to reply to me with some useful info, I'll have another dig around inside SilverStripe later to try to see what's going on.

    1589 Views
Page: 1 2
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.