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
基础教程推荐
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- 如何替换eregi() 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
