Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

17478 Posts in 4473 Topics by 1972 members

Archive

SilverStripe Forums » Archive » Subsites module problem

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

Page: 1
Go to End
Author Topic: Subsites module problem 1051 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
    Moderator
    2743 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

    1051 Views
Page: 1
Go to Top

Currently Online: There is nobody online.

Welcome to our latest member: Newclear

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.