Roundcube Community Forum

Release Support => Pending Issues => Topic started by: gossamer on August 08, 2024, 02:24:19 PM

Title: php-8.3 support and fedora40
Post by: gossamer on August 08, 2024, 02:24:19 PM
Hi,
I'm using roundcube-1.6.3 (also tried 1.6.8 ) and having the following problem reported in my php-fpm error log:

[08-Aug-2024 14:11:28 America/New_York] PHP Fatal error:  Uncaught Error: Undefined constant "INTL_IDNA_VARIANT_UTS46" in /usr/share/roundcubemail-webmail/program/lib/Roundcube/rcube_utils.php:1153
Stack trace:
#0 /usr/share/roundcubemail-webmail/program/lib/Roundcube/rcube_utils.php(1117): rcube_utils::idn_convert('clients.mysite...', true)
#1 /usr/share/roundcubemail-webmail/program/include/rcmail.php(761): rcube_utils::idn_to_ascii('clients.mysite...')
#2 /usr/share/roundcubemail-webmail/index.php(119): rcmail->login('alex', 'dsf72f', 'clients.mysite...', true)
#3 {main}
  thrown in /usr/share/roundcubemail-webmail/program/lib/Roundcube/rcube_utils.php on line 1153

It appears this issue was also discussed a year ago here:
https://www.roundcubeforum.net/index.php?topic=30316.0

Applying the same fix helped me in this case, but is this a problem with php-8.3 support and roundcube? Or the version of ICU(?) installed on fedora40? Or something else?


I'm currently using libicu-74.2-1.fc40.x86_64