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

Fatal error: Class 'SSHTMLBBCodeParser_Filter' not found


Go to End


1013 Views

Avatar
Mr-Badger

Community Member, 1 Post

16 March 2010 at 2:37am

Hey All,

I had a customer who could not get the blog module to work on our shared hosting with the above error.
I thought it would be helpful to share the issue with the community to enable you to run Silverstripe on many main stream hosts.
As of PHP5, a security hole which allowed scripts to set the include paths over the Admin level settings has now been removed.

As such the _config under Sapphire which tries to set the parsers path fails.

Depending on host there are a few ways to fix it.

1) Remove or comment out any include path in php.ini
2) Remove or comment out any include path in .htaccess
3) Add the actual path into the vhost / php.ini file.

Many hosts, us included, set PEAR paths at server level and this ultimately breaks Silverstripe. This can be fixed by removing or setting the path at Admin level.

I hope this will help reduce 'hair pulling' for many who wonder why they get the 'something bad has happened' warning after adding the blog folder.

You will need to use developer mode to see the error which is detailed elsewhere on this forum.

Regards,

Keith Hyde.