Enable debugging mode in Roundcube webmail

Sometimes, when something gone wrong, it may very useful to enable debugging mode on some PHP apps.

In this article, I’ll show you how to enable debugging mode in roundcube (it’s was tested in version 3.1)

Step 1 and Final Step : Edit the Roundcube main config file

If change $config['debug_level'] to 4 errors will be displayed in UI (that's what i want)

The main config file is located in /your_roundcube_install/config/config.inc.php

Add settings at the end of config.inc.php file :

// system error reporting, sum of: 1 = log; 4 = show
$config['debug_level'] = 4;

// Log SQL queries
$config['sql_debug'] = true;

// Log IMAP conversation
$config['imap_debug'] = true;

// Log LDAP conversation
$config['ldap_debug'] = true;

// Log SMTP conversation
$config['smtp_debug'] = true;

 

There is no need to restart web service to apply new settings, Juste reload the roundcube website (with F5 key)

Have a fun !!!

Sources : 

https://github.com/roundcube/roundcubemail/wiki/Howto-Report-Issues

florian

Hi, I'm Florian and I'm 32 years old. I have discover IT at 17, and i had my first internet connection at 23. So i'm not going to say that i was very precocious in this domain... PS : I 'm French, so please, be lenient with my english ;)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.