17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3061 Views |
-
Error viewing Blog for 2.1.0-rc3

29 September 2007 at 9:05am Last edited: 29 September 2007 9:40am
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
-
Re: Error viewing Blog for 2.1.0-rc3

29 September 2007 at 4:13pm
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.
-
Re: Error viewing Blog for 2.1.0-rc3

30 September 2007 at 10:07am
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
-
Re: Error viewing Blog for 2.1.0-rc3

16 October 2007 at 12:56am
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
-
Re: Error viewing Blog for 2.1.0-rc3

16 October 2007 at 5:49am
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
| 3061 Views | ||
|
Page:
1
|
Go to Top |


