typecho icon indicating copy to clipboard operation
typecho copied to clipboard

查看数据库时报错

Open wayne0926 opened this issue 3 years ago • 0 comments

1. 该问题的重现步骤是什么?

数据库内报错(已尝试重装数据库) 在phpMyAdmintypecho_contents浏览页面有如下报错

Warning in ./libraries/DisplayResults.class.php#769
 A non-numeric value encountered

Backtrace

./libraries/DisplayResults.class.php#4814: PMA_DisplayResults->_getTableNavigation(
integer 0,
integer 0,
boolean false,
)
./libraries/DisplayResults.class.php#4215: PMA_DisplayResults->_getPlacedTableNavigations(
integer 0,
integer 0,
string 'top_direction_dropdown',
boolean false,
)
./libraries/sql.lib.php#1768: PMA_DisplayResults->getTable(
object,
array,
array,
)
./libraries/sql.lib.php#2048: PMA_getHtmlForSqlQueryResultsTable(
object,
string './themes/pmahomme/img/',
NULL,
array,
boolean true,
integer 29,
integer 29,
NULL,
object,
array,
)
./libraries/sql.lib.php#2244: PMA_getQueryResponseForResultsReturned(
object,
array,
string 'blog1',
string 'typecho_contents',
NULL,
NULL,
object,
string './themes/pmahomme/img/',
integer 29,
integer 29,
string 'SELECT * FROM `typecho_contents`',
NULL,
NULL,
NULL,
NULL,
NULL,
string 'SELECT * FROM `typecho_contents`',
NULL,
)
./libraries/sql.lib.php#2120: PMA_executeQueryAndGetQueryResponse(
array,
boolean true,
string 'blog1',
string 'typecho_contents',
NULL,
NULL,
NULL,
boolean false,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `typecho_contents`',
NULL,
NULL,
)
./sql.php#200: PMA_executeQueryAndSendQueryResponse(
array,
boolean true,
string 'blog1',
string 'typecho_contents',
NULL,
NULL,
NULL,
boolean false,
NULL,
NULL,
NULL,
string '',
string './themes/pmahomme/img/',
NULL,
NULL,
NULL,
string 'SELECT * FROM `typecho_contents`',
NULL,
NULL,
)

导出页面有如下报错

Warning in ./libraries/tcpdf/tcpdf.php#17778
 "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

Backtrace

./libraries/PDF.class.php#12: require_once()
./libraries/plugins/export/PMA_ExportPdf.class.php#14: require_once(./libraries/PDF.class.php)
./libraries/plugins/export/ExportPdf.class.php#24: require_once(./libraries/plugins/export/PMA_ExportPdf.class.php)
./libraries/plugin_interface.lib.php#78: include_once(./libraries/plugins/export/ExportPdf.class.php)
./libraries/display_export.inc.php#29: PMA_getPlugins(
string 'export',
string 'libraries/plugins/export/',
array,
)
./tbl_export.php#106: require_once(./libraries/display_export.inc.php)

2. 你期待的结果是什么?实际看到的又是什么?

目测未见对博客明显的影响

3. 问题出现的环境

  • 操作系统版本:Debian 10
  • Apache/NGINX 版本:1.20.1
  • 数据库版本:5.6.50
  • PHP 版本:7.3
  • Typecho 版本:1.2.0
  • 浏览器版本:

wayne0926 avatar Jul 27 '22 12:07 wayne0926