Hi! Thanks for your Support. I double checked everything but did not found a mistake. For adding a new page i did the following:
1) Created a new PHP File named HomePage.php and saved it at <silverStripeHome>\tutorial\code
Source:
<?php
/**
* Defines the HomePage page type
*/
class HomePage extends Page {
static $db = array(
);
static $has_one = array(
);
}
class HomePage_Controller extends Page_Controller { }
?>
2) Created a new PHP File named HomePage.ss and saved it at <silverStripeHome>\tutorial\templates
Source:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
<head>
<% base_tag %>
$MetaTags
<link rel="stylesheet" type="text/css" href="tutorial/css/layout.css" />
<link rel="stylesheet" type="text/css" href="tutorial/css/typography.css" />
<link rel="stylesheet" type="text/css" href="tutorial/css/form.css" />
</head>
<body>
<div id="Main">
<ul id="Menu1">
<% control Menu(1) %>
<li><a href="#">$MenuTitle</a></li>
<% end_control %>
</ul>
<div id="Header">
<h1>$Title</h1>
</div>
<div id="ContentContainer">
<ul id="Menu2">
<% control Menu(2) %>
<li class="$LinkingMode"><a href="$Link" title="Go to the "{$Title}" page">$MenuTitle</a></li>
<% end_control %>
</ul>
<div id="Content" class="typography">
<div class="breadcrumbs">
$Breadcrumbs
</div>
$Content
$Form
</div>
</div>
<div id="Footer">
<span>Visit <a href="http://www.silverstripe.com" title="Visit www.silverstripe.com">www.silverstripe.com</a> to download the CMS</span>
</div>
</div>
$SilverStripeNavigator
</body>
</html>
3) Called http://localhost/silverstripe220/db/build?flush=1
Controlled the result list of the server response. It does not contain a table named HomePage
4) Called http://localhost/silverstripe220/?flush=1
5) Logged into backend and called http://localhost/silverstripe220/admin/?flush=1
I am at a loss. Any ideas?