1820 Posts in 564 Topics by 545 members
|Go to End|
28 August 2009 at 5:28am
i just installed silverstripe on my local machine and the blog module, changed template and all works fine
so now i tried to install the blog module on my hosting (tophost, italy) but i got this error message:
Fatal error: require_once() [function.require]: Failed opening required 'HTML/BBCodeParser/Filter.php' (include_path='./:/usr/share/php/') in /home/mhd-01/............./cms/sapphire/parsers/HTML/BBCodeParser/Filter/Basic.php on line 31
i read that BBCodeParser uses package PEAR, have i to ask to my provider to install it? have i to modify a php.ini file?
what depends on this error?
sorry for my poor english
thx to all
28 August 2009 at 5:52am
Neither SilverStripe nor the Blog module depend on PEAR. It should work without installing any additional libraries.
Are you sure that you uploaded all the files? Maybe try re-uploading them?
If that doesn't help, check if your Server meets all the requirements: http://doc.silverstripe.com/doku.php?id=server-requirements
28 August 2009 at 7:38pm
i have controlled these requirements using my phpinfo.php file and all seem to meet
i will try with a new installation of silverstripe as you suggested
17 November 2009 at 6:33pm
I have just run into this same problem where I was need to call some PEAR libs in the same domain as my silverstripe installation...
the fix was to add the path to my parsers folder in sapphire to my include_path
From the command line with SSH.
add or edit your php.ini file
include_path = ".:/usr/share/php:/path/to/sapphire/parsers/"
and then restart your apache server (assuming you are on a linux box)
If you dont have access to command line or php.ini you could also try:
<? ini_set('include_path',ini_get('include_path').':/path/to/sapphire/parsers/'); ?>
somewhere in you php before anything else gets called.
hopefuly that help or at least points you in the right direction.
|Go to Top|