Jump to:

23359 Posts in 18096 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Can't get dev/build to re-build database

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 2754 Views
  • Tim_Donaldson
    Avatar
    Community Member
    9 Posts

    Can't get dev/build to re-build database Link to this post

    I'm going through the SS tutorial at the moment and I can't seem to re-build the database when adding a new template for the homepage. I've been trying: http://timdonaldson.com/silverstripe/dev/build?flush=1

    The thing is that the install on my sever doesn't even have a 'dev' directory. The closest thing I can find is 'localhost/sapphire/dev/.

    Cheers for any help.

    Tim

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: Can't get dev/build to re-build database Link to this post

    Hi Tim,

    is the site working at all? (EDIT: just checked looks like it's not).

    Don't worry about there not being a dev folder, there isn't one, all actions in SS are directed to main.php via the htaccess file. I notice that your SS install isn't in the root of your site, so make sure that line 10 of your .htaccess file reads:

    RewriteBase /silverstripe

    Aram

    ---------------------------------------------------------------------------------

    www.ssbits.com - Your one stop SilverStripe learning resource

  • Tim_Donaldson
    Avatar
    Community Member
    9 Posts

    Re: Can't get dev/build to re-build database Link to this post

    Hey Aram,

    http://timdonaldson.com/silverstripe/ is working for me, although pretty slow because it's hosted on Mediatemple without being cached — I'm just using as my test server until I get my head around things.

    Cheers for explaining the lack on dev folder. Am I adding that line to my root .htaccess folder or the silverstripe folder? What does Rewrite do?

  • Tim_Donaldson
    Avatar
    Community Member
    9 Posts

    Re: Can't get dev/build to re-build database Link to this post

    Hi Aram, You were probably right about the site not being live. I received an email from MT yesterday saying that they had had problems with Hard drives failing in their servers over the weekend.

    Tim

    2754 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.