After automatic upgrade in CWP7, can't list emails in inbox folder
msg:
This list is empty
however numbers of emails are ok
when refresh,
internal server error appear
in log file
[19-Oct-2021 11:29:22 UTC] PHP Fatal error: Uncaught Error: Class 'Spoofchecker' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php:50
Stack trace:
#0 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(1400): rcube_spoofchecker::check('somedomain.com')
#1 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(523): rcmail_action_mail_index::address_string('somedoamin <geral@n...', 3, false, NULL, 'utf-8')
#2 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/list.php(123): rcmail_action_mail_index::js_message_list(Array, false, Array)
#3 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(275): rcmail_action_mail_list->run(Array)
#4 /usr/local/cwpsrv
php 7.4
intl extension installed
can someone know how to solve this issue?
thanks!!!
I'm also having the same problem.
if some one use cwp7 can downgrade to 1.4.11 see
https://forum.centos-webpanel.com/index.php?topic=11376.0
Hi guys, this is my first post on the board,
This error is caused by Spoofchecker PHP exception.
To temporary bypass this error do the folowing:
Other panels, locate file rcube_spoofchecker.php, that will be in another location
For CWP7
edit file /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php
Line 50 have the folowing:
// Spoofchecker is part of ext-intl (requires ICU >= 4.2)
$checker = new Spoofchecker();
Insert this before 50
return false;
After edit/save, will looks this the folowing
return false;
// Spoofchecker is part of ext-intl (requires ICU >= 4.2)
$checker = new Spoofchecker();
DONE! your mail is working again! BUT NOTE: No Spoofing will be checked!
Hope Roundcube team solve that soom.
for records, i have tryed the folowing version f PHP: 7.2.34 and PHP 7.3.27, both same error! 7.3.x and up wont works for me, because i need --with-interbase
ICU 4.2 was released in 2009. It is a shame that there are systems that do not have it in 2021. I don't think we'll support these systems.
ps. Roundcube 1.6 will require PHP >= 7.3.
Quote from: alec on October 20, 2021, 04:51:14 AM
ICU 4.2 was released in 2009. It is a shame that there are systems that do not have it in 2021. I don't think we'll support these systems.
ps. Roundcube 1.6 will require PHP >= 7.3.
My server with CWP-7 have
icu-50.2-4.el7_7.x86_64 package installed, so i dont think this is the cause of problem.
Then maybe the Intl extension did not get enabled properly. Restart the web server. I have no other clue.