Please post your code for HomePage.php. This has to be something really simple.
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Go to End
- Previous 10 entries
- 1
- Page 22(current)
This is SilverStripe/tutorial/code/HomePage.php
<?php
class HomePage extends SiteTree {
static $db = array(
);
static $defaults = array(
);
}
class HomePage_Controller extends ContentController {
function init() {
parent::init();
Requirements::themedCSS("layout");
Requirements::themedCSS("typography");
Requirements::themedCSS("form");
}
}
?>
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.
/S
Go to Top
- Previous 10 entries
- 1
- Page 22(current)