2017-08-23 7 views
1

Suite crm 7.9.1を使用しています。初心者からスーツまで。定義されていない関数mime_content_type()を呼び出します。

キャンペーンモジュールに個人用フォームを作成しました。正常に作成されました。しかし、私はそれをダウンロードしようとしたときに、以下のエラーが発生しました。

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/testsite/public_html/download.php:180 Stack trace: #0 /home/testsite/public_html/include/MVC/Controller/SugarController.php(1007): require_once() #1 /home/testsite/public_html/include/MVC/Controller/SugarController.php(458): SugarController->handleEntryPoint() #2 /home/testsite/public_html/include/MVC/Controller/SugarController.php(366): SugarController->process() #3 /home/testsite/public_html/include/MVC/SugarApplication.php(108): SugarController->execute() #4 /home/testsite/public_html/index.php(53): SugarApplication->execute() #5 {main} thrown in /home/testsite/public_html/download.php on line 180

このエラーで閲覧したときに、この拡張機能をインストールするという解決策が得られました。私はPHP 7を使用しています。

ライブでcpanelの拡張を追加することは安全です。共有ホストなので、他のPHPプロジェクトに影響します。

私はphpinfoを実行すると、mime_typeについて何かを発見しました。以下

default_mimetype - text/html 
mbstring.http_output_conv_mimetypes - ^(text/|application/xhtml\+xml) 

答えて

関連する問題