Author Topic: CWP Roundcube Bug  (Read 9984 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CWP Roundcube Bug
« on: March 07, 2018, 12:24:24 PM »
when the login roundcube, 500 server error

roundcube logs
thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php on line 405
[07-Mar-2018 10:40:56 UTC] PHP Fatal error:  Uncaught Error: Class 'Net_IDNA2' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/bootstrap.php:405

boostrap.php

if (!function_exists('idn_to_ascii'))
{
    function idn_to_ascii($domain)
    {
        static $idn, $loaded;

        if (!$loaded) {
            $idn    = new Net_IDNA2();
            $loaded = true;
        }

        if ($idn && $domain && preg_match('/[^\x20-\x7E]/', $domain)) {
            try {
                $domain = $idn->encode($domain);
            }
            catch (Exception $e) {
            }
        }

        return $domain;
    }
}

bold line is problem line. no have this function on bootstrap.php

Offline
*
Re: CWP Roundcube Bug
« Reply #1 on: March 12, 2018, 10:43:43 AM »
If someone install CWP, need to first upgrade Roundcube.. Because, all releases (6 and 7) have bug in roundcube.

I solved that problem. Downloaded 1.3.4 version of roundcube and changed all files and installed again and fixed..

Offline
*
Re: CWP Roundcube Bug
« Reply #2 on: January 26, 2019, 12:12:41 PM »
Has there been resolve to this, we're getting a 500 error on a brand new install of CWP7 Pro.  Please advise.

Offline
***
Re: CWP Roundcube Bug
« Reply #3 on: January 27, 2019, 01:52:49 AM »
I think it's better to upgrade roundcube.
You can use the following HowTos:

https://www.mysterydata.com/upgrade-to-roundcube-version-mail-on-cwp-centos-webpanel/

https://panel.bullten.net/knowledgebase/31/Update-Roundcube-in-CWP.html

https://blog.bullten.com/centos-web-panel/upgrading-roundcube-webmail-in-cwp/

Their versions are a bit outdated, but I already use them and works downloading the latest stable version.
Don't forget to backup before.

Regards,
Netino

Offline
*
Re: CWP Roundcube Bug
« Reply #4 on: February 14, 2019, 10:53:25 PM »
in centos7 it's simple
Code: [Select]
sh /scripts/mail_roundcube_update
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.