TestLink 1.7.0 RC3 undefined index tlsmarty.inc.php

The release related discussions, plans and questions.
Locked
ptimmers
TestLink user
Posts: 6
Joined: Fri Jul 27, 2007 9:14 am
Location: Netherlands

TestLink 1.7.0 RC3 undefined index tlsmarty.inc.php

Post by ptimmers »

When i start TestLink 1.7.0 RC3 on my dutch Windows XP it giva a undefined index nl_NL on line 118, 119 and 120

I think it put the default $g_locale to my server language and that is not defined in the configured table.

My guese is that this a bug on $g_locale definition because when the locale information is not defined it must be us_GB or what is defined in the config.inc.php but the default language is not used now.


Regards,
Perry Timmers
ptimmers
TestLink user
Posts: 6
Joined: Fri Jul 27, 2007 9:14 am
Location: Netherlands

Post by ptimmers »

In TestLink 1.7.0 RC2 this was not a problem
balance337
TestLink user
Posts: 12
Joined: Wed Jul 25, 2007 6:42 pm

Post by balance337 »

Did you ever find a resolution for this issue? We have the same errors popping up with RC3 as well.

Thanks
balance337
TestLink user
Posts: 12
Joined: Wed Jul 25, 2007 6:42 pm

Post by balance337 »

I am running on

Apache/2.2.3 (Ubuntu) PHP/5.2.1 mod_ssl/2.2.3 OpenSSL/0.9.8c
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

you need to configure all the localization paramenters when adding
a new language.
Use as model one of existent one
balance337
TestLink user
Posts: 12
Joined: Wed Jul 25, 2007 6:42 pm

Post by balance337 »

I'm not sure I understand the solution. I am using the default localization of en_GB.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

what is the locate configured for the user having problems?
that's the info I need.

Please check on our mantis, because I think we have discussed a solution there.
balance337
TestLink user
Posts: 12
Joined: Wed Jul 25, 2007 6:42 pm

Post by balance337 »

I reviewed the Mantis solution.

We are located in the US. the default locale in my user account is "English (UK)" i have also copied the en_GB string.txt to the en_US folder.

I am unsure how to determine my servers locale that is being checked by the code in conifg.inc.php

I have also gone as far as to comment out that check to force the config.inc.php file to go en_GB. this has no success on the issue.

Windows XP SP2, Firefox 2
balance337
TestLink user
Posts: 12
Joined: Wed Jul 25, 2007 6:42 pm

Post by balance337 »

the information returned by $_SERVER['HTTP_ACCEPT_LANGUAGE'] is

en-us,en;q=0.5

when using my configured server and client.

Thank you for any help.
Locked