Roundcube plugin "ispconfig3_autoreply" can not handle $this->rcmail_inst->config->get('timezone')
Using the official documentation (http://www.howtoforge.com/using-roundcube-webmail-with-ispconfig-3-on-debian-wheezy-apache2) Roundcube hangs when trying "automatic answer" at the gui.
Roundcube timezone setting:
grep timezone /etc/roundcube/main.inc.php
// use this timezone to display date/time $rcmail_config['timezone'] = 'auto';
Regardless the timezone parameter setting, it's causing error:
----> /var/log/roundcube/errors: PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone (1)' in /var/lib/roundcube/plugins/ispconfig3_autoreply/ispconfig3_autoreply.php:132
Could resolve the problem by a dirty workaround:
In "/var/lib/roundcube/plugins/ispconfig3_autoreply/ispconfig3_autoreply.php" use "date_default_timezone_get()" instead "$this->rcmail_inst->config->get('timezone')" at all occurrences (5)
But an offical fix would be also fine. Thank you for your work!
Env:
ii linux-image-3.2.0-4-amd64 3.2.68-1+deb7u1 amd64 ii apache2 2.2.22-13+deb7u4 amd64 ii php5 5.4.39-0+deb7u2 all ii roundcube 0.7.2-9+deb7u1 all
ISPConfig Version: 3.0.5.4p5