17488 Posts in 4473 Topics by 1978 members
|Go to End|
17 October 2008 at 5:57pm
I created the database and did the pre-check, but when I went to install I got...
I am now running through the installation steps (this should take about 30 seconds)
If you receive a fatal error, refresh this page to continue the installation
Creating '.htaccess' file...
Building database schema...
Warning: $project isn't set in C:\wamp\www\silverstripe\sapphire\core\ManifestBuilder.php on line 154
Fatal error: DB::connect: Not passed a valid database config in C:\wamp\www\silverstripe\sapphire\core\model\DB.php on line 53
17 October 2008 at 6:34pm
open my mysite/_config.php and see if a) there is any contents and b) if the global $project is set. I suspect that the _config file hasnt been written correctly so you might want to do it by hand, if you dont see anything in the _config file then thats the problem so paste this outline in - http://doc.silverstripe.com/doku.php?id=recipes:example_config_file and save then try view your site
19 October 2008 at 5:07pm
First of all, thank you for replying. For some reason I didn't get email notification of your response although I subscribed (I thought) to the thread.
I finally got the installation under wampserver working by enabling write permissions in Windows Vista for Everyone on the folder c:\wamp\www.
I am really looking forward to using and learning SilverStripe now that I know it is a php 5-based cms framework.
19 October 2008 at 6:15pm
One wampserver peculiarity is this. Once I had successfully SS, I went to http://localhost, which displays the defalut wampserver page and I clicked on the silverstripe (under Your Projects). I got a "HTTP 403 Forbidden". The page it tried to go to was: http://localhost/silverstripe
If I enter http://localhost/silverstripe/ (note the final '/'), then I successfully get the silverstripe home page.
20 October 2008 at 4:53am
I got rid of the problem (of not being able to start silverstrip from the Wampserver start page) by editing .htaccess and commenting out "DirectorySlash Off", like this:
### SILVERSTRIPE START ###
|Go to Top|