Jump to:

1842 Posts in 1600 Topics by 558 members

Blog Module

SilverStripe Forums » Blog Module » Installing Blog Module on a remote hosting

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 1591 Views
  • cozzy010459
    Avatar
    Community Member
    2 Posts

    Installing Blog Module on a remote hosting Link to this post

    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

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Installing Blog Module on a remote hosting Link to this post

    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

  • cozzy010459
    Avatar
    Community Member
    2 Posts

    Re: Installing Blog Module on a remote hosting Link to this post

    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

  • camfindlay
    Avatar
    Forum Moderator
    148 Posts

    Re: Installing Blog Module on a remote hosting Link to this post

    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.

    1591 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.