# |
Jul 16th 2021, 10:02 |
paolo.bragagni |
HAHAHAHAHA |
# |
Jul 16th 2021, 10:01 |
kevin.pfeifer |
oh wait, my debug_kit is also not present anymore :thinking_face: |
# |
Jul 16th 2021, 10:01 |
paolo.bragagni |
|
# |
Jul 16th 2021, 10:00 |
kevin.pfeifer |
do you have a `tmp/debug_kit.sqlite` file? if so try to remove it And then check if the tmp folder is writeable |
# |
Jul 16th 2021, 09:59 |
kevin.pfeifer |
ok |
# |
Jul 16th 2021, 09:59 |
paolo.bragagni |
:) |
# |
Jul 16th 2021, 09:59 |
paolo.bragagni |
is enabled |
# |
Jul 16th 2021, 09:59 |
paolo.bragagni |
if ($service->isEnabled()) die('test'); |
# |
Jul 16th 2021, 09:58 |
kevin.pfeifer |
does the cakephp debug.log file say something special maybe? |
# |
Jul 16th 2021, 09:58 |
paolo.bragagni |
no |
# |
Jul 16th 2021, 09:57 |
kevin.pfeifer |
have you changed environments? |
# |
Jul 16th 2021, 09:57 |
kevin.pfeifer |
oh wait there was that sqlite thing |
# |
Jul 16th 2021, 09:56 |
kevin.pfeifer |
so then you can check inside the bootstrap method if `$service->isEnabled()` |
# |
Jul 16th 2021, 09:55 |
paolo.bragagni |
it dies ;) |
# |
Jul 16th 2021, 09:55 |
paolo.bragagni |
plugin is loaded |
# |
Jul 16th 2021, 09:52 |
kevin.pfeifer |
you could try to add a `die('test');` inside the `vendor/cakephp/debug_kit/src/Plugin.php` file to see if you even get into the plugin |
# |
Jul 16th 2021, 09:48 |
kevin.pfeifer |
it could e.g. be that you overwrite the configs `debug` value somewhere in your code to be false |
# |
Jul 16th 2021, 09:45 |
kevin.pfeifer |
just saying that "change something" can be literally anything so :man-shrugging: |
# |
Jul 16th 2021, 09:44 |
paolo.bragagni |
thanks but I'd like to know why!! ;) |
# |
Jul 16th 2021, 09:41 |
kevin.pfeifer |
I sometimes had the problem that something is messed up in vendor so I just re-install everything as it should be |
# |
Jul 16th 2021, 09:41 |
kevin.pfeifer |
well the vendor directory gets generated from your composer.lock (and if thats not present the composer.json) |
# |
Jul 16th 2021, 09:40 |
paolo.bragagni |
never touched vendor |
# |
Jul 16th 2021, 09:40 |
paolo.bragagni |
uuuu no no!!! |
# |
Jul 16th 2021, 09:39 |
kevin.pfeifer |
well have you re-installed your composer modules? ```rm -rf vendor composer install --prefer-dist``` |
# |
Jul 16th 2021, 09:38 |
paolo.bragagni |
where I could check? |
# |
Jul 16th 2021, 09:37 |
paolo.bragagni |
hahaha |
# |
Jul 16th 2021, 09:37 |
kevin.pfeifer |
well what did you change when it didn't work anymore ^^ |
# |
Jul 16th 2021, 09:37 |
kevin.pfeifer |
ok that should work out of the box |
# |
Jul 16th 2021, 09:36 |
paolo.bragagni |
cakephp.local |
# |
Jul 16th 2021, 09:36 |
kevin.pfeifer |
in your config |
# |
Jul 16th 2021, 09:36 |
kevin.pfeifer |
so e.g. if you are on project.test.cc you need to add `'DebugKit.safeTld' => ['dev', 'local', 'cc']` |
# |
Jul 16th 2021, 09:35 |
paolo.bragagni |
at the 'beginning' of my endless projet it worked |
# |
Jul 16th 2021, 09:35 |
kevin.pfeifer |
you need to set `'DebugKit.safeTld' => ['dev', 'local', 'myTLD']` |
# |
Jul 16th 2021, 09:35 |
kevin.pfeifer |
i guess you are on some Top level domain which is not .dev or .local |
# |
Jul 16th 2021, 09:34 |
paolo.bragagni |
probably Ive remove from template? |
# |
Jul 16th 2021, 09:34 |
paolo.bragagni |
in template ? |
# |
Jul 16th 2021, 09:34 |
paolo.bragagni |
debug is set to true |
# |
Jul 16th 2021, 09:33 |
paolo.bragagni |
plugin DebugKit is there |
# |
Jul 16th 2021, 09:33 |
paolo.bragagni |
yes |
# |
Jul 16th 2021, 09:31 |
kevin.pfeifer |
you mean debug mode in cakephp with the debug toolbar at the bottom? |
# |
Jul 16th 2021, 09:29 |
paolo.bragagni |
I've change something in the past and is not there no more |