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

Installing Blog Module on a remote hosting


Go to End


4 Posts   2676 Views

Avatar
cozzy010459

Community Member, 2 Posts

28 August 2009 at 5:28am

Hi

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

Avatar
bummzack

Community Member, 904 Posts

28 August 2009 at 5:52am

Hi

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

Avatar
cozzy010459

Community Member, 2 Posts

28 August 2009 at 7:38pm

hi

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

best regards

Avatar
camfindlay

Forum Moderator, 267 Posts

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
Example:

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)

/etc/init.d/httpd restart

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.