Skip to content

The upload files in documents and company logo fails as mime_content_type deprecated

You can upload files in documents and change company logo only if you are using php 5.5

In case you use php 5.4 “in my case v5.4.45” you will get this error Fatal error: Call to undefined function mime_content_type() in /home/vtigerdemo/public_html/vtigerdemo/modules/Settings/Vtiger/actions/CompanyDetailsSave.php on line 31

mime_content_type: This function has been deprecated as the PECL extension Fileinfo provides the same functionality (and more) in a much cleaner way. http://php.net/manual/en/function.mime-content-type.php

http://vtiger-crm.2324883.n4.nabble.com/Re-Vtiger-6-4-arrives-with-support-for-installing-Layouts-via-marketplace-td17712.html