Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19411

Mismatch DB version in include/defines.inc.php

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 5.4.0
    • Server (S)
    • None
    • Ubuntu 18.04, nginx 1.20, PHP-7.3, MariaDB 10.5

      Steps to reproduce:

      1. Installation from source http://repo.zabbix.com/zabbix/5.4/ubuntu/pool/main/z/zabbix/zabbix_5.4.0.orig.tar.gz
      2. After all, mismatch DB version. Instead 504000, there is -0.1.1600 in the file include/defines.inc.php .

      Result:
      Cannot open Zabbix web interface.
      Nginx error.log data

      FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '.1600' (T_DNUMBER), expecting ')' in /usr/share/zabbix/include/defines.inc.php on line 25"

      Expected:
      After changed the row to define('ZABBIX_DB_VERSION', '5040000'); in include/defines.inc.php Zabbix works.

            zabbix.dev Zabbix Development Team
            arkadiusz.majewski@iptrace.pl Arkadiusz Majewski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: