Remember me? forgot password | register

SilverStripe Forum

10689 Posts in 2796 Topics by 1518 members

Jump to:

Site Builders

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Site Builders » Subsites module problem
Page: 1 go to end Reply
Author Topic: Subsites module problem 604 views
  • Racc
    Racc's 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? :D

    Last edited: 23 July 2008 at 2:34am

  • Racc
    Racc's avatar
    Community Member
    4 posts

    Re: Subsites module problem Link to this post

    anybody?? :(

  • r0ar
    r0ar's avatar
    Community Member
    13 posts

    Re: Subsites module problem Link to this post

    people hate you, apparently..

  • willr
    avatar
    Core Development Team
    1263 posts
    3 SilverStripe Sites 2 SilverStripe Themes

    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

    Last edited: 4 August 2008 at 11:07pm

    604 views
go to top Reply

Currently Online:

g, François, simon_w, Darkangel

Welcome to our latest member: aaragon