Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.9, 2.1.8 Selecting another language than English didn't work. #147

Closed
endurans opened this issue Aug 30, 2012 · 3 comments
Closed

2.1.9, 2.1.8 Selecting another language than English didn't work. #147

endurans opened this issue Aug 30, 2012 · 3 comments
Labels

Comments

@endurans
Copy link

If another language than English is being selected through either Default settings or Drop down menu from within each user account, you will see the white screen of death, only page source becomes:

<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

I have not found any other error mesage to add to this report.

You need to edit the DB and restore English language to get the app back.

I'm using using TP under https.

@nilsteampassnet
Copy link
Owner

I can't reproduce it.

I've checked with all language.

Can you try re-upload all the files in your server?

@endurans
Copy link
Author

endurans commented Sep 3, 2012

I've tried re-uploading files but that didn't solved the problem.

If I select another language before login, firebug shows the that the POST call headers becomes:

POST / HTTP/1.1
Host: "mydomain.com"
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:14.0) Gecko/20100101 Firefox/14.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
Accept-Language: es,en;q=0.8,es-ar;q=0.5,en-us;q=0.3
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Referer: https://"mydomain.com"/
Cookie: PHPSESSID=XXXXXXXXX

Parameters:

Parameters: sapplication/x-www-form-urlencoded
language spanish
user_pw_complexity
Source code
language=spanish&user_pw_complexity=

And the response:

@mrvantage
Copy link

I had the same issue for dutch with TeamPass 2.1.16. I tracked this down to a syntax error in the includes/language/dutch.php. Some double qoutes were escaped using \ \ instead of \ .

e.g.:

$txt['string'] = "this language text string contains some \ "double qoutes\ " etc...."

I changed these lines to:

$txt['string'] = "this language text string contains some "double qoutes" etc...."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants