2016-11-07 2 views
1

cakephp 3.2を使用しています。 私のプロジェクトは、ローカルで完璧に作業しています。 ライブサーバーにアップロードしました。私のサーバーでphpinfo.phpページをチェックして、そのintlを取得し、mbstring拡張機能がサーバーで有効になっていませんが、この2つのエラーメッセージは表示されません。 何が起こっているのか分かりません。 サーバで拡張機能が有効になっていないため、この2エラーメッセージが表示されます。サーバのcakephp 3.2でIntlとmbstringの拡張エラーが表示されない

// You can remove this if you are confident you have intl installed. 
if (!extension_loaded('intl')) { 
    trigger_error('You must enable the intl extension to use CakePHP.', E_USER_ERROR); 
} 

// You can remove this if you are confident you have mbstring installed. 
if (!extension_loaded('mbstring')) { 
    trigger_error('You must enable the mbstring extension to use CakePHP.', E_USER_ERROR); 
} 

任意のヘルプ? ありがとうございます。

答えて

1

あなたにこのラインを入れて、すべてのエラー

error_reporting(E_ALL); 
ini_set("display_errors", "on"); 

(オーバーヘッドにこのライン)を表示するのindex.phpファイルをルート

require 'webroot' . DIRECTORY_SEPARATOR . 'index.php'; 
+1

何 'DEBUG'と' Error.errorLevel'だこと構成があります。また、質問に記載されているエラーがログに書き込まれているはずです。 – ndm

関連する問題