cakephp-2.10.13でDebugkitの導入がうまく出来ません。
エラー文: Error: The application is trying to load a file from the DebugKit plugin
Error: Make sure your plugin DebugKit is in the app/Plugin directory and was loaded
bootstrap.phpに2行追加
bootstrap.php コードCakePlugin::loadAll(); // Loads all plugins at once CakePlugin::load('DebugKit'); // Loads a single plugin named DebugKit
AppController.phpを編集
class AppController extends Controller { var $components = array('DebugKit.Toolbar'); } コード
default.ctpのsql.dumpをコメントアウト
<//?php echo $this->element('sql_dump'); ?> コード
core.phpのdebugレベルを1に変更
Configure::write('debug', 1); コード
解凍してディレクトリ名を「DebugKit」に変更し、app/Plugin下へ配置(=>app/Plugin/DebugKit) 。
Stack Trace
APP/Config/bootstrap.php line 116 → CakePlugin::load(string) CORE/Cake/Core/Configure.php line 98 → include(string) CORE/Cake/bootstrap.php line 439 → Configure::bootstrap(boolean) APP/webroot/index.php line 102 → include(string)
ここまではエラー文を検索して進めましたが、どうにもこのエラーを解消できません。
何が原因かご教授いただければ幸いです。よろしくお願いいたします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。