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

Fatal error in user edit and profile forms due to missing optinal PHP extension that checks audio file mime type

XMLWordPrintable

    • Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • 0.25

      1. Open php.ini and comment php_fileinfo.dll disabling it.
      2. Restart and go to user profiles.
      3. Observe error:
      Fatal error: Uncaught Error: Call to undefined function mime_content_type() in C:\Development\zabbix-src\release\4.0\frontends\php\include\sounds.inc.php:27 Stack trace: #0 C:\Development\zabbix-src\release\4.0\frontends\php\include\views\administration.users.edit.php(345): getSounds() #1 C:\Development\zabbix-src\release\4.0\frontends\php\include\classes\mvc\CView.php(199): include('C:\\Development
      ...') #2 C:\Development\zabbix-src\release\4.0\frontends\php\profile.php(189): CView->render() #3 {main} thrown in C:\Development\zabbix-src\release\4.0\frontends\php\include\sounds.inc.php on line 27

      4. Go to setup.php and see that everything checks out "OK". No such module checking exists.

      Result: All necessary modules are loaded.

      Expected: Error about unloaded module

            iivs Ivo Kurzemnieks
            iivs Ivo Kurzemnieks
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: