[ZBX-16848] Fatal error in user edit and profile forms due to missing optinal PHP extension that checks audio file mime type Created: 2019 Oct 31  Updated: 2024 Apr 10  Resolved: 2019 Dec 19

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 4.0.14, 4.4.1
Fix Version/s: 4.0.16rc1, 4.4.4rc1, 5.0.0alpha1, 5.0 (plan)

Type: Problem report Priority: Trivial
Reporter: Ivo Kurzemnieks Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: frontend, php, setup
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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



 Comments   
Comment by Vasily Goncharenko (Inactive) [ 2019 Nov 05 ]

Fixed in development branch feature/ZBX-16848-4.0

Comment by Ivo Kurzemnieks [ 2019 Dec 12 ]

Fixed in:

Generated at Tue Jul 22 09:09:13 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.