Bug 271763 - net-mgmt/zabbix6-frontend Uncaught Error: Class "CHtmlEntity" not found
Summary: net-mgmt/zabbix6-frontend Uncaught Error: Class "CHtmlEntity" not found
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Juraj Lutter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-01 10:40 UTC by Tomáš Čiernik
Modified: 2023-06-02 06:44 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (otis)


Attachments
Added CHtmlEntity.php into pkg-plist.frontend (822 bytes, patch)
2023-06-01 10:40 UTC, Tomáš Čiernik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Čiernik 2023-06-01 10:40:19 UTC
Created attachment 242533 [details]
Added CHtmlEntity.php into pkg-plist.frontend

After upgrading to zabbix frontend 6.0.18 PHP throws error "Class "CHtmlEntity" not found in /usr/local/www/zabbix6/include/html.inc.php:158"
Comment 1 abaluta 2023-06-01 12:03:34 UTC
Temporary workaround:

From the source files, you need to take the CHtmlEntity.php file and put it in /usr/local/www/zabbix6/include/classes/html/
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-06-02 06:39:07 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3f673ced06d252b4e396ae2b2d81a434ca3b2e71

commit 3f673ced06d252b4e396ae2b2d81a434ca3b2e71
Author:     Juraj Lutter <otis@FreeBSD.org>
AuthorDate: 2023-06-02 06:36:32 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2023-06-02 06:36:32 +0000

    net-mgmt/zabbix6-frontend: Fix plist

    Add one missing entry to plist for frontend.

    PR:             271763

 net-mgmt/zabbix6-frontend/Makefile         | 2 +-
 net-mgmt/zabbix6-server/pkg-plist.frontend | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
Comment 3 Juraj Lutter freebsd_committer freebsd_triage 2023-06-02 06:44:04 UTC
Fixed. Sorry for the inconvenience.