How to fix Session lifetime invalid or expired in Roundcube WHM
We facing a problem into roundcube email section. All email account working fine except 2 account. We even deleted it and recreate it but the problem exists.
We even changed the session lifetime setting of roundcube from default 10 to 20 but no success.
Even we restart the exim but again no success.
But in last we change the session_lifetime value to again 0 to 20 and restart the exim than it work fine.
Some time you get the below error into log file
Using ${var} in strings is deprecated, use {$var} instead in /usr/local/cpanel/base/3rdparty/roundcube/plugins/cpanelchecks/cpanelchecks.php on line 149
Make sure you copy the roundcube config file before editing into it by running below command
cp -v /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php{,.$(date +%s)}.
After that use the the command to edit it.
nano /usr/local/cpanel/base/3rdparty/roundcube/config/config.inc.php
after editing it press the Ctrl+X , after that Y for yes and press enter to edit from editor