24 October 2010 at 11:06am
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/.
24 October 2010 at 12:27pm
(Last edited: 24 October 2010 12:29pm),
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:
24 October 2010 at 2:12pm
(Last edited: 24 October 2010 2:18pm),
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?