Hello
After the upgrade to version 13.1.0 running on on Apache with php 7.3 if i will do the syncroniation of ftp files i became this error message. If i disable the synchronization of metadata the error will not appear.
Fatal error: Uncaught Error: Call to undefined function mime_content_type() in C:\Apache24\htdocs\photos\admin\include\functions_metadata.php:185 Stack trace: #0 C:\Apache24\htdocs\photos\admin\site_reader_local.php(155): get_sync_metadata(Array) #1 C:\Apache24\htdocs\photos\admin\site_update.php(862): LocalSiteReader->get_element_metadata(Array) #2 C:\Apache24\htdocs\photos\admin.php(320): include('C:\\Apache24\\htd...') #3 {main} thrown in C:\Apache24\htdocs\photos\admin\include\functions_metadata.php on line 185
Offline
Your PHP installation lacks the fileinfo extension or it's disabled or not configured.
https://www.php.net/manual/en/fileinfo.installation.php
> Windows users must include the bundled php_fileinfo.dll DLL file in php.ini to enable this extension.
Also you may have to add a mime_magic.magicfile to php.ini pointing to a PHP magic.mime file.
Alternatively, if you don't want to sync SVG files, you can apply the patch of this pull request:
https://github.com/Piwigo/Piwigo/pull/1776
Offline
Thank you verry much this solve my problem.
Offline