Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Need Help Building Database

Go to End

3 Posts   5130 Views


Community Member, 5 Posts

15 December 2008 at 10:06am

In the tutorial 'Building a Basic Site', under the Homepage Template section, it suggests rebuilding the database using the URL http://localhost:3000/db/build?flush=1

OK, I'm running WAMPSERVER

But I just get a 'Not found on this server' message.
page not found

Silverstripe is installed in C:\wamp\www\silverstripe

the URL http://localhost/silverstripe/db
does produce a "database adminstration helpers" page with two links
Flush and build
but neither of those links work when clicked

As a result I cannot get past the creating new page type step
Thanks for your help!


Community Member, 5 Posts

15 December 2008 at 10:54am


By using the following commands
instead of :3000 they seem to do something - although the result still isnt what I am expecting - the homepage is not showing in the drop down list inside of the CMS as the tutorial describes

If I add the homepage.php file in the CMS code directory alongside of the userdefined php file I get the following message, which tells me that the build process is picking up the homepage file.
Notice: Warning: there are two 'HomePage' files with the same filename: 'C:/wamp/www/silverstripe/tutorial/code/HomePage.php' and 'C:/wamp/www/silverstripe/cms/code/PageTypes/HomePage.php'. This might mean that the wrong code is being used. in C:\wamp\www\silverstripe\sapphire\core\ManifestBuilder.php on line 256


Community Member, 400 Posts

15 December 2008 at 2:30pm

Now that link http://localhost:3000/silverstripe/db?flush=1 is something for the SilverStripe one click installer, they are not releasing it anymore.

So what you have to do is that just add "db/build?flush=1" to the end of your sites url

just like the following.

lets say your URL is

after adding the bd/build it will look like the following