Wrong language code after "add content"

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
mmikolai
Posts: 4
Joined: Fri Sep 01, 2006 12:26 pm

Wrong language code after "add content"

Post by mmikolai »

Dear all,

I'ver got a problem related to the Browser language settings and the "Add content" action.
I can add content but even though the default language is set to english (the language box is disabled) the content is added with another language ("de" in my case) which is a result from the default browser language setting.
Impact is that even in the admin area where I want to approve the entries I cannot change the language or anything else for these entries. It appears a "blank page" ?blank.html?
Record 2,3 show the "de"
Record 5 has been entered using "en" as default browser language. This one can be approved/changed/whatever.

Approve Records shows
ID LANG HEADER
--------------------------------------------------
2 de enabling TMPFS
3 de elo
5 en TEST
--------------------------------------------------

I can delete the records.
Creating new entries from the admin area works also fine.

System is
Version 1.6.4 (only english required other languages disabled)
PHP 5.1.5
Mysql 3.23.52

Can I override the Browser language settings?

Kind regards

Marcus
Mikolaiczyk
Thorsten
Posts: 15798
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you can disable the browser language detection in the configuration.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mmikolai
Posts: 4
Joined: Fri Sep 01, 2006 12:26 pm

Post by mmikolai »

Thanks Thorsten,

if you mean the "automatic content negotiation" in the admin/edit configuration I've already disabled this feature. It doesn't help.
javascript:emoticon(':(')
Sad

first lines off inc/config.php
-------------------------------------------------------
<?php
// Created 2006-09-01 10:16:42

// Language-File
$PMF_CONF["language"] = "language_en.php";

// Title of the FAQ
$PMF_CONF["title"] = "CarMedialab phpMyFAQ";

// FAQ Version
$PMF_CONF["version"] = "1.6.4";
-------------------------------------------------------

I also cleared all my temporary browser data (cache, cookies,...) and restarted the apache (v1.3.x).

Regards
Marcus
Mikolaiczyk
Thorsten
Posts: 15798
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, I will take a look at it!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15798
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

okay, this was a bug. I fixed it in 1.6.5 and 2.0.0-alpha0. You can get the fixed version in the stable snapshot at our download page tomorrow.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
mmikolai
Posts: 4
Joined: Fri Sep 01, 2006 12:26 pm

Post by mmikolai »

! That's speed !
I was just typing a reply where I wanted to give you acces to the system. Thanks a lot I'll try it immediately.

Best regards an respect

Marcus
Mikolaiczyk
Post Reply