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

Undefined function gzdeflate() error

    XMLWordPrintable

Details

    • Incident report
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • 5.0.3
    • None
    • Frontend (F), Packages (C)
    • SUSE Linux, PHP 7.2
    • Team B

    Description

      Steps to reproduce:

      1. Precondition: Zlib support in PHP is not enabled
      2. Navigate to Administration -> Authentication and configure SAML settings.
      3. Logout and try to login using "Sign in with Single Sign-On (SAML)".

      Result:
      500 error.
      From PHP log:

      PHP Fatal error: Uncaught Error: Call to undefined function OneLogin\Saml2\gzdeflate() in <...>/vendor/php-saml/src/Saml2/AuthnRequest.php:188
      

      To solve the problem in SUSE Linux, separate package php-zlib must be installed.
      When installing PHP from source, it should be configured --with-zlib[=DIR].

      The error will not appear if compression of SAML requests and responses (enabled by default) is disabled using the following settings in zabbix.conf.php:

      $SSO['SETTINGS'] = [
          'compress' => [
              'requests' => false,
              'responses' => false
          ]
      ];
      

      Attachments

        Activity

          People

            agriscenko Andrejs Griščenko
            agriscenko Andrejs Griščenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: