17452 Posts in 4473 Topics by 1971 members
|Go to End|
15 December 2008 at 10:06am
In the tutorial 'Building a Basic Site', under the Homepage Template section, it suggests rebuilding the database using the URL http://localhost:3000/db/build?flush=1
OK, I'm running WAMPSERVER
But I just get a 'Not found on this server' message.
page not found
Silverstripe is installed in C:\wamp\www\silverstripe
the URL http://localhost/silverstripe/db
does produce a "database adminstration helpers" page with two links
Flush and build
but neither of those links work when clicked
As a result I cannot get past the creating new page type step
Thanks for your help!
15 December 2008 at 10:54am
By using the following commands
instead of :3000 they seem to do something - although the result still isnt what I am expecting - the homepage is not showing in the drop down list inside of the CMS as the tutorial describes
If I add the homepage.php file in the CMS code directory alongside of the userdefined php file I get the following message, which tells me that the build process is picking up the homepage file.
Notice: Warning: there are two 'HomePage' files with the same filename: 'C:/wamp/www/silverstripe/tutorial/code/HomePage.php' and 'C:/wamp/www/silverstripe/cms/code/PageTypes/HomePage.php'. This might mean that the wrong code is being used. in C:\wamp\www\silverstripe\sapphire\core\ManifestBuilder.php on line 256
15 December 2008 at 2:30pm
Now that link http://localhost:3000/silverstripe/db?flush=1 is something for the SilverStripe one click installer, they are not releasing it anymore.
So what you have to do is that just add "db/build?flush=1" to the end of your sites url
just like the following.
lets say your URL is http://mysite.com/
after adding the bd/build it will look like the following
|Go to Top|