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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: