Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Error viewing Blog for 2.1.0-rc3

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 3148 Views
  • Val
    Avatar
    7 Posts

    Error viewing Blog for 2.1.0-rc3 Link to this post

    Blog module is installed for 2.1.0-rc3

    when I've tried to view blog http://example.com/blog getting this error


    Fatal error: Class 'SSHTMLBBCodeParser_Filter_Basic' not found in sapphire\parsers\HTML\HTMLBBCodeParser.php on line 224

    on the top of it, when installed forum modules, getting following warnings

    Warning: Warning: there are two 'BBCodeParser' files: 'sapphire/parsers/BBCodeParser.php' and 'forum/code/BBCodeParser.php'. This might mean that the wrong code is being used. in sapphire\core\ManifestBuilder.php on line 153

    Warning: Warning: there are two 'TextParser' files: 'sapphire/parsers/TextParser.php' and 'forum/code/TextParser.php'. This might mean that the wrong code is being used. in sapphire\core\ManifestBuilder.php on line 153

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: Error viewing Blog for 2.1.0-rc3 Link to this post

    The warnings are because we used to have the BBCode parser in the forum module, In 2.1.0 we recognized that now the BBCode parser is used in the blog module aswell so we moved it to sapphire. We haven't updated the forum module yet as SilverStripe 2.0.2 is still our stable release and that doesn't have the BBCode parser in its core as yet.

    Just remove those 2 files from the forum/ module it should still work fine.

  • Val
    Avatar
    7 Posts

    Re: Error viewing Blog for 2.1.0-rc3 Link to this post

    thanks, that's what I thought

    how about this error

    Fatal error: Class 'SSHTMLBBCodeParser_Filter_Basic' not found in sapphire\parsers\HTML\HTMLBBCodeParser.php on line 224

    it does not look like that class 'SSHTMLBBCodeParser_Filter_Basic' exist in $_CLASS_MANIFEST array

  • jimbomaha
    Avatar
    3 Posts

    Re: Error viewing Blog for 2.1.0-rc3 Link to this post

    Hi,

    I am also receiving this error:

    Fatal error: Class 'SSHTMLBBCodeParser_Filter_Basic' not found in C:\php\xampp\htdocs\du360\sapphire\parsers\HTML\HTMLBBCodeParser.php on line 224

    This is on a fresh install of Silverstripe 2.1.0 and blog 0.1?

    How do I fix/remove this error?

    Cheers

    Jc

  • Val
    Avatar
    7 Posts

    Re: Error viewing Blog for 2.1.0-rc3 Link to this post

    The following solution was proposed by one of the silverstripe developer:

    changing line 218 of sapphire/parsers/HTMLBBCodeParser.php from

    @include_once 'HTML/BBCodeParser/Filter/'.$filter.'.php';

    to

    @include_once
    'sapphire/parsers/HTML/BBCodeParser/Filter/'.$filter.'.php';

    or

    @include_once 'BBCodeParser/Filter/'.$filter.'.php';

    The last one worked for me

    3148 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.