Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

[Solved] Subsites saves or load wrong SiteConfig

Go to End

2 Posts   1520 Views


Community Member, 271 Posts

15 September 2010 at 6:36am

Edited: 15/09/2010 12:13pm

Hi all,

I use:

Silverstripe version : 2.4.1
Subsites version : trunk r110723

I have set up the subsites module as follows:

Subsite 1 : - primary domain - Default site - nl_NL
Subsite 2 : - en_US

I have the same pagestructure for each subsite and all have a SubsiteID 1 or 2 (all MasterPageID's are 0).
This works as expected in the CMS and frontend. No strange things or errors at all.

When I change the active Subsite in the CMS, the wrong SiteConfig gets loaded and/or saved. This seems to happen randomly at the following events:

Change the current Subsite from the dropdown.
Save the SiteConfig.
Hitting F5 to reload.
Loading a page from the SiteTree menu and return to SiteConfig (this sometimes also make the correct SiteConfig loading, when the wrong was displayed after a F5 or subsite switch).

In the CMS I only work at the .nl domain and both SiteConfigs have a SubsiteID.

How to solve this ? :)


Community Member, 271 Posts

15 September 2010 at 12:12pm