DebugKit Installation
![](http://kwski.net/blog/wp-content/uploads/2013/05/cakephp-604x270.png)
Installing DebugKit after finished Blog tutorial.
You will be able to download from here for CakePHP 2.x (but they say "CakePHP 2.2.0 or greater")
Debugkit for CakePHP 2.x
Installation step
- Unzip and make sure the name of folder "DebugKit", then put in app/plugins like
app/Plugins/DebugKit - Add this in app/Config/bootstrap.php to load plugin
[php]CakePlugin::load('DebugKit');[/php] - Include component in app/Controller/AppController.php
[php]var $components = array(‘DebugKit.Toolbar’);[/php]
Confirm PHP version
In case you encounter the following message, you need to check if PHP version is 5.3.0 or later.
Parse error: syntax error, unexpected T_FUNCTION in ~app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php on line 174
Debugkit for CakePHP 1.3
Download
1.3 Branch (FYI For 1.2)
Installation
-
Unzip and make sure the name of folder “debug_kit”, then put in app/plugins like
app/plugins/debug_kitIn case you see the following message, you need to check if all letters written in lower case like 'debug_kit'.
Error: The component file was not found.
Error: Create the class ToolbarComponent in file: app/controllers/components/toolbar.php - add as a component in app/app_controller.php
[php]var $components = array('DebugKit.Toolbar');[/php]
関連記事
-
-
(日本語) 入力文字列の長さ(文字数)をバリデーション
Sorry, this entry is only available in 日本語.
-
-
(日本語) CakeEmailでメール送信(@gmail)
Sorry, this entry is only available in 日本語.
-
-
(日本語) FormヘルパーのMagicOption (マジックオプション)
Sorry, this entry is only available in 日本語.
-
-
(日本語) radioボタンを実装
Sorry, this entry is only available in 日本語.
-
-
(日本語) checkボックスを実装
Sorry, this entry is only available in 日本語.
-
-
(日本語) recursive設定によるfind()性能改善
Sorry, this entry is only available in 日本語.
-
-
(日本語) ハッシュ関数の選択とハッシュ化処理
Sorry, this entry is only available in 日本語.
-
-
(日本語) ログローテーション
Sorry, this entry is only available in 日本語.
-
-
(日本語) CakePHP インストール時エラーの対処
Sorry, this entry is only available in 日本語.
-
-
(日本語) コントローラ内でバリデーション処理を呼び出す
Sorry, this entry is only available in 日本語.
Comment
[…] http://kwski.net/cakephp-2-x/1005/ […]
otukutunのはてブ棚卸し:CakePHP 2.x: DebugKitをインストール | Think deeply, Do less, More effective http://t.co/pyFx9OICXG
[…] 参考:http://kwski.net/cakephp-2-x/1005/ […]
CakePHP 2.x | DebugKitを導入 | Think deeply, Do less, More effective http://kwski.net/cakephp-2-x/1005/ … @kwski3さんから
[...] エラーがでてこまった。原因はこれだった。 [...]