Hi Philippe,
which version do you use?
bye
Thorsten
1.3.14 - Cannot EDIT record
Moderator: Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Oups... sorry.
phpMyFAQ Version : phpMyFAQ 1.4.1
Server Software : Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.4
PHP Version : PHP 4.3.4
PHP Memory Limit : 8M
Register Globals : off
Safe Mode : off
MySQL Client Version : MySQL 3.23.56
MySQL Server Version : MySQL 4.0.18-log
By the way, I also added some "strtolower" at lines 83 and 84 in the index.php
and lines 61 and 62 of admin/index.php to have something appear in the browser.
The template phpMyFAQ tried to load was "lang/language_En.php" (uppercase E)
A simple patch to show what I mean could be :
Hope this help,
Philippe
phpMyFAQ Version : phpMyFAQ 1.4.1
Server Software : Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.4
PHP Version : PHP 4.3.4
PHP Memory Limit : 8M
Register Globals : off
Safe Mode : off
MySQL Client Version : MySQL 3.23.56
MySQL Server Version : MySQL 4.0.18-log
By the way, I also added some "strtolower" at lines 83 and 84 in the index.php
and lines 61 and 62 of admin/index.php to have something appear in the browser.
The template phpMyFAQ tried to load was "lang/language_En.php" (uppercase E)
A simple patch to show what I mean could be :
Code: Select all
- require_once("lang/language_".substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2).".php")) {
- $LANGCODE = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2);
+ require_once("lang/language_".strtolower(substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2)).".php")) {
+ $LANGCODE = strtolower(substr($_SERVER["HTTP_ACCEPT_LANGUAGE"], 0, 2));
Hope this help,
Philippe