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

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • Story Points:
      0.25

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            iivs Ivo Kurzemnieks
            Reporter:
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: