MAMP Pro-更新phpMyAdmin问题 [英] MAMP Pro - updating phpMyAdmin issue

查看:360
本文介绍了MAMP Pro-更新phpMyAdmin问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将MAMP Pro更新到最新的phpMyAdmin(4.0.0)后,我遇到了问题.错误是:

I am having an issue after updating my MAMP Pro to the latest phpMyAdmin (4.0.0). The error is:

Unknown language: en-iso-8859-1.

我该如何解决?我试图通过删除语言和字符集转换设置的en-部分来编辑config.inc.php.我已经编辑了Applications/MAMP/bin/phpMyAdmin/Library/Application Support/appsolute/MAMP PRO/目录中的config.inc.php文件.我仍然遇到问题.我还需要检查什么?

How do I resolve this? I attempted to edit config.inc.php by removing the en- part of the language and charset conversion settings. I have edited both config.inc.php files in Applications/MAMP/bin/phpMyAdmin, and /Library/Application Support/appsolute/MAMP PRO/ directories. I am still encountering the issue. What else do I need to check?

推荐答案

升级phpMyAdmin时,我遇到了同样的问题.在这里查看Applications/MAMP/bin/phpMyAdmin/locale,看看是否有一个名为en的文件夹,我怀疑不会存在.事实证明,当我下载更新时,它是英国英语版本,并且文件夹名为en_GB,我相信这是错误Unknown language: en-iso-8859-1的原因,但我不确定.

I had the same problem when I upgraded phpMyAdmin. Take a look here Applications/MAMP/bin/phpMyAdmin/locale and see if there is a folder named en and I suspect there won't be. It turns out that when I downloaded the update it was the British English version and the folder was named en_GB which I believe is the reason for the error Unknown language: en-iso-8859-1 but I do not know for sure.

我的解决方案是将config.inc.php文件更改为此:

My solution was to change the config.inc.php file to this:

$cfg['DefaultLang'] = 'en_GB-iso-8859-1';

以前是 $ cfg ['DefaultLang'] ='en-iso-8859-1';

我在MAMP 2.1.3上不再具有phpMyAdmin的错误消息.希望这会有所帮助.

I no longer have this error message for phpMyAdmin on MAMP 2.1.3. Hope this helps.

这篇关于MAMP Pro-更新phpMyAdmin问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆