Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cakePHP - DebugKit Toolbar not visible

After successful installation of cakePHP via Composer no DebugKit toolbar is visible.

This is really weird cause while the installation process the following has shown:

- Installing cakephp/debug_kit (3.1.0)
  Loading from cache

config/bootstrap.php:

// Only try to load DebugKit in development mode
// Debug Kit should not be installed on a production system
if (Configure::read('debug')) {
    Plugin::load('DebugKit', ['bootstrap' => true]);
}

config/app.php:

/**
 * Debug Level:
 *
 * Production Mode:
 * false: No error messages, errors, or warnings shown.
 *
 * Development Mode:
 * true: Errors and warnings shown.
 */
'debug' => true,

Normally (manual installation), the plugin is stored in plugins-folder but it is empty.

Is there anything else I have to configure?

Kind regards,

Phil

like image 930
phil-in-the-blank Avatar asked Dec 11 '22 23:12

phil-in-the-blank


1 Answers

Install the php5-sqlite extension. (this is for php5, use whatever version you are running)

If you are running on Ubuntu...

sudo apt-get install php5-sqlite

Not sure what the package name is on centos/redhat, but you can use the following command to find what the exact package name is.

sudo yum search php

Once you have the package name you can use the following to install it...

sudo yum install <Package Name> 

Don't forget to restart your web server after installing. Restart the php service as well if you are using php fpm.

like image 169
Micah Potter Avatar answered Jan 18 '23 20:01

Micah Potter