Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Blog module, revision 56104

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1390 Views
  • izamryan
    Avatar
    Community Member
    2 Posts

    Blog module, revision 56104 Link to this post

    I get the following error when I try to access the BlogHolder page in the CMS Admin page:

    woe is me for trying the latest SVN build
    But I needed the latest SVN build to clean up the formatting of the Blog pages ... otherwise the <br /> tags would make for a messy page.

    (i.e. http://www.relevancefound.com/admin/?isDev=1, then click on "Blog")

    ERROR:Error 256: Bad class to singleton() - NewsletterType
    At l85 in /home1/relevanc/public_html/sapphire/core/Core.php
    <ul>user_error(Bad class to singleton() - NewsletterType,256)
    line 85 of Core.php

    singleton(NewsletterType)
    line 1569 of DataObject.php

    DataObject::get(NewsletterType)
    line 66 of BlogHolder.php

    BlogHolder->getNewsletters()
    line 54 of BlogHolder.php

    BlogHolder->getCMSFields(CMSMain)
    line 364 of CMSMain.php

    CMSMain->getEditForm(5)
    line 699 of LeftAndMain.php

    LeftAndMain->EditForm()
    line 239 of LeftAndMain.php

    LeftAndMain->getitem(Array)
    line 253 of Controller.php

    Controller->run(Array)
    line 104 of Director.php

    Director::direct(admin/getitem)
    line 144 of main.php

    </ul>

  • izamryan
    Avatar
    Community Member
    2 Posts

    Re: Blog module, revision 56104 Link to this post

    OK I fixed it by checking out the newsletter module

    svn co http://svn.silverstripe.com/open/modules/newsletter/trunk newsletter

    in my webroot.

    Maybe we should make it obvious that the newsletter module is a dependency?

    Or maybe it's because of my unusual setup, since I'm not using a tarball distribution.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Blog module, revision 56104 Link to this post

    Are you using the trunk version of the CMS as well? The newsletter module was part of the core but has recently been ripped out to a seperate module, so the blog module just needs to be updated to check for the newsletter module before trying to use it, this is probably the same with the Forum module which I think uses newsletters as well.

    These modules will be updated soon hopefully

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