17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 3240 Views |
-
Help! My BLOG stopped working

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 -
Re: Help! My BLOG stopped working

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
-
Re: Help! My BLOG stopped working

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.phpuser_error(Object::__call() Method 'SideBar' not found in class 'BlogHolder',256)
line 190 of Object.phpObject->__call(SideBar,Array)
BlogHolder->SideBar()
line 82 of BlogEntry.phpThe 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
-
Re: Help! My BLOG stopped working

11 May 2008 at 6:21pm
What version you using? There shouldnt be any method SideBar but rather a WidgetArea called SideBar.
-
Re: Help! My BLOG stopped working

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
-
Re: Help! My BLOG stopped working

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
-
Re: Help! My BLOG stopped working

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
-
Re: Help! My BLOG stopped working

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.
| 3240 Views | ||
| Go to Top | Next > |

