- Well there was 2
&parent
, one of them should becontext='[[*context_key]]'
my mistake!
but the change didn’t do any good still the same. - Can’t delete
&parent= 0
otherwise the default will be Current resource and not display any link! - the
site_url
is right written
Here the LangRouter Log:
OPENING / HOME PAGE
[2020-01-15 10:35:22] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 156) Unhandled request:
REQUEST_URI: /
REDIRECT_URI:
QUERY_STRING:
q:
Context: web
Site start: 1
[2020-01-15 10:35:22] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 173) contextmap: array(2) {
["en"]=>
string(3) "web"
["es"]=>
string(2) "es"
}
[2020-01-15 10:35:22] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 173) Detected culture key: string(2) "en"
[2020-01-15 10:35:22] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 173) Detected context key: string(3) "web"
[2020-01-15 10:35:22] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 156) Culture key not found in URI:
REQUEST_URI: /
REDIRECT_URI:
QUERY_STRING:
q:
Context: web
Site start: 1
[2020-01-15 10:35:22] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 185) Context switch to "web" was not valid.
OPENING /ES/ PAGE
[2020-01-15 10:36:01] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 156) Unhandled request:
REQUEST_URI: /es/
REDIRECT_URI:
QUERY_STRING: q=es/
q: es/
Context: web
Site start: 1
[2020-01-15 10:36:01] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 173) contextmap: array(2) {
["en"]=>
string(3) "web"
["es"]=>
string(2) "es"
}
[2020-01-15 10:36:01] (ERROR in LangRouter @ /home/user/public_html/core/components/langrouter/model/langrouter/langrouter.class.php : 156) Culture key found in URI:
REQUEST_URI: /
REDIRECT_URI:
QUERY_STRING: q=es/
q:
Context: es
Site start: 7