Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Help! My BLOG stopped working

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

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

Page: 1 2
Go to End
Author Topic: 3583 Views
  • HackDefendr
    Avatar
    Community Member
    8 Posts

    Help! My BLOG stopped working Link to this post

    I am not sure what happened. But whenever I click on the subject of any of my BLOG posts I see this error:

    ERROR:
    Error
    The website server has not been able to respond to your request.

    The weirdest part is that I can post new blog entries without fail :/

    I sure hope someone else has seen this before...

    Thanks,
    Jeff

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Help! My BLOG stopped working Link to this post

    Put the site into dev mode - by adding ?isDev=1 after the URL or by setting Director::set_environment_type("dev"); in the mysite/_config so you can see the proper error not just the generic error screen

  • HackDefendr
    Avatar
    Community Member
    8 Posts

    Re: Help! My BLOG stopped working Link to this post

    Thx mate...

    I see the raw error, but am totally lost.

    Here's a snippet:

    FATAL ERROR: Object::__call() Method 'SideBar' not found in class 'BlogHolder'
    At line 190 in /usr/local/www/apache22/data/sl/sapphire/core/Object.php

    user_error(Object::__call() Method 'SideBar' not found in class 'BlogHolder',256)
    line 190 of Object.php

    Object->__call(SideBar,Array)

    BlogHolder->SideBar()
    line 82 of BlogEntry.php

    The 1st line I am sure says it all, but I have done nothing to my site except to make the small edits so that I can place Widgets on all of my pages as needed.

    Let me know if you would like me to paste the entire error page.

    I sure hope this is an easy fix ... I have put a lot of work into this over the weekend.

    Jeff

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Help! My BLOG stopped working Link to this post

    What version you using? There shouldnt be any method SideBar but rather a WidgetArea called SideBar.

  • HackDefendr
    Avatar
    Community Member
    8 Posts

    Re: Help! My BLOG stopped working Link to this post

    Whatever the latest version is.

    I played around with it until the wee hours of the morning. At one point I thought I had found the problem and fixed it. But in the end, the formatting in my posts was still messy.

    So today I just redid the whole thing and used my sql backup to restore my posts.

    I'm not touching the code anymore...

    I will just safely wait for you guys to add the Widget feature to all pages.

    Jeff

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Help! My BLOG stopped working Link to this post

    If you check the widget page in the docs it explains how to do this. Then on the blog all you would need to do is to remove any references to the SideBar

  • HackDefendr
    Avatar
    Community Member
    8 Posts

    Re: Help! My BLOG stopped working Link to this post

    I did that.

    That is how I got into this predicament. I actually was thinking it may just be the blog module being so new (v0.1).

    Either way, if adding Widgets to any page is something that is coming in a future release then I will just wait.

    If it isn't I will take another crack at it on another day.

    Jeff

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Help! My BLOG stopped working Link to this post

    Ok did you remove the SideBar method from BlogEntry as well? that would be another place that would throw the error.

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