[Solved]Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
lzr
New Member
New Member
Posts: 2
Joined: Tue Apr 21, 2009 9:21 am

[Solved]Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270

Post by lzr »

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',
),
);
Last edited by lzr on Tue Apr 21, 2009 1:10 pm, edited 1 time in total.
alby

Re: Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270

Post by alby »

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?
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)

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
lzr
New Member
New Member
Posts: 2
Joined: Tue Apr 21, 2009 9:21 am

Re: Notice: Undefined index: se_SE in C:\wamp\www\include.php on line 270

Post by lzr »

Thanks. it works now. I think it was some problem with the cache/cookies
Locked

Return to “[locked] CMSMS MLE fork”