Log message #4262087

# At Username Text
# Apr 28th 2021, 02:30 richard @francisdoydora you’re better off handling this with apache/nginx than application code
# Apr 28th 2021, 01:47 francisdoydora https://cakesf.slack.com/archives/C053DPNGT/p1619491730026600 Good morning everyone, I was hoping you could help me with this.
# Apr 28th 2021, 01:12 dereuromark No, that not. Manual change afterwards. Or you can make a PR to Support this
# Apr 27th 2021, 23:06 slackebot Cake\Filesystem\Folder->pwd()```
# Apr 27th 2021, 23:06 genellern ```Exception: Maximum function nesting level of '256' reached, aborting! in [/var/www/itic/src/vendor/cakephp/cakephp/src/Filesystem/Folder.php, line 162] 2021-04-27 23:01:48 Error: [Error] Maximum function nesting level of '256' reached, aborting! in /var/www/itic/src/vendor/cakephp/cakephp/src/Filesystem/Folder.php on line 162 Stack Trace: #0 /var/www/itic/src/vendor/cakephp/cakephp/src/Filesystem/Folder.php(197):
# Apr 27th 2021, 23:06 slackebot /var/www/itic/src/src/,/var/www/itic/src/plugins/Admin/src/,/var/www/itic/src/plugins/Settings/src/,/var/www/itic/src/plugins/Tracking/src/,/var/www/itic/src/plugins/Gps/src/```
# Apr 27th 2021, 23:05 genellern Hi everyone, When extracting the strings for i18n, I'm getting a max recursive level reached. Not sure what changed though, I recently updated the project dependencies, should I create an issue on Github? ```bin/cake i18n extract --extract-core no --overwrite --no-location --output /var/www/itic/src/src/Locale/ --overwrite --merge yes --paths
# Apr 27th 2021, 19:13 kevin.pfeifer just FYI to you all: update composer.... now! https://blog.packagist.com/composer-command-injection-vulnerability/
# Apr 27th 2021, 18:58 kevin.pfeifer dont know why the config is consumed in the first place there but i guess it shouldnt be a problem to not consume it
# Apr 27th 2021, 18:57 kevin.pfeifer Just change the `Configure::consume` to `Configure::read` in your config/bootstrap.php and your can read the config as you expected it fron the start https://github.com/cakephp/app/blob/master/config/bootstrap.php#L161
# Apr 27th 2021, 18:52 paolo.bragagni It works also in baking?
# Apr 27th 2021, 18:51 glafarge @kevin.pfeifer @greg138 Thank's for the answers. It's been consumed, i understand why it was difficult to retrieve it after bootstrap process. Anyway, is it possible to get it with other methods like `Cache::getConfig()` for example ?
# Apr 27th 2021, 17:46 greg138 If you're trying to read the cache config after the bootstrap process is done, I think it's been `consume`d by then, and no longer present in `Configure`.
# Apr 27th 2021, 17:38 kevin.pfeifer Cache config is set in the bootstrap.php via `Cache::setConfig(Configure::consume('Cache'));` https://github.com/cakephp/app/blob/master/config/bootstrap.php#L161
# Apr 27th 2021, 17:36 glafarge Hi. I stuck on getting a Cache config path. `Configure::read('Cache')` return nothing, while `Cache::getConfig('myconfig')` return a `['className' => object(DebugKit\Cache\Engine\DebugEngine) {}]` with protected properties... Maybe i missed something... (today was a tuff day).
# Apr 27th 2021, 16:07 rightscoreanalysis I was expecting a table, I was looking for "migrations". This makes total sense now thx
# Apr 27th 2021, 16:06 kevin.pfeifer there is a `phinxlog` table which contains the run migrations
# Apr 27th 2021, 16:04 rightscoreanalysis How does the migrations plugin know which migrations to execute, obviously previous migrations which have already been applied should be run each time migrations are run
# Apr 27th 2021, 15:48 etibor Hello there
# Apr 27th 2021, 15:24 dereuromark It just isnt a global config anymore
# Apr 27th 2021, 15:23 dereuromark It was always there. Inside a table class you can defined a custom table name.
# Apr 27th 2021, 15:19 paolo.bragagni In 4 They have reintroduced it? (In 3 there was not )
# Apr 27th 2021, 15:17 paolo.bragagni Thanks I ll try all of them, but probably i ll build my own helper..
# Apr 27th 2021, 15:07 slackebot specified plugin like the bootstrap helper one.
# Apr 27th 2021, 15:07 ndm > Better, no, it just more "complete" because it support form too As the creator of it, I have to insist on that being a vast understatement :P Generally `icings/menu` generic menu plugin, it isn't limited to BS navbars, it can create all sorts of HTML structures. @paolo.bragagni If you don't need that freedom, and none of the other features that it provides, but just a BS4 navbar, then you're most likely better of with a more
# Apr 27th 2021, 15:04 dereuromark Yes, in the table classes directly.
# Apr 27th 2021, 14:47 paolo.bragagni there's a way to prefix the database (as it was in cakephp 2 ?)
# Apr 27th 2021, 13:12 etibor why does full locale name does not works?only the 2 digits
# Apr 27th 2021, 12:18 etibor why does this iso code does not works
# Apr 27th 2021, 11:06 erwane Better,n
# Apr 27th 2021, 11:06 etibor if i try this: I18n::setLocale('en_US'); it does not work for translation behavior I18n::setLocale('en'); this will work but the whole site already using 'en_US' form
# Apr 27th 2021, 09:35 paolo.bragagni (In my old cake 2 I've built an helper for bootstrap 2 menu)
# Apr 27th 2021, 09:34 paolo.bragagni In your opinion is better to use this https://github.com/Holt59/cakephp4-bootstrap-helpers ?
# Apr 27th 2021, 09:34 paolo.bragagni @erwane I've installed this https://github.com/icings/menu
# Apr 27th 2021, 09:27 erwane @paolo.bragagni check https://github.com/Holt59/cakephp4-bootstrap-helpers and doc : https://holt59.github.io/cakephp3-bootstrap-helpers/navbar-helper/basics/
# Apr 27th 2021, 09:12 etibor its not really good because the whole site is using the 5 characters schema
# Apr 27th 2021, 09:11 etibor i have a minor issue with translation behaviour, saving the translated fields working good but when i try to display the field when the local is 5 character long like en_US it does not work, only when the local is 2 characters long 'en' display the desired fields
# Apr 27th 2021, 09:09 etibor hello evryone
# Apr 27th 2021, 08:19 paolo.bragagni icings template menu with bootstrap 4 and nested submenus are available somewhere?
# Apr 27th 2021, 08:18 paolo.bragagni hi all.
# Apr 27th 2021, 02:48 slackebot SecurityException $exception = null) { if ($exception instanceof SecurityException andand $exception->getType() === 'secure') { return $this->redirect('https://' . env('SERVER_NAME') . Router::url($this->request->getRequestTarget())); } throw $exception; }``` If anyone could point me in the right direction, I'd greatly appreciate it.