[RCD] [v0.2] syslog error: openlog() expects parameter 3 to be long

Zhang Huangbin zhbmaillistonly at gmail.com
Sat Mar 7 14:51:42 CET 2009


I got this error in roundcube-0.2-stable:

PHP Warning:  openlog() expects parameter 3 to be long, string given in 
/var/www/roundcubemail-0.2-stable/program/include/rcmail.php on line 89

My config:
# File: config/main.inc.php
$rcmail_config['log_driver'] = "syslog";
$rcmail_config['syslog_id'] = "roundcube";
$rcmail_config['syslog_facility'] = "LOG_USER";
# File: /etc/syslog.conf
user.*                          -/var/log/roundcube.log

How can i solve it?

Best regards.

Zhang Huangbin

- Open Source Mail Server Solution for RHEL/CentOS 5.x:

List info: http://lists.roundcube.net/dev/

More information about the Dev mailing list