[ZBX-17924] dashboard php errors in "System information" window Created: 2020 Jun 18 Updated: 2024 Apr 10 Resolved: 2020 Jul 28 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 5.0.1 |
Fix Version/s: | 4.0.23rc1, 5.0.3rc1, 5.2.0alpha1, 5.2 (plan) |
Type: | Problem report | Priority: | Trivial |
Reporter: | Tomasz Kłoczko | Assignee: | Mārtiņš Tālbergs (Inactive) |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux, mysql 8.0.18, php 7.4.6 |
Attachments: |
![]() ![]() ![]() |
||||||||||||
Issue Links: |
|
||||||||||||
Team: | |||||||||||||
Sprint: | Sprint 66 (Jul 2020) | ||||||||||||
Story Points: | 1 |
Description |
Steps to reproduce:
Result: In main dashboard "System information" window are reported php errors: Undefined index: table_name [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → make_status_of_zbx() → MysqlDbBackend->checkEncoding() → MysqlDbBackend->checkTablesEncoding() → DBfetchColumn() in include/db.inc.php:846]Undefined index: table_name [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → make_status_of_zbx() → MysqlDbBackend->checkEncoding() → MysqlDbBackend->checkTablesEncoding() → DBfetchColumn() in include/db.inc.php:846]Undefined index: table_name [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → make_status_of_zbx() → MysqlDbBackend->checkEncoding() → MysqlDbBackend->checkTablesEncoding() → DBfetchColumn() in include/db.inc.php:846]Undefined index: table_name [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → make_status_of_zbx() → MysqlDbBackend->checkEncoding() → MysqlDbBackend->checkTablesEncoding() → DBfetchColumn() in include/db.inc.php:846]Undefined index: table_name [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → ZBase->processResponseFinal() → CView->getOutput() → include() → make_status_of_zbx() → MysqlDbBackend->checkEncoding() → MysqlDbBackend->checkTablesEncoding() → DBfetchColumn() in include/db.inc.php:846]Undefined index: table_name [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() [..] → ZBase->processResponseFinal() → CView->getOutput() → include() → make_status_of_zbx() → MysqlDbBackend->checkEncoding() → MysqlDbBackend->checkTablesEncoding() → DBfetchColumn() in include/db.inc.php:846]
See screenshot... |
Comments |
Comment by Aigars Kadikis [ 2020 Jun 19 ] |
Thank you for reporting this issue. To minimize the scope of the problem do you receive the same outcome while browsing system information from a dedicated section: "Reports" => "System information"? |
Comment by Tomasz Kłoczko [ 2020 Jun 22 ] |
In dashboard is widget type ""System information". And yes .. Reports -> "System information" has the same issue. |
Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Jul 01 ] |
Hi kloczek, I cannot reproduce this error on mysql 8.0.18, php 7.4.6.
Much appreciated in advance. |
Comment by Tomasz Kłoczko [ 2020 Jul 01 ] |
Problem is persistent. Started after upgrade from 4.8.x. I'll check database scheme definition later. |
Comment by Tomasz Kłoczko [ 2020 Jul 03 ] |
Sorry I had no time to chech DB schema in meantime. So this issue is possoible to catch only on upgrade? |
Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Jul 03 ] |
FIXED in development branch feature/ZBX-17924-5.0, feature/ZBX-17924-4.0 |
Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Jul 03 ] |
MySQL 8 users encounter this issue when upgrading to 4.0.18rc1 4.4.6rc1 or 5.0.0alpha2 meanwhile using unsupported character set in some table fields. No such issue observed in MariaDB 15.1 or MySQL 5.7. |
Comment by Mārtiņš Tālbergs (Inactive) [ 2020 Jul 15 ] |
Available in:
|