Skip to main content
  1. Posts/

Fixing Errors in cPanel RoundCube

·1 min·
cpanel cpanel roundcube
Table of Contents

Issue
#

Saat menggunakan RoundCube untuk mengelola dan mengirim pesan email, Anda mungkin mendapati error seperti berikut.

error roundcube

Solution
#

Untuk mengetahui penyebabnya, Anda dapat mengecek log error di /home/user/logs/.php.error.log.

# tail -f .php.error.log
[26-Jul-2024 13:06:34 Asia/Jakarta] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_html2text.php on line 662
[26-Jul-2024 13:11:57 Asia/Jakarta] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /usr/local/cpanel/base/3rdparty/roundcube/program/lib/Roundcube/rcube_html2text.php on line 662

Dari log error tersebut, kita telah mengetahui jika penyebab error pada RoundCube karena terlimit PHP Maximum execution time.

Untuk meningkatkan limit Maximum execution time, Anda perlu masuk ke server WHM/cPanel sebagai user root, lalu edit function set_time_limit yang ada di dalam file /usr/local/cpanel/base/3rdparty/roundcube/program/include/iniset.php.

nano /usr/local/cpanel/base/3rdparty/roundcube/program/include/iniset.php
// increase maximum execution time for php scripts
// (does not work in safe mode)
@set_time_limit(300);

Selanjutnya Anda bisa mengetesnya kembali.

Perlu diingat jika perubahan yang terjadi di dalam file /usr/local/cpanel/base/3rdparty/roundcube/program/include/iniset.php akan menghilang jika terdapat update RoundCube dari cPanel, sehingga Anda perlu menambahkan path file tersebut ke dalam /etc/cpanelsync.exclude.

echo /usr/local/cpanel/base/3rdparty/roundcube/program/include/iniset.php >> /etc/cpanelsync.exclude

Related

Error rebuildhttpdconf di cPanel
·1 min
cpanel cpanel
User MySQL Tidak Muncul di CPanel
·1 min
cpanel mysql cpanel
Error 500 in Python Applications using LiteSpeed and CloudLinux
·1 min
cpanel python cpanel cloudlinux litespeed
Account Termination Error: 'You do not have a user named username' di cPanel
·1 min
cpanel cpanel
CloudLinux Wizard: TypeError: ''NoneType'' object is not iterable
·1 min
cpanel cloudlinux cpanel
Resolving phpPgAdmin Permission Denied When Viewing Sequences
·1 min
cpanel linux cpanel postgresql