[Bug 271109] mail/roundcube: ICU & ctypes bugs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Apr 2023 00:49:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271109
Bug ID: 271109
Summary: mail/roundcube: ICU & ctypes bugs
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ale@FreeBSD.org
Reporter: darius@dons.net.au
Assignee: ale@FreeBSD.org
Flags: maintainer-feedback?(ale@FreeBSD.org)
Hi,
I just installed the roundcube-php81-1.6.1,1 package on a 13.1-RELEASE-p6
system and ran into two problems.
The first was:
[28-Apr-2023 00:30:52 +0000]: <mksj46p8> DB Error: SQLSTATE[HY000] [14] unable
to open database file in
/usr/local/www/roundcube/program/lib/Roundcube/rcube_db.php on line 201 (GET /)
[28-Apr-2023 00:31:31 UTC] PHP Fatal error: Uncaught Error: Undefined constant
"INTL_IDNA_VARIANT_UTS46" in
/usr/local/www/roundcube/program/lib/Roundcube/rcube_utils.php:1153
Which I fixed by replacing INTL_IDNA_VARIANT_UTS46 with 0 as per
https://github.com/guzzle/guzzle/pull/2454/commits/c63379edaad8af790be9e3bbd3d40d4eaae4e30c
The second was:
[28-Apr-2023 00:38:29 UTC] PHP Fatal error: Uncaught Error: Call to undefined
function Masterminds\HTML5\Parser\ctype_alpha() in
/usr/local/www/roundcube/vendor/masterminds/html5/src/HTM
L5/Parser/Tokenizer.php:140
Which I fixed by replacing the ctype_alpha() call with a hand rolled function
as per https://github.com/Masterminds/html5-php/issues/173
--
You are receiving this mail because:
You are the assignee for the bug.