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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

installed forum software, rewrite rules not happy

Go to End

3 Posts   2451 Views


Community Member, 39 Posts

19 March 2007 at 2:55pm

hey so i installed phpBB in /forum/ and its now causing issues with silverstripe due to the rewrite rules.

any idea how to fix this?

Warning: include(./../common.php) [function.include]: failed to open stream: No such file or directory in /usr/home/user/domains/ on line 17

Warning: include() [function.include]: Failed opening './../common.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/home/user/domains/ on line 17

Fatal error: Call to a member function session_begin() on a non-object in /usr/home/user/domains/ on line 20


Administrator, 690 Posts

19 March 2007 at 3:05pm

What's happening is that all of the PHP files inside the forum folder are being included by the manifest builder when you're visiting your SilverStripe site.

You need to tell SilverStripe to ignore the /forum/ folder.

Make a PHP file called mysite/_exclude.php or (project)/_exclude.php if you don't have a folder called mysite.

Populate it with content something like this. You will need to list all of the SilverStripe modules that you want the system to look into.

* Exclude these modules from the manifest
ManifestBuilder::$restrict_to_modules = array(



Community Member, 39 Posts

19 March 2007 at 3:08pm

great, works fine - ta.