【问题标题】:Notice in ./libraries/dbi/DBIMysqli.class.php#522注意 ./libraries/dbi/DBIMysqli.class.php#522
【发布时间】:2018-08-19 08:48:18
【问题描述】:

我刚刚安装了 MySQL 服务器版本:5.7.23-0ubuntu0.16.04.1 - (Ubuntu) 和 phpMyAdmin 版本信息:4.5.4.1deb2ubuntu2 当我通过 phpMyAdmin 访问数据库时,它显示警告消息

./libraries/dbi/DBIMysqli.class.php#522 中的通知

有人可以帮忙吗?

【问题讨论】:

    标签: php mysql phpmyadmin


    【解决方案1】:

    您只需要在文件./libraries/dbi/DBIMysqli.class.php 中添加一件事。下面是添加第 522 行的代码

    添加修复代码之前

    添加修复代码后

    我认为这将帮助您解决该错误消息问题。

    【讨论】:

    • 可能位于此处(在 ubuntu 上):/usr/share/phpmyadmin/libraries/dbi/DBIMysqli.class.php
    【解决方案2】:

    打开一个DBIMysqli.class.php文件。

    /usr/share/phpmyadmin/libraries/dbi/DBIMysqli.class.php
    

    然后转到行号:522

    在此行替换代码之前

      $fields[$k]->type =  $typeAr[$field->type];
    

    替换此行后

    $fields[$k]->type = isset($typeAr[$field->type]) ? $typeAr[$field->type] : null;
    

    【讨论】:

      猜你喜欢
      • 2017-08-10
      • 2019-05-30
      • 2019-07-31
      • 2015-09-01
      • 2016-10-24
      • 2017-08-25
      • 1970-01-01
      • 2013-10-01
      • 2014-11-19
      相关资源
      最近更新 更多