Announcement

#1 2022-11-05 09:19:50

Harri
Member
2022-11-05
4

Sync error agter upgrade to version 13.1.0

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

 

#2 2022-11-05 10:21:43

erAck
Only trying to help
2015-09-06
2031

Re: Sync error agter upgrade to version 13.1.0

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


Running Piwigo at https://erack.net/gallery/

Offline

 

#3 2022-11-05 11:43:38

Harri
Member
2022-11-05
4

Re: Sync error agter upgrade to version 13.1.0

Thank you verry much this solve my problem.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact