# |
Jul 16th 2021, 10:10 |
paolo.bragagni |
but who puts the iframe there? |
# |
Jul 16th 2021, 10:10 |
paolo.bragagni |
no I havent |
# |
Jul 16th 2021, 10:09 |
kevin.pfeifer |
|
# |
Jul 16th 2021, 10:09 |
kevin.pfeifer |
should look like that |
# |
Jul 16th 2021, 10:09 |
paolo.bragagni |
no |
# |
Jul 16th 2021, 10:09 |
kevin.pfeifer |
do you have he iframe at the end of your html? |
# |
Jul 16th 2021, 10:09 |
kevin.pfeifer |
therefore the generated iframe in the DOM was the wrong URL |
# |
Jul 16th 2021, 10:08 |
kevin.pfeifer |
so i forgot to change my `App.fullBaseUrl` to the new https URL |
# |
Jul 16th 2021, 10:08 |
kevin.pfeifer |
ah sorry, i changed my local setup recently to be https |
# |
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 |