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.

General Questions

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

How to rebuild the Database? What URL to use?


Reply

6 Posts   3230 Views

Avatar
patrickholzer

8 November 2010 at 11:08pm Community Member, 4 Posts

Hi, I'm going according to the tutorial - trying to create a new "page type":

http://doc.silverstripe.org/tutorial:1-building-a-basic-site#using_a_different_template_for_the_home_page

The link "http://localhost/dev/build?flush=1" for rebuilding the database does not work for me and I can't figure out what it'd look like in the case of my website.

Any ideas on how to find the correct URL to enter into my browser? Thank you!

- Patrick

Avatar
Phill

8 November 2010 at 11:51pm Community Member, 75 Posts

Hi Patrick

Have you installed silverstripe in a sub directory for example if you have to access the site from

http://localhost/the-site

then you would need to call

http://localhost/the-site/dev/build?flush=1

Avatar
patrickholzer

12 November 2010 at 7:52am Community Member, 4 Posts

Thank you, Phill - does "localhost" function as a substitute for my actual domain within "http://localhost/the-site/dev/build?flush=1"? And yes, it's a sub-directory where the installation is located. Regards, Patrick

Avatar
suganya

21 December 2013 at 10:52pm Community Member, 9 Posts

Both are not working for me.. Can any one please help me??

Avatar
suganya

21 December 2013 at 10:52pm Community Member, 9 Posts

Both are not working for me.. Can any one please help me??

Avatar
martimiz

22 December 2013 at 12:15am Forum Moderator, 1091 Posts

Use the url of your homepage, and put /dev/build?flush=1 after it. Then you should get an overview of de tables and fields of your database, and if any new ones are added. If that's not your problem, then please give some more details...