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.


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

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

Subsites module problem


4 Posts   1882 Views


23 July 2008 at 2:33am (Last edited: 23 July 2008 2:34am), Community Member, 4 Posts

Okay firstly: I am a complete newbie to creating and managing websites (although I have plenty of experience with programming in general, being my day job). I ran into SilverStripe and did a bit of exploring, did the tutorials and it looks pretty good so far for my application.

I am trying to get subsites working, as my website requires subdomains and after scouring the forums it appears that the subsites module is the right solution.

The goal is to have both:

working, with CMS functionality for both sites, but different templates / layout etc.

I've downloaded the latest module version, and uploaded it straight to the server: ~/www/subsites/

The Subsites tab comes up in the CMS editor, however I don't exactly know what the "Create intranet" toolbar on the side is used for. When I try to create my subdomain, it comes up with the error:

Fatal error: Call to a member function createInstance() on a non-object in /home/zap49407/public_html/subsites/code/SubsiteAdmin.php on line 113

So I looked at the code, and it really didn't make a whole lot of sense...

What could I be doing wrong?? Do I have to create folders/templates inside my www/ dir to get to work?

Do I need to STFU, RTFM and stop being a n00b?? probably...

Throw a n00b a bone, please? :D


23 July 2008 at 5:31pm Community Member, 4 Posts

anybody?? :(


4 August 2008 at 10:29pm Community Member, 13 Posts

people hate you, apparently..


4 August 2008 at 11:07pm (Last edited: 4 August 2008 11:07pm), Forum Moderator, 5511 Posts

Racc - only a couple of devs here have any experience with the subsites module. Myself had no clue how to use it! One of the other core devs set it up for me.

I think you have to do something like set a virtual host in the apache config of the subdomain to point to the top level domain?.. Sorry I can't provide any more information but I will pass on this thread on and see if someone with a bit more experience can help you out