Magento does not get the information from the default value for several config settings. We recently added a new website and store, maybe it's related somehow.
For example the timezone is not retrieved correctly. We set Europe/Berlin as default value, but our German store does not read from it. It returns null.
Here our configuration for default:
And here for our German website
:
The configurations in our database seem to be correct as well. The entries for general/locale/timezone in core_config_data:
7435websites12general/locale/timezoneEurope/Berlin 3909websites10general/locale/timezoneAtlantic/Reykjavik 3407websites8general/locale/timezoneEurope/Berlin 7436websites1general/locale/timezoneEurope/Berlin 543default0general/locale/timezoneEurope/BerlinHowever when I run the following code to retrieve the data, it returns NULLwhile I expected Europe/Berlin:
var_dump(Mage::getStoreConfig('general/locale/timezone', 3));