调用未定义的函数__()错误-phpMyAdmin [英] Call to undefined function __() error - phpMyAdmin

查看:96
本文介绍了调用未定义的函数__()错误-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

我在PHP 5.5.7中使用fedora 17.

I use fedora 17 with PHP 5.5.7.

有解决问题的主意吗?

推荐答案

检查Web服务器进程是否可写您的会话目录.

Check that your session directory is writable by the webserver process.

最好的方法是创建自己的phpinfo文件.在任何可通过Web访问的文件夹中,创建一个具有以下内容的文件(您可以将其称为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.

更多信息来自一个类似的线程.

More information from a similar thread.

这篇关于调用未定义的函数__()错误-phpMyAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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