Is that working for you? Am working my way through tutorial one, and am trying to create a new page type. Have uploaded the HomePage.php, and run the http://www.mydomain.com/silverstripe/db/build?flush=1.
Everything seems to going ok, the SiteTree, SiteTree_Live and SiteTree_versions seem to have updated well, but then it comes to a screaming halt with an error message:
"Warning: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/mydomain.com/httpdocs/silverstripe/sapphire/core/model/DatabaseAdmin.php:137) in /var/www/vhosts/mydomain.com/httpdocs/silverstripe/sapphire/core/Debug.php on line 151".