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   3673 Views

Avatar
HackDefendr

Community Member, 8 Posts

11 May 2008 at 12:19pm

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

Forum Moderator, 5513 Posts

11 May 2008 at 1:31pm

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

Community Member, 8 Posts

11 May 2008 at 1:49pm

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

Forum Moderator, 5513 Posts

11 May 2008 at 6:21pm

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

Avatar
HackDefendr

Community Member, 8 Posts

12 May 2008 at 12:03pm

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

Forum Moderator, 5513 Posts

12 May 2008 at 12:11pm

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

Community Member, 8 Posts

12 May 2008 at 12:37pm

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

Forum Moderator, 5513 Posts

12 May 2008 at 1:01pm

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

Go to Top