Logs for #cakephp

Page 9 of 36,922, showing 100 records out of 3,692,143 total, starting on record 801, ending on 900

# At Username Text
# Jul 16th 2021, 18:14 tyler.adam.lazenby C:\xampp\htdocs\ezBusinessManager>composer run test > phpunit --colors=always Exception: syntax error, unexpected token "-", expecting "{" In [C:\xampp\htdocs\ezBusinessManager\vendor\phpunit\phpunit\src\TextUI\Command.php, line 98] Script phpunit --colors=always handling the test event returned with error code 1
# Jul 16th 2021, 18:04 tyler.adam.lazenby C:\composer\composer.bat run-script test > phpunit --colors=always [31mException:[0m syntax error, unexpected token "-", expecting "{" In [C:\xampp\htdocs\ezBusinessManager\vendor\phpunit\phpunit\src\TextUI\Command.php, line 98] Script phpunit --colors=always handling the test event returned with error code 1
# Jul 16th 2021, 18:04 tyler.adam.lazenby I am not sure what tis is
# Jul 16th 2021, 18:04 tyler.adam.lazenby > phpunit --colors=always [31mException:[0m syntax error, unexpected token "-", expecting "{"
# Jul 16th 2021, 18:04 tyler.adam.lazenby I am trying to get my pipeline working but I am running into an issue with phpunit
# Jul 16th 2021, 11:14 paolo.bragagni i have to close 4 brackets of problems
# Jul 16th 2021, 11:13 paolo.bragagni now back to the original problem (that I've forgot)
# Jul 16th 2021, 11:12 paolo.bragagni
# Jul 16th 2021, 11:09 kevin.pfeifer then your used php version has no sqlite PHP module installed
# Jul 16th 2021, 11:09 paolo.bragagni DebugKit not enabled. You need to either install pdo_sqlite, or define the "debug_kit" connection name.
# Jul 16th 2021, 11:08 paolo.bragagni I'm sorry :(
# Jul 16th 2021, 11:03 kevin.pfeifer I’ll just insert the good old `have you tried turning it off and on again` meme here
# Jul 16th 2021, 11:02 paolo.bragagni brrrr
# Jul 16th 2021, 11:02 paolo.bragagni so probably is 'only' th machine
# Jul 16th 2021, 11:01 kevin.pfeifer ,:)
# Jul 16th 2021, 11:01 paolo.bragagni and debug is there
# Jul 16th 2021, 11:01 paolo.bragagni I've rebooted my old vm
# Jul 16th 2021, 11:01 paolo.bragagni Ive change system
# Jul 16th 2021, 11:00 paolo.bragagni UUUUU
# Jul 16th 2021, 11:00 kevin.pfeifer is it loaded in you body or not?
# Jul 16th 2021, 11:00 kevin.pfeifer but if you know have the toolbar.js
# Jul 16th 2021, 10:59 kevin.pfeifer and leave pretty much everything else as it is
# Jul 16th 2021, 10:59 kevin.pfeifer well you can only update the debug_kit version with `composer update cakephp/debug_kit`
# Jul 16th 2021, 10:58 paolo.bragagni And I have "cakephp/debug_kit": "^4.4", in my require-dev composer.json
# Jul 16th 2021, 10:56 paolo.bragagni I have vendor/cakephp/debug_kit/webroot/js/toolbar.js
# Jul 16th 2021, 10:56 paolo.bragagni returned to my old project.. :S (no debug_kit even in 4.2.7)
# Jul 16th 2021, 10:50 paolo.bragagni probably something change in bootstrp_u_i
# Jul 16th 2021, 10:49 paolo.bragagni run update but messed everything
# Jul 16th 2021, 10:49 paolo.bragagni it should
# Jul 16th 2021, 10:47 kevin.pfeifer your composer.json should have `"cakephp/debug_kit": "^4.0",`
# Jul 16th 2021, 10:47 kevin.pfeifer then you definitely should have that file `vendor/cakephp/debug_kit/webroot/js/toolbar.js`
# Jul 16th 2021, 10:45 paolo.bragagni 4.2.3
# Jul 16th 2021, 10:45 kevin.pfeifer on which cakephp version are you?
# Jul 16th 2021, 10:45 kevin.pfeifer so you never ran `composer update` ?
# Jul 16th 2021, 10:33 paolo.bragagni (never applied a single updates)
# Jul 16th 2021, 10:33 paolo.bragagni trying to rebuild vendor
# Jul 16th 2021, 10:29 kyle-burton Generate the plugin symlinks again
# Jul 16th 2021, 10:25 kevin.pfeifer since you already said you don’t touch the vendor directory - how do you usually apply updates?
# Jul 16th 2021, 10:16 paolo.bragagni lets try ?
# Jul 16th 2021, 10:15 kevin.pfeifer well then you should update to the latest debugkit version
# Jul 16th 2021, 10:14 paolo.bragagni I havent this js
# Jul 16th 2021, 10:12 kevin.pfeifer ```vendor/cakephp/debug_kit/webroot/js/toolbar.js```
# Jul 16th 2021, 10:11 paolo.bragagni js where?
# Jul 16th 2021, 10:11 kevin.pfeifer the toolbar.js inserted 1 line above the iframe
# Jul 16th 2021, 10:11 paolo.bragagni I use bootstrp plugin and I modified something
# Jul 16th 2021, 10:10 kevin.pfeifer JS
# 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
# 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
# Jul 16th 2021, 09:29 paolo.bragagni how to enable debug?
# Jul 16th 2021, 09:28 martin Yes I like that use () is possible, I know that it was a nightmare in the past to global variables so you can use it everywhere :)
# Jul 16th 2021, 09:28 paolo.bragagni another stupid question
# Jul 16th 2021, 08:34 paolo.bragagni :) thanks