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/
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
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/
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
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!
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.
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!
Yeah, sometimes simple things make a huge mess :)
Nice one that you figured it out.
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?
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.