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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

blog module not working


Go to End


8 Posts   2711 Views

Avatar
Nivanka

Community Member, 400 Posts

17 December 2008 at 10:48am

Edited: 17/12/2008 10:49am

I am not sure what is my error, on my local server the blog module works fine, but when I install it on my production server it doesn't display anything. Can some one look in to this?

and my url is http://whynotonline.com/blog/

Avatar
Nivanka

Community Member, 400 Posts

18 December 2008 at 9:50pm

I figured out the issue,

it was the BlogSummary.ss, there $ParagraphSummary was causing the error,

what I did is I just replaced $ParagraphSummary with $Content.FirstParagraph

Avatar
burgessb

Community Member, 17 Posts

1 February 2009 at 4:34pm

Hi nivanka,
I had the same issue, and used your fix. It fixed my blog holder page, but when I click on an entry, I now get the same problem I had with the blog holder page. I don't see where the same exact error exists for the other ss files. Did you have any problems with your entries, and if so, what did you do to fix them?

Thank you for your time!

Avatar
Nivanka

Community Member, 400 Posts

1 February 2009 at 4:51pm

Nope I didnt get any error other than the one I mentioned.

Just look into the template files and see if you can find where the error is. Just remove the content of the templates, and try adding one by one, you will be able to find it like that.

Avatar
burgessb

Community Member, 17 Posts

1 February 2009 at 5:36pm

Thanks for the advice Nivanka! I figured out the error. In the BlogEntry.ss file, this line was mssed up:

<p>$Content.Parse(BBCodeParser)</p>

The solution should have been obvious, but I didn't notice... It is:

<p>$Content.Parse('BBCodeParser')</p>

Thanks again Nivanka!

Avatar
Nivanka

Community Member, 400 Posts

2 February 2009 at 12:28am

Yeah, sometimes simple things make a huge mess :)

Nice one that you figured it out.

Avatar
Boundbystars

Community Member, 4 Posts

15 February 2009 at 8:10am

Guys I still can't figure this one out... It works in my local test site but once we go live it craps the bed. Has anybody got this working?

Avatar
Nivanka

Community Member, 400 Posts

15 February 2009 at 12:04pm

Edited: 15/02/2009 12:05pm

If you have installed the blog module successfully, try with editing the BlogSummary.ss or the $Content.Parse('BBCodeParser') as mentioned by me and burgessb.