[Q] Error Undefined index: ZH-TW in functions.php on line 45

Please report bugs here!

Moderator: Thorsten

Post Reply
CyanBlue
Posts: 2
Joined: Sun Jan 16, 2005 4:59 pm

[Q] Error Undefined index: ZH-TW in functions.php on line 45

Post by CyanBlue »

Howdy... :)

I just installed phpMyFAQ v1.4.4 on my local machine which uses Windows XP Pro and this system information...

Code: Select all

phpMyFAQ Version  - phpMyFAQ 1.4.4 
Server Software - Microsoft-IIS/5.1 
PHP Version - PHP 4.3.9 
PHP Memory Limit 
Register Globals - off 
Safe Mode - off 
MySQL Client Version - MySQL 3.23.49 
MySQL Server Version - MySQL 4.0.21-nt 
Webserver Interface - CGI-FCGI 
The admin page works fine... I am playing with it and it looks great... :)

But when I log into the index.php page from the phpMyFAQ main page, I get to see this string on the top of the screen...

Code: Select all

Notice: Undefined index: ZH-TW in C:\_www\phpMyFAQ\inc\functions.php on line 45
Does anybody know what's going on and how to fix it??? ;)

Thank you very much...
Thorsten
Posts: 15815
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

just rename the the file language_zh-tw.php to language_tw.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
CyanBlue
Posts: 2
Joined: Sun Jan 16, 2005 4:59 pm

Post by CyanBlue »

Thanks... That did the job... :)

Jason
Post Reply