Jump to:

4939 Posts in 16654 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » db/build?flush=1 doesn't work

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 5077 Views
  • jseth
    Avatar
    Community Member
    98 Posts

    db/build?flush=1 doesn't work Link to this post

    I've installed SilverStripe on a linux server, downloaded, extracted and placed the events_calendar folder in the root of silverstripe, and placed db/build?flush=1 at the end of my URL, and no matter what combination of this suffix I append, I get "Object not found". I've also loaded Silverstripe on a Windows XP computer using XAMPP and everything worked perfectly, so I am at a loss as to why I can't flush and get the calendar working. Does anyone have any suggestions?

  • Willr
    Avatar
    Forum Moderator
    5503 Posts

    Re: db/build?flush=1 doesn't work Link to this post

    Can you post a screenshot for the error. Also for rebuilding the database on the front end the 'proper' one is to use /dev/build rather then db/build but it should work both ways.

    Does SS work without the event_calendar folder? Just a simple installation.

  • jseth
    Avatar
    Community Member
    98 Posts

    Re: db/build?flush=1 doesn't work Link to this post

    Hi Willr! Well, I just tried it again (for the 532nd time!) to create a screen shot for you, and... it worked this time! I have no idea of anything that I did differently than the previous 531 times I tried it, but for some reason it worked this time, and I will now go ahead and try to make a calendar. Thank you for your reply - I just wish that there had been something helpful I could have offered as an actual solution. Oh, and yes, the ss worked quite nicely without the event calendar, although I had fits making it believe that the mod_rewrite was actually installed and that Allow Overwrite was all, but other than that it does work very nicely. Thanks again.

  • ranxiore
    Avatar
    Community Member
    1 Post

    Re: db/build?flush=1 doesn't work Link to this post

    i`am not really understand with db or dev ?flush=1 ,but i ve succesfully with flush just one time..n now i got failed...
    i`am use xampp for this..i ve web directory with the name silverstripe..so i `am get flush thenew page with like this http://localhost/silvertripe/build?flush=1
    but this get an error..n said wrong directory somethin like that..or path is wrogn or not exist..,oh yeahh i put the HomePage.php at /mysite/code/ directory as tutorial silverstripe said..but its failed..what must i do??? thnnks

  • monochrom
    Avatar
    Community Member
    1 Post

    Re: db/build?flush=1 doesn't work Link to this post

    Hello there,

    altough this post is a bit old, I think it's good to have my 5 cents here for future users.

    I had the same problems. And it turned out that url_rewrite was not working properly for the directory where silverstripe got installed.

    The installer already gave me a warning, but I ignored the information that friendly URL is not working. (That should at least give an warning on the first page of the installer!).

    Friendly Urls are required for stuff like dev/build to work. The problem was my apache 2.2 configuration - the root folder had AllowOverride None set. After changing that to AllowOverride All (in /etc/apache2/sites-enabled/000-default) I reinstalled silverstripe and everything went fine this time - no error messages about friendly URL's.

    In the end it was possible to call dev/build?flush=all

    This gave me a few moments of doubts - it should be made more clear how important url rewriting is. Here someone describes how to test if url_rewrite module is working:

    http://old.webasyst.net/support/help/general-modrewrite-test.html

    5077 Views
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.