I currently have some issues with my newly installed MLE site. It works in admin menu but it won't work on my actual site. It gives the following error:
Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270
Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 273
Not Found
The requested URL was not found on this server.
I have played around with config.lang.php to see if I can change the browser path. I have tried both se_SE and sv_SE. Is there any other place I need to change these variables?
define('DEFAULT_LANG', 'sv_SE');
$hls = array(
'en_US' => array(
'block'=>'en',
'flag'=>'',
'text'=>'English',
),
'sv_SE' => array(
'block'=>'se',
'flag'=>'',
'text'=>'Svenska',
'locale'=>'sv_SE',
),
);
[Solved]Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270
[Solved]Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270
Last edited by lzr on Tue Apr 21, 2009 1:10 pm, edited 1 time in total.
Re: Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270
1. you must use languages that are in CMSMS, look in admin/lang/ext for languages (sv_SE there is but se_SE no or create a new language for example copy all sv_SE in se_SE in admin/lang/ext and in modules/MODULE/lang/ext)lzr wrote: I currently have some issues with my newly installed MLE site. It works in admin menu but it won't work on my actual site. It gives the following error:
Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270
Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 273
Not Found
The requested URL was not found on this server.
I have played around with config.lang.php to see if I can change the browser path. I have tried both se_SE and sv_SE. Is there any other place I need to change these variables?
2. locale are not en_US or sv_SE, locale are for change locale on server for correct date, currency, ... for that language (look here for info)
3. when you change something in config_lang.php CLEAR your cookies browser (at least for that site address)
Alby
Re: Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270
Thanks. it works now. I think it was some problem with the cache/cookies