Jump to:

23455 Posts in 18904 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Tutorial 1 :: Doesn't Work

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2
Go to End
Author Topic: 1934 Views
  • UncleCheese
    4085 Posts

    Re: Tutorial 1 :: Doesn't Work Link to this post

    Please post your code for HomePage.php. This has to be something really simple.

  • Sammy
    Community Member
    4 Posts

    Re: Tutorial 1 :: Doesn't Work Link to this post

    This is SilverStripe/tutorial/code/HomePage.php


    class HomePage extends SiteTree {
       static $db = array(
       static $defaults = array(


    class HomePage_Controller extends ContentController {
       function init() {


    I hope there is some easy fix. I suspect there is something wrong in the /db/build?flush=1 because I can't find HomePage added in the database.


Page: 1 2
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.