Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Need Help Building Database

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

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

Page: 1
Go to End
Author Topic: 4404 Views
  • Toomanyidstakenalready
    Community Member
    5 Posts

    Need Help Building Database Link to this post

    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.
    My URL
    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!

  • Toomanyidstakenalready
    Community Member
    5 Posts

    Re: Need Help Building Database Link to this post


    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

  • Nivanka
    Community Member
    395 Posts

    Re: Need Help Building Database Link to this post

    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 http://mysite.com/

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


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