473,387 Members | 1,864 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

$cfg['Lang'] in phpMyAdmin config

Hello,

I am trying to configure phpMyAdmin 2.8.2. I un-commented the following
line in config.inc.php:

// Force: always use this language - must be defined in
// libraries/select_lang.lib.php
$cfg['Lang'] = 'en-iso-8859-1';

but then after logging into phpMyAdmin, I get an error message:

Notice: Undefined index: en-iso-8859-1 in ...\index.php on line 97

I went into index.php and found that this is the line in question:

$lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][2];

So I went into select_lang.lib.php as suggested in the documentation and
poked around. 'en-iso-8859-1' is definitely a key in the
$available_languages array on this page, but then by the time the above
line of code gets called on index.php, this key is missing from
$GLOBALS['available_languages']. At that point, this is the only key in
the array for English, which is why I am getting the error message:

[en-utf-8] =Array
(
[0] =en|english
[1] =english-utf-8
[2] =en
[3] =>
)

Does anyone know why this is happening, and how I can uncomment the
$cfg['Lang'] = 'en-iso-8859-1'; line and not have all these problems?
This is the only change I made that resulted in the error message; if I
again comment out the line in question as it comes defaulted, everything
works fine. Thanks for all your help.
Jul 10 '06 #1
0 1448

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave | last post by:
I can't seem to get the privlages to manage anything in phpMySQL. They were working up until last week but all of a sudden they stopped working. MySQL itself is still working though. The system...
2
by: Daniel Mercier | last post by:
Hi, I'm new to mysql and just installed phpmyadmin. Here is the versions info: System Linux linlyne.spider.sense 2.4.22-1.2199.nptl #1 PHP Version 4.3.8
2
by: Christian Hansen | last post by:
Can phpMyAdmin be used to manage databases that are not local?
3
by: bissatch | last post by:
Hi, I am trying to use phpMyAdmin but not getting past the start up screen. I am getting the following error: #1045 Access denied for user: root@localhost (Using Password: NO) I have...
0
by: none | last post by:
Hello to you all I'm a newbie in PHP. I've a trouble with the codage. When I launch phpinfo() (PHP 4.3.9) through phpmyadmin (2.6.0.rc1 on a RedHat Avanced Server 4 update 1), I get in the...
2
by: Marcus | last post by:
Hello, I am trying to install phpMyAdmin 2.8.2 and have a question about config.inc.php. Is it necessary to include all of the $cfg fields in config.default.php, or is it ok to just have...
0
by: northernrave | last post by:
Hi, I am new to PHP and I can only understand small bits and pieces. I have ordered a dedicated server running on a linux operating system and I have just installed PHPmyadmin. When I tried to...
6
by: Daz | last post by:
Hi everyone, This may be seen as being off-topic, but I am not sure where I need to look for the appropriate documentation/tutorial. All I would like to know, if where (on a Linux system), I...
2
by: miraan | last post by:
Hi, I have just installed Apache, PHP5, and WinMySQLAdmin 1.4 on brand new Windows XP, I have configured everything properly (I followed instructions from a book, so I know everything is right), I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.