Call to undefined function __() error - phpMyAdmin(调用未定义的函数 __() 错误 - phpMyAdmin)
问题描述
当我想在我的浏览器上运行 phpMyAdmin 时,会出现这个错误:
When i want run phpMyAdmin on my browser, that show me this error:
Fatal error: Call to undefined function __() in /usr/share/phpMyAdmin/libraries/core.lib.php on line 229
Call Stack
# Time Memory Function Location
1 0.0010 344984 {main}( ) ../index.php:0
2 0.0026 502720 require_once( '/usr/share/phpMyAdmin/libraries/common.inc.php' ) ../index.php:12
3 0.0285 3836408 require( '/usr/share/phpMyAdmin/libraries/session.inc.php' ) ../common.inc.php:344
4 0.0288 3846488 PMA_fatalError( ) ../session.inc.php:97
我使用 Fedora 17 和 PHP 5.5.7.
I use fedora 17 with PHP 5.5.7.
有解决问题的想法吗?
推荐答案
检查您的会话目录是否可被网络服务器进程写入.
Check that your session directory is writable by the webserver process.
最好的方法是创建自己的phpinfo文件;在任何可访问的网络文件夹中创建一个包含以下内容的文件(您可以将其称为 test.php 或 phpinfo.php 或任何您喜欢的名称):
The best way to do so is to create your own phpinfo file; in any web accessible folder create a file (you can call it test.php or phpinfo.php or whatever you'd like) with the following content:
<?php
phpinfo();
?>
在浏览器(http://localhost/test.php
或类似的)中打开该文件并查找 session.save_path
行.那是你的会话文件夹;确保权限合适,看看是否有帮助.
Open that file in your browser (http://localhost/test.php
or similar) and look for the line session.save_path
. That's your session folder; make sure the permissions are suitable and see if that helps.
更多信息来自一个类似的线程.
这篇关于调用未定义的函数 __() 错误 - phpMyAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:调用未定义的函数 __() 错误 - phpMyAdmin


- 如何在 Symfony2 中正确使用 webSockets 2021-01-01
- Oracle 即时客户端 DYLD_LIBRARY_PATH 错误 2022-01-01
- 如何从数据库中获取数据以在 laravel 中查看页面? 2022-01-01
- PHP foreach() 与数组中的数组? 2022-01-01
- 使用 GD 和 libjpeg 支持编译 PHP 2022-01-01
- PHP - if 语句中的倒序 2021-01-01
- Laravel 5:Model.php 中的 MassAssignmentException 2021-01-01
- 覆盖 Magento 社区模块控制器的问题 2022-01-01
- 如何使用 Google API 在团队云端硬盘中创建文件夹? 2022-01-01
- openssl_digest vs hash vs hash_hmac?盐与盐的区别HMAC? 2022-01-01