【问题标题】:Browsing to phpMyAdmin Fatal Error: Failed opening Message.class.php浏览到 phpMyAdmin 致命错误:打开 Message.class.php 失败
【发布时间】:2016-12-01 15:43:51
【问题描述】:

今天,当我打开 XAMPP 时,我启动了 Apache 和 MySQL。当我浏览到localhost 时,我的网站正常工作。

但是当我访问localhost/phpmyadmin时,我的浏览器出现了这个错误:

警告:require_once(./libraries/Message.class.php):无法打开流:G:\xampp\phpMyAdmin\libraries\Error.class.php 在第 16 行`页面上没有这样的文件或目录

致命错误:require_once():在 G:\xampp\phpMyAdmin\libraries\Error 中打开所需的 './libraries/Message.class.php' (include_path='G:\xampp\php\PEAR') 失败。第 16 行的 class.php

我无法启动 phpMyAdmin,但 Apache 工作正常。有谁知道问题出在哪里?

【问题讨论】:

  • 那么,G:\xampp\phpMyAdmin\libraries\Error.class.php 存在吗?
  • 是的,G:\xampp\phpMyAdmin\libraries\Error.class.php 存在
  • 问题不在于G:\xampp\phpMyAdmin\libraries\Error.class.php是否存在,当然它存在,因为错误来自它。此文件正在尝试包含另一个文件:G:\xampp\phpMyAdmin\libraries\Message.class.php 这个文件存在吗?
  • 否,G:\xampp\phpMyAdmin\libraries\Message.class.php,此文件不存在

标签: php mysql apache phpmyadmin


【解决方案1】:

由cmets:

由于缺少一个文件,您的 phpmyadmin 安装已损坏,请尝试为您的特定版本的 phpmyadmin 下载此文件。

或者(推荐选项)在https://github.com/phpmyadmin/phpmyadmin下载整个phpmyadmin新版本

【讨论】:

  • 好的,感谢您宝贵的时间。我会按照你的建议去做。
猜你喜欢
  • 1970-01-01
  • 2016-07-06
  • 2015-02-13
  • 1970-01-01
  • 2017-07-19
  • 2011-08-04
  • 2014-05-09
相关资源
最近更新 更多