1.4.0 alpha2
Moderator: Thorsten
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
1.4.0 alpha2
I've setup the latest phpmyfaq, but seem to have a problem with the language files.
I got 1.3.11a and 1.4.0 M2 running on the same server (different database) without any problems whatsoever
- does 1.4.0 have different requirements ?
[1.3.11a]
http://www.faq.northq.com/
- beware : it's in Danish
[1.4.0 M2]
http://www.faq.northq.com/int/
[1.4.0 alpha2]
http://www.faq.northq.com/alpha2/
[I'm running Debian Stable]
Apache 1.3.26-0woo
Php 4.1.2-6wood
Mysql 3.23.49-8.6
I got 1.3.11a and 1.4.0 M2 running on the same server (different database) without any problems whatsoever
- does 1.4.0 have different requirements ?
[1.3.11a]
http://www.faq.northq.com/
- beware : it's in Danish
[1.4.0 M2]
http://www.faq.northq.com/int/
[1.4.0 alpha2]
http://www.faq.northq.com/alpha2/
[I'm running Debian Stable]
Apache 1.3.26-0woo
Php 4.1.2-6wood
Mysql 3.23.49-8.6
.chris
Hi,
did you use your old language file? It seems so. You cannot use your old language file from 1.3 for 1.4.
bye
Thorsten
did you use your old language file? It seems so. You cannot use your old language file from 1.3 for 1.4.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
I tried echo'ing out some of the language strings, but only gets single charecters ???
Was curious to see if it had something to do with me unzipping on my windows xp computer and ftp'ing to our debian linux server.
example (cope of language_en.php):
http://www.faq.northq.com/alpha2/lang/wierd.php (output)
http://www.faq.northq.com/alpha2/lang/wierd.txt (php file)
Was curious to see if it had something to do with me unzipping on my windows xp computer and ftp'ing to our debian linux server.
example (cope of language_en.php):
http://www.faq.northq.com/alpha2/lang/wierd.php (output)
http://www.faq.northq.com/alpha2/lang/wierd.txt (php file)
.chris
Hi,
can you change your weird.php file with this code:
thanks!
bye
Thorsten
can you change your weird.php file with this code:
Code: Select all
print "<pre>";
print_r($LANG);
print "</pre>";
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
I've changed the code (deleted wierd.txt and copied it from wierd.php just to make sure they corespond)
but still just generating a "P" :(
.chris
ps put up an php info - http://www.faq.northq.com/alpha2/lang/info.php
but still just generating a "P" :(
.chris
ps put up an php info - http://www.faq.northq.com/alpha2/lang/info.php
.chris
Hi Chris,
please move a file test.php with the following content on your server:
thanks
Thorsten
please move a file test.php with the following content on your server:
Code: Select all
<?php
$LANG["metaCharset"] = "iso-8859-1";
$LANG["metaLanguage"] = "en";
$LANG["language"] = "english";
$LANG["dir"] = "ltr";
$LANG["msgCategory"] = "Categories";
$LANG["msgShowAllCategories"] = "Show all categories";
$LANG["msgSearch"] = "Search";
$LANG["msgAddContent"] = "Add content";
$LANG["msgQuestion"] = "Ask question";
$LANG["msgOpenQuestions"] = "Open questions";
$LANG["msgHelp"] = "Help";
$LANG["msgContact"] = "Contact";
$LANG["msgHome"] = "Home";
$LANG["msgNews"] = "FAQ-News";
$LANG["msgUserOnline"] = "User online";
$LANG["msgXMLExport"] = "XML-File";
$LANG["msgBack2Home"] = "back to home page";
print "<pre>";
print_r($LANG);
print "</pre>";
?>
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
[your test]
http://www.faq.northq.com/alpha2/lang/test.php
http://www.faq.northq.com/alpha2/lang/test.txt
[works]
http://www.faq.northq.com/alpha2/lang/testsimple.php
http://www.faq.northq.com/alpha2/lang/testsimple.txt
I need to clean my glasses, can't find the bugger either :(
http://www.faq.northq.com/alpha2/lang/test.php
http://www.faq.northq.com/alpha2/lang/test.txt
[works]
http://www.faq.northq.com/alpha2/lang/testsimple.php
http://www.faq.northq.com/alpha2/lang/testsimple.txt
I need to clean my glasses, can't find the bugger either :(
.chris
Hi,
this is really strange. I'll google for a solution.
bye
Thorsten
this is really strange. I'll google for a solution.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
please add to my example the following lines:
bye
arty
please add to my example the following lines:
Code: Select all
print "<hr>";
highlight_file(__file__);
arty
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
Hi,
the next test, please try this code:
thanks
Thorsten
the next test, please try this code:
Code: Select all
<?php
$LANG["metaCharset"] = "iso-8859-1";
$LANG["metaLanguage"] = "en";
$LANG["language"] = "english";
$LANG["dir"] = "ltr";
$LANG["msgCategory"] = "Categories";
$LANG["msgShowAllCategories"] = "Show all categories";
$LANG["msgSearch"] = "Search";
$LANG["msgAddContent"] = "Add content";
$LANG["msgQuestion"] = "Ask question";
$LANG["msgOpenQuestions"] = "Open questions";
$LANG["msgHelp"] = "Help";
$LANG["msgContact"] = "Contact";
$LANG["msgHome"] = "Home";
$LANG["msgNews"] = "FAQ-News";
$LANG["msgUserOnline"] = "User online";
$LANG["msgXMLExport"] = "XML-File";
$LANG["msgBack2Home"] = "back to home page";
print "<pre>";
print_r($LANG);
print "</pre>";
print "<hr>";
print "<pre>";
var_dump($LANG);
print "</pre>";
print "<hr>";
highlight_file(__file__);
?>
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
-
- Posts: 12
- Joined: Wed May 19, 2004 4:06 pm
http://www.faq.northq.com/alpha2/lang/test3.php
strange, it seems to print the first charter in the last entry
- in this case "b" from "back to home"
I'll try a debian unstable tomorrow at work with a more recent apache and php
strange, it seems to print the first charter in the last entry
- in this case "b" from "back to home"
I'll try a debian unstable tomorrow at work with a more recent apache and php
.chris
Hi,
a friend of mine in an IRC chat discovered that this is a bug in PHP 4.1.2 on Debian Woody.
I'll change the variable name for the language code to fix this Debian Woody specific bug.
Please wait for phpMyFAQ 1.4.0 alpha3!
bye
Thorsten
a friend of mine in an IRC chat discovered that this is a bug in PHP 4.1.2 on Debian Woody.
I'll change the variable name for the language code to fix this Debian Woody specific bug.
Please wait for phpMyFAQ 1.4.0 alpha3!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
we found a way to solve the problem. Set the register_globals in the php.ini file off and it works.
bye
Thorsten
we found a way to solve the problem. Set the register_globals in the php.ini file off and it works.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist