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   3519 Views

Avatar
patrickholzer

Community Member, 4 Posts

8 November 2010 at 11:08pm

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

Community Member, 77 Posts

8 November 2010 at 11:51pm

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

Community Member, 4 Posts

12 November 2010 at 7:52am

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

Community Member, 9 Posts

21 December 2013 at 10:52pm

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

Avatar
suganya

Community Member, 9 Posts

21 December 2013 at 10:52pm

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

Avatar
martimiz

Forum Moderator, 1132 Posts

22 December 2013 at 12:15am

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