4621 Posts in 1397 Topics by 1392 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3030 Views |
-
Installing SilverStripe on Xampp

8 July 2009 at 3:05am
I love SS2, it is by far the best opensource CMS I've come across. I have a problem I hope someone here can help with. An ex-colleague installed Silverstripe and modded it to form the basis of our website. I want to be able to run a duplicate of this site on my laptop so I can experiment with some changes we are thinking of implementing. I have installed xampp, and both php and mysql work fine, and I have also installed the raw silverstripe and that works fine too.
The problem I have, is that I'm a virtual beginner when it comes to MySQL. So I have a copy of the file-tree/directories containing all of our site details, and I also have "mydatabase.sql" but I don't know how to make them work on my laptop!
The normal clean SS2 runs fine in
C:\xampp\htdocs\silverlight
but when I replace that with
C:\xampp\htdocs\silverlightmywebsite
I just get a list of files and folders in the directory, and then when I click on them, I get "object not found".
I expect I'm missing something blindingly obvious, but it's been a few years since I did any serious web dev and I was hoping someone here might take pity on me and point me in the right direction!
Any ideas? Thanks,
Jack
-
Re: Installing SilverStripe on Xampp

15 July 2009 at 7:28pm
Welcome to Silverstripe , good choice !
- Make sure to load your database dump. (Easy way of doing this is by installing PHPMyAdmin or DBTools).
- Make sure your _config.php contains the correct settings (project-name , database URL , username / password etc.)Good luck !
-
Re: Installing SilverStripe on Xampp

16 July 2009 at 1:54am Last edited: 16 July 2009 1:54am
=>C:\xampp\htdocs\silverlightmywebsite
was the path on Xampp right?look in:
mysite/_config.php for this:#code
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "localhost",
"username" => "YOUR_USERNAME",
"password" => "YOUR_PASSWORD",
"database" => "YOURTABLE_NAME",
);
/*here are some comments in original*/Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));
#/codetry then:
http://localhost/silverlightmywebsite/dev/build/?flush=1then it will work ( I think)
| 3030 Views | ||
|
Page:
1
|
Go to Top |



