Hi mates!
I have fresh installation of zabbix 6.4.3. Try to open setup.php and see blank screen. What have I got?
PHP version and php modules
I use nginx+php-fpm thgrough unix socket. Phpinfo.php works fine.
Nginx debug error log here
I have fresh installation of zabbix 6.4.3. Try to open setup.php and see blank screen. What have I got?
Code:
$ uname -a FreeBSD tank 13.2-RELEASE FreeBSD 13.2-RELEASE releng/13.2-n254617-525ecfdad597 GENERIC amd64
Code:
i@tank:~ $ php -v PHP 8.2.6 (cli) (built: May 31 2023 23:56:53) (ZTS) Copyright (c) The PHP Group Zend Engine v4.2.6, Copyright (c) Zend Technologies i@tank:~ $ php -m [PHP Modules] bcmath bz2 Core ctype date dom filter gd gettext hash iconv json ldap libxml mbstring mysqli mysqlnd openssl pcre random Reflection session SimpleXML sockets SPL standard xml xmlreader xmlwriter zip zlib [Zend Modules]
Nginx debug error log here
Code:
2023/06/01 02:32:45 [error] 1473#100391: *22 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class "CHtmlEntity" not found in /usr/local/www/zabbix64/include/html.inc.php:146
Stack trace:
#0 /usr/local/www/zabbix64/include/classes/helpers/CBrandHelper.php(121): COPYR()
#1 /usr/local/www/zabbix64/include/html.inc.php(834): CBrandHelper::getFooterContent()
#2 /usr/local/www/zabbix64/setup.php(194): makePageFooter()
#3 {main}
thrown in /usr/local/www/zabbix64/include/html.inc.php on line 146" while reading response header from upstream, client: 192.168.0.29, server: tank.local, request: "GET /zabbix/setup.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "tank.local"
2023/06/01 02:32:45 [error] 1473#100391: *22 FastCGI sent in stderr: "; PHP message: PHP Warning: Undefined array key "file" in /usr/local/www/zabbix64/include/classes/debug/CProfiler.php on line 381; PHP message: PHP Warning: Undefined array key "line" in /usr/local/www/zabbix64/include/classes/debug/CProfiler.php on line 381; PHP message: PHP Warning: Trying to access array offset on value of type null in /usr/local/www/zabbix64/include/classes/core/CCookieSession.php on line 194; PHP message: PHP Warning: Undefined array key "file" in /usr/local/www/zabbix64/include/classes/debug/CProfiler.php on line 381; PHP message: PHP Warning: Undefined array key "line" in /usr/local/www/zabbix64/include/classes/debug/CProfiler.php on line 381; PHP message: PHP Warning: Cannot modify header information - headers already sent in /usr/local/www/zabbix64/include/classes/helpers/CCookieHelper.php on line 59; PHP message: PHP Warning: PHP Request Shutdown: Failed to write session data using user defined save handler. (session.save_path: /tmp, handler: write) in Unknown on line 0" while reading upstream, client: 192.168.0.29, server: tank.local, request: "GET /zabbix/setup.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "tank.local"
Comment