Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Subsites module problem

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

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

Page: 1
Go to End
Author Topic: 1873 Views
  • Racc
    Avatar
    Community Member
    4 Posts

    Subsites module problem Link to this post

    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:
    www.mysitename.com
    and
    mysubdomain.mysitename.com

    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 mysubdomain.myhostname.com to work?

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

    Throw a n00b a bone, please?

  • Racc
    Avatar
    Community Member
    4 Posts

    Re: Subsites module problem Link to this post

    anybody??

  • r0ar
    Avatar
    Community Member
    13 Posts

    Re: Subsites module problem Link to this post

    people hate you, apparently..

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Subsites module problem Link to this post

    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

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