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

Aleksei Miheev amiheev at st-host.ru
Sat Mar 7 15:03:25 CET 2009


It should be a constant LOG_USER, not the string "LOG_USER".

В Sat, 07 Mar 2009 21:51:42 +0800
Zhang Huangbin <zhbmaillistonly at gmail.com> пишет:

> Hi,
> 
> 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?
> 

-- 
Regards,
Aleksei Miheev
http://miheev.info/ | http://st-host.ru/
mailto:amiheev at st-host.ru
_______________________________________________
List info: http://lists.roundcube.net/dev/


More information about the Dev mailing list