Mismatch DB version in include/defines.inc.php

XMLWordPrintable

    • Type: Incident report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 5.4.0
    • Component/s: Server (S)
    • None
    • Environment:
      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.

            Assignee:
            Zabbix Development Team
            Reporter:
            Arkadiusz Majewski
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: