mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
362 stars 274 forks source link

Mautic nead exif php Add docker-php-ext-install exif #197

Closed miguelurtado closed 3 years ago

miguelurtado commented 3 years ago

Hello,

Mautic need EXIF to work with files field in forms.

Error log: mautic.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedFunctionException: "Attempted to call function "exif_imagetype" from namespace "Mautic\FormBundle\Helper"." at /var/www/html/app/bundles/FormBundle/Helper/FormUploader.php line 154 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\UndefinedFunctionException(code: 0): Attempted to call function \"exif_imagetype\" from namespace \"Mautic\\FormBundle\\Helper\". at /var/www/html/app/bundles/FormBundle/Helper/FormUploader.php:154)"} []

ADD this docker-php-ext-install exif docker file

Thanks..!

acremonezi commented 3 years ago

Additional info: This missing php extension makes this issue bellow happen:

https://forum.mautic.org/t/file-form-field-type-does-not-work/19640

I have done this docker-php-ext-install exif inside the container, and the issue above was solved.

Thanks and best regards.

mautibot commented 3 years ago

This issue has been mentioned on Mautic Community Forums. There might be relevant details there:

https://forum.mautic.org/t/file-form-field-type-does-not-work/19640/2

luizeof commented 3 years ago

will be available in the image of mautic 4