1 (edited by sdaniel 2013-07-22 11:40:20)

Topic: roundcube error message

==== Required information ====
- iRedMail version: 0.8.5
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MYSQL
- Linux/BSD distribution name and version: CentOS 5.2
- Related log if you're reporting an issue:  roundcube error message
- PHP version: php5.3
        PHP 5.3.3 (cli) (built: Jul 12 2013 16:55:54)
        Copyright (c) 1997-2010 The PHP Group
        Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
- RoundCube mail Version: 0.9.2
====

[22-Jul-2013 11:07:39] PHP Warning:  finfo_open(): Failed to load magic database at '/usr/share/file/magic'. in /var/www/roundcubemail-0.9.2/program/lib/Roundcube/rcube_mime.php on line 727

[22-Jul-2013 11:13:39] PHP Warning:  timezone_open(): Unknown or bad timezone (8) in /var/www/roundcubemail-0.9.2/program/lib/Roundcube/rcube_config.php on line 428

[22-Jul-2013 11:13:39] PHP Fatal error:  Call to a member function getName() on a non-object in /var/www/roundcubemail-0.9.2/program/lib/Roundcube/rcube_config.php on line 429

in my /etc/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.c … e.timezone
date.timezone = "Asia/Chongqing"

Could you give me any advice?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: roundcube error message

PHP date/time zones can be different from an installation to another. I would explore your available zones with a snippet like

<?php
$timezone_identifiers = DateTimeZone::listIdentifiers();
print_r($timezone_identifiers);
?>

to check whether your zone is available under another name. Alternatively, you can update your timedate zones database, as referred in http://www.php.net/manual/en/timezones.php