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
# 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?
It should be a constant LOG_USER, not the string "LOG_USER".
В Sat, 07 Mar 2009 21:51:42 +0800 Zhang Huangbin zhbmaillistonly@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?
Aleksei Miheev wrote:
It should be a constant LOG_USER, not the string "LOG_USER".
It works. Thanks Aleksei. :)