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.

Archive

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

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

Help! My BLOG stopped working


Go to End
Reply

9 Posts   3584 Views

Avatar
HackDefendr

11 May 2008 at 12:19pm Community Member, 8 Posts

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

Avatar
Willr

11 May 2008 at 1:31pm Forum Moderator, 5511 Posts

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 :D

Avatar
HackDefendr

11 May 2008 at 1:49pm Community Member, 8 Posts

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

Avatar
Willr

11 May 2008 at 6:21pm Forum Moderator, 5511 Posts

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

Avatar
HackDefendr

12 May 2008 at 12:03pm Community Member, 8 Posts

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

Avatar
Willr

12 May 2008 at 12:11pm Forum Moderator, 5511 Posts

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

Avatar
HackDefendr

12 May 2008 at 12:37pm Community Member, 8 Posts

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

Avatar
Willr

12 May 2008 at 1:01pm Forum Moderator, 5511 Posts

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

Go to Top