Release Support > Pending Issues

help

(1/1)

Win_7:
hello i have an issue where it throws an internal error while trying to login heres the error log

[11-Mar-2023 11:53:28 Europe/Berlin] PHP Fatal error:  Uncaught Error: Undefined constant "INTL_IDNA_VARIANT_UTS46" in C:\xampp\htdocs\program\lib\Roundcube\rcube_utils.php:1153
Stack trace:
#0 C:\xampp\htdocs\program\lib\Roundcube\rcube_utils.php(1117): rcube_utils::idn_convert('localhost', true)
#1 C:\xampp\htdocs\program\include\rcmail.php(761): rcube_utils::idn_to_ascii('localhost')
#2 C:\xampp\htdocs\index.php(119): rcmail->login('email', 'password', 'localhost', true)
#3 {main}
  thrown in C:\xampp\htdocs\program\lib\Roundcube\rcube_utils.php on line 1153

simoneitalia:
do you solve it?

Win_7:

--- Quote from: simoneitalia on March 23, 2023, 04:32:47 AM ---do you solve it?

--- End quote ---

yes i did solve it i edited the file to define that variable with the help of chatgpt ill send u the code if i remember today if i dont remember then quote me

markc:
Yes, please. I just upgraded to php 8.2 and hit the same problem. I don't know how to use ChatGPT or what to "ask" it.

JohnDoh:
Its not specifically a Roundcube issue. It has to do with PHP's intl extension and the version of ICU you have on your system. From https://www.php.net/manual/en/function.idn-to-ascii.php "Either INTL_IDNA_VARIANT_2003 (deprecated as of PHP 7.2.0) for IDNA 2003 or INTL_IDNA_VARIANT_UTS46 (only available as of ICU 4.6) for UTS #46."

Also see https://github.com/roundcube/roundcubemail/issues/8755

Navigation

[0] Message Index

Go to full version