Hopefully it will be in less than 4 hours because i have a client coming over that needs a FAQ system.
This entry is in revision and can not be displayed
Moderator: Thorsten
-
ITS Net Services
- Posts: 16
- Joined: Thu Apr 27, 2006 1:57 am
Hi,
the problem is that your browser language is quite strange and that causes trouble... we'll try to fix that.
bye
Thorsten
the problem is that your browser language is quite strange and that causes trouble... we'll try to fix that.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
just to be sure to exactly replicate your environment, could you confirm that you've changed no files from the original PMF 1.6.0? Are PATH_TO_PMFINSTALL/inc/constants.php and the PATH_TO_PMFINSTALL/lang/language_*.php files the original ones?
Could you also post the result of a simple test PHP page, creating just a plain text file in which copy the code below?
TIA,
Matteo
just to be sure to exactly replicate your environment, could you confirm that you've changed no files from the original PMF 1.6.0? Are PATH_TO_PMFINSTALL/inc/constants.php and the PATH_TO_PMFINSTALL/lang/language_*.php files the original ones?
Could you also post the result of a simple test PHP page, creating just a plain text file in which copy the code below?
Code: Select all
<?php
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
print "<pre>Browser language preferences: ".$_SERVER['HTTP_ACCEPT_LANGUAGE']."</pre>";
}
?>
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
ITS Net Services
- Posts: 16
- Joined: Thu Apr 27, 2006 1:57 am
First let me start off by saying, i installed version 1.5.8 originally. Then i saw 1.6.0 was released and installed that.
Both of them have done the same thing to me. The only thing i have changed in the constants.php file was the logout time. And that was only in version 1.6.0
Here are the results of the php file.
Browser language preferences: en-us,en;q=0.5
Both of them have done the same thing to me. The only thing i have changed in the constants.php file was the logout time. And that was only in version 1.6.0
Here are the results of the php file.
Browser language preferences: en-us,en;q=0.5
Hi,
TIA,
Matteo
thanks for this info.ITS Net Services wrote:First let me start off by saying, i installed version 1.5.8 originally. Then i saw 1.6.0 was released and installed that.
Both of them have done the same thing to me. The only thing i have changed in the constants.php file was the logout time. And that was only in version 1.6.0
Just for giving you one more chance for your presentation we kindly suggest you to temporarly change your browser language preferences in order to let the en (English) language be first. This tip plus the fixing of your DB ("en-US"->"en") should be the temp workaround.ITS Net Services wrote: Here are the results of the php file.
Browser language preferences: en-us,en;q=0.5
TIA,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Hi,
TIA,
Matteo
could you also post the result of this PHP code below?ITS Net Services wrote:Here are the results of the php file.
Browser language preferences: en-us,en;q=0.5
Code: Select all
<?php
if (isset($_SERVER['HTTP_ACCEPT_LANGUAGE'])) {
print "<pre>Browser language preferences: ".$_SERVER['HTTP_ACCEPT_LANGUAGE']."</pre>";
}
if (isset($_COOKIE['pmf_lang'])) {
print "<pre>pmf_lang cookie: ".$_COOKIE['pmf_lang']."</pre>";
}
if (isset($_COOKIE['pmf_sid'])) {
print "<pre>pmf_sid cookie: ".$_COOKIE['pmf_sid']."</pre>";
}
?>
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
ITS Net Services
- Posts: 16
- Joined: Thu Apr 27, 2006 1:57 am
Thanks for that, i will try and hope that works. I am using Mozilla FF. That may or not be part of the problem. I have tried IE but have the same issue.matteo wrote: Just for giving you one more chance for your presentation we kindly suggest you to temporarly change your browser language preferences in order to let the en (English) language be first. This tip plus the fixing of your DB ("en-US"->"en") should be the temp workaround.
TIA,
Matteo
Here are the results of the 2nd php file you asked me to run. It is the same as the first.
Browser language preferences: en-us,en;q=0.5
Hi,
Let's go on debugging, could you try again as described below:
The expected result is something like this:
This means that you don't have any cookie coming from other apps that could break the PMF ones: good info.ITS Net Services wrote:Here are the results of the 2nd php file you asked me to run. It is the same as the first.
Browser language preferences: en-us,en;q=0.5
Let's go on debugging, could you try again as described below:
- put the 2nd test file just under the root of the PMF installation;
- open the PMF homepage;
- change the link in the same browser window with the one of the test page
The expected result is something like this:
Code: Select all
Browser language preferences: en-us
pmf_lang cookie: en
pmf_sid cookie: 8phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
ITS Net Services
- Posts: 16
- Joined: Thu Apr 27, 2006 1:57 am
Hi,
could you check your DB tables, precisely:ITS Net Services wrote:I changed the browser settings, and queried the database. No luckSame problem.
- faqcategoryrelations;
- faqchanges;
- faqdata;
- faqdata_revisions;
- faqvisits.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
ITS Net Services
- Posts: 16
- Joined: Thu Apr 27, 2006 1:57 am
Hi,
You can apply these queries below, one by one:ITS Net Services wrote:How can i change that?
- UPDATE faqcategoryrelations SET category_lang = 'en', record_lang = 'en'
- UPDATE faqchanges SET lang = 'en'
- UPDATE faqdata SET lang = 'en'
- UPDATE faqdata_revisions SET lang = 'en'
- UPDATE faqvisits SET lang = 'en'
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
-
ITS Net Services
- Posts: 16
- Joined: Thu Apr 27, 2006 1:57 am
Hi,

bye
Thorsten
yes, we're fixing that.ITS Net Services wrote:This issue will be resolved in revision 1.6.1 correct?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
I need another information from you. Can you add a file called info.php in your FAQ directory with the following content:
and post the link here?
Thanks!
bye
Thorsten
I need another information from you. Can you add a file called info.php in your FAQ directory with the following content:
Code: Select all
<?php phpinfo(); ?>Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist