-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Describe the issue
Fresh installation fails to find LOGBACKEND_CLASS definition although required variables are defined in config.php
PHP Fatal error: Uncaught Error: Undefined constant "LOGBACKEND_CLASS" in /opt/zpush/src/lib/core/zlog.php:141 Stack trace: #0 /opt/zpush/src/lib/core/zlog.php(83): ZLog::getLogger() #1 /opt/zpush/src/lib/core/zlog.php(231): ZLog::Write() #2 [internal function]: zpush_fatal_handler() #3 {main} thrown in /opt/zpush/src/lib/core/zlog.php on line 141
To Reproduce
Steps to reproduce the behavior:
Fresh installation with minimum settings change. v2.7.6 from github.
Point with browser to https://mail.DOMAIN.com/Microsoft-Server-ActiveSync/, browser will return error 500 and PHP log with have the error:
PHP Fatal error: Uncaught Error: Undefined constant "LOGBACKEND_CLASS" in /opt/zpush/src/lib/core/zlog.php:141 Stack trace: #0 /opt/zpush/src/lib/core/zlog.php(83): ZLog::getLogger() #1 /opt/zpush/src/lib/core/zlog.php(231): ZLog::Write() #2 [internal function]: zpush_fatal_handler() #3 {main} thrown in /opt/zpush/src/lib/core/zlog.php on line 141
- OS: CentOS7
- PHP: 8.1
- NGINX