TakioTk
September 12, 2016, 1:35pm
1
I djust upgraded my Kirby installation from 2.2.3 to 2.3.2 an get a redirect error, When I removed the language setting in the config.php it works but without content.
my settings are:
c::set('languages', array(
array(
'code' => 'de',
'name' => 'deutsch',
'default' => true,
'locale' => 'de_DE',
'url' => '/',
),array(
'code' => 'en',
'name' => 'english',
'locale' => 'en_US',
'url' => '/en',
),
));
I can’t find the mistake,
any idea somebody?
thanks for help.
What kind of redirect error?
TakioTk
September 12, 2016, 1:52pm
3
Die Seite takikiometzis.de funktioniert nicht
takikiometzis.de hat Sie zu oft weitergeleitet.
Löschen Sie Ihre Cookies.
ERR_TOO_MANY_REDIRECTS
the site is in the subfolder /kirby
takikiometzis.de/kirby
but is also not working localy with no subfoldersetting in config and htaccess
taki:8888
Thank you. That’s interesting, I haven’t seen this. I will look into this.
TakioTk
September 12, 2016, 2:19pm
5
If you need more information …
TakioTk
September 13, 2016, 8:59am
6
Shame on me ,
I found the mistake. It was a missing language code in
home/ home.de .txt
It seems to be no problem for earlier versions.
texnixe
September 13, 2016, 9:06am
7
It’s still interesting that this resulted in a redirect problem …
TakioTk
September 13, 2016, 9:15am
8
Yes, especially home.de.txt is never used!?
It’s kind of onepager with no home information.
Yes, it seems like that has been introduced in Kirby 2.3.
Actually content files without language codes are not intended to work as stated in the docs (see “Attention! Switching from single-language to multi-language”), but we will try to fix this in Kirby 2.4 anyway .
1 Like