4622 Posts in 1398 Topics by 1393 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1442 Views |
-
Conflicts when running silverstripe for two sites on one server!!

1 July 2009 at 2:45am
Hi
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
Thanks,
Chris -
Re: Conflicts when running silverstripe for two sites on one server!!

1 July 2009 at 8:03pm Last edited: 1 July 2009 8:06pm
Hi Chris
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/262447Update And don't forget to change the _config.php files accordingly (Site A uses Database A credentials and Site B uses Database B credentials)
-
Re: Conflicts when running silverstripe for two sites on one server!!

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??
-
Re: Conflicts when running silverstripe for two sites on one server!!

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).
-
Re: Conflicts when running silverstripe for two sites on one server!!

2 July 2009 at 12:18am
Nice one that has fixed it, thanks that has saved allot of my hair haha
Thanks,
Chris
| 1442 Views | ||
|
Page:
1
|
Go to Top |



