Hi all,
PHP 7.4.32
after upgrading from 1.4.15 LTS to 1.5.12 LTS i get this on some emails (not all), the error show opening emails with "simple" content eg. the ones with text and one or 2 lines as body eg. the test email from the Roundcube installer.
Details:
[13-Jan-2026 21:02:08 Europe/Rome] PHP Fatal error: Uncaught IntlException: fopen(rcmail_string_replacer.php): failed to open stream: Bad file number in D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php:443
Stack trace:
#0 D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php(443): fopen('rcmail_string_r...', 'r', true)
#1 [internal function]: rcube_autoload('rcmail_string_r...')
#2 D:\apache\htdocs\webmail\program\lib\Roundcube\rcube_text2html.php(145): spl_autoload_call('rcmail_string_r...')
#3 D:\apache\htdocs\webmail\program\lib\Roundcube\rcube_text2html.php(130): rcube_text2html->_converter(NULL)
#4 D:\apache\htdocs\webmail\program\lib\Roundcube\rcube_text2html.php(110): rcube_text2html->_convert()
#5 D:\apache\htdocs\webmail\program\actions\mail\index.php(1102): rcube_text2html->get_html()
#6 D:\apache\htdocs\webmail\program\actions\mail\show.php(742): rcmail_action_mail_index::plain_body(NULL)
#7 D:\apache\htdocs\webmail\program\include\rcmail_output_html.php(1484): rcmail_action_ in D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php on line 443
I also had the issue oops, internal error and i had to copy jquery.ui.datepicker-it.js to jquery.ui.datepicker-it.min.js under \plugins\jq... to fix this.
Of course i've not found any info/fix about the "bad file number" issue.
Eg. The content of one of the emails that show the issue:
"
MIME-Version: 1.0
From:
[email protected]To:
[email protected]Subject: Test message from Roundcube
Message-ID: <0066020880.00006X6I@srv2>
Date: Tue, 13 Jan 2026 18:20:20 -0000
X-Date-Added: Date header was added by srv2
This is a test to confirm that Roundcube can send email.
"
thanks for any help
massimo
assuming the upgrade went smoothly and the file is present in program\lib\Roundcube\ have you checked the permissions?
Sounds like PHP issue. How about restarting Apache. https://github.com/roundcube/roundcubemail/issues/8544