4938 Posts in 16566 Topics by 1490 members
|Go to End|
1 July 2009 at 2:45am
I managed to get silver stripe running fine on my server im really impressed but the problem is I now want to run a second website with a separate copy of silver stripe installed.
The problem I am now facing is that after the install is complete the original site picks up the content from the new mysql database. If I run the flush command the site functions fine again with the original content but then the new site is broken.
Any suggestions on what could be causing these conflicts?
Any help will be much appreciated
1 July 2009 at 8:03pm Last edited: 1 July 2009 8:06pm
Each SilverStripe installation needs its own Database. Make sure you create a separate DB for your new Site.
If your Hosting Provider only allows you to have a single DB, you should have a look at this forum thread: http://www.silverstripe.org/general-questions/show/262447
Update And don't forget to change the _config.php files accordingly (Site A uses Database A credentials and Site B uses Database B credentials)
1 July 2009 at 11:32pm
Thanks for the reply, I donâ€™t think that is the issue as im running it on my own inhouse server running windows 2003 and i have two separate databases setup, its as if there is a cache of some sort that both sites maybe using??
2 July 2009 at 12:13am
Try putting a silverstripe-cache folder into each of your web root directories (next to sapphire, cms, and jsparty).
2 July 2009 at 12:18am
Nice one that has fixed it, thanks that has saved allot of my hair haha
|Go to Top|