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.

Archive /

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

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

SilverStripe 2.1.0


Go to End


2 Posts   1580 Views

Avatar
dio5

Community Member, 501 Posts

2 October 2007 at 11:01pm

Looks great, however during installation I still got an openbase_dir warning and fatal error on my remote host:

Warning: main() [function.main]: open_basedir restriction in effect. File(/HTML/HTMLBBCodeParser.php) is not within the allowed path(s): (/var/www/vhosts/mysite.com/httpdocs:/tmp) in /var/www/vhosts/mysite.com/httpdocs/silver/sapphire/parsers/BBCodeParser.php on line 4

Warning: main(HTML/HTMLBBCodeParser.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mysite.com/httpdocs/silver/sapphire/parsers/BBCodeParser.php on line 4

Fatal error: main() [function.require]: Failed opening required 'HTML/HTMLBBCodeParser.php' (include_path='.::/var/www/vhosts/mysite.com/httpdocs/silver/sapphire/parsers/') in /var/www/vhosts/mysite.com/httpdocs/silver/sapphire/parsers/BBCodeParser.php on line 4

Avatar
dio5

Community Member, 501 Posts

2 October 2007 at 11:10pm

I fixed this by editing the first two lines in the BBCodeParse.php-file:

require_once($_SERVER['DOCUMENT_ROOT'].'/silver/sapphire/parsers/HTML/HTMLBBCodeParser.php');
/*Seting up the PEAR bbcode parser*/  
$config = parse_ini_file($_SERVER['DOCUMENT_ROOT'].'/silver/sapphire/parsers/BBCodeParser.ini', true);

Probably my hosting's fault that created the mess, but I hope there won't be too many files that need these changes.