16
11

More than 5 years have passed since last update.

cakePHP DebugKitが導入できない問題 ~3系への変遷~

Last updated at Posted at 2015-05-01

cakePHPのDebugKitの導入が出来ない…

DebugKitの導入は以下のページを参考にするなどして簡単に出来ます。
CakePHP DebugKit の導入手順

…出来るはずでした。

Error: DebugKit.ToolbarComponent could not be found.
Error: Create the class ToolbarComponent below in file: /Applications/MAMP/htdocs/practice/twitter_login/app/Plugin/DebugKit/Controller/Component/ToolbarComponent.php

なぬ、出来ない!!

まさかの3系対応

READEME.mdをよく見てみると、

The master branch has the following requirements:

CakePHP 3.0.0 or greater.
PHP 5.4.16 or greater.
SQLite or another database driver that CakePHP can talk to. By default DebugKit will use SQLite, if you need to use a different database see the Database Configuration section below.

masterブランチは3.0.0以上対応ですよということか。

If you want DebugKit for your 2.x application, you can use the latest 2.2.y tag or the 2.2 branch.

2系はブランチの「2.2」を使えば良いとのこと。

「2.2」を使えば無事出来ました!

ちなみに、ブランチはgitHubの左上のあたりにあります。
いつの間にか変更されていて戸惑いましたがちゃんと書いてありましたね。

16
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
11