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.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

Changing backend language fails on windows with 2.3.1

Go to End

2 Posts   1469 Views


Community Member, 55 Posts

25 March 2009 at 3:32am

Hi experts,
I downloaded your brand new 2.3.1 and hoped that this will solve my problems with the backend language.
But it still doesn't work.
This is bad, as the docs now say SS should work with IIS 5.1 and greater.
I do have IIS6.
Everything else is working just fine.
But when I want to log in with an admin with default language = german I do get the following error
(this was also the case with 2.3.0)

[Warning] array_merge() [function.array-merge]: Argument #1 is not an array
GET /admin/security/
Line 14 in C:\inetpub\kunden\silverstripees\wwwroot\sapphire\lang\de_DE.php

5 * @package sapphire
6 * @subpackage i18n
7 */
9 i18n::include_locale_file('sapphire', 'en_US');
11 global $lang;
13 if(array_key_exists('de_DE', $lang) && is_array($lang['de_DE'])) {
14 $lang['de_DE'] = array_merge($lang['en_US'], $lang['de_DE']);
15 } else {
16 $lang['de_DE'] = $lang['en_US'];
17 }
19 $lang['de_DE']['AdvancedSearchForm']['ALLWORDS'] = 'Alle Wörter';
20 $lang['de_DE']['AdvancedSearchForm']['ATLEAST'] = 'Wenigstens eines dieser Wörter';

TIA Stephan


Community Member, 55 Posts

28 March 2009 at 2:14am

Can please someone take care of this issue ?
It is really frustrating.
Everything else is working perfect with Silverstripe, also all of the modules I have tested are working great.
This is the only issue which doesn't work with IIS 6 :-(

I do need at least a hint where to look in the code.

TIA Stephan