Log message #4219576

# At Username Text
# Dec 19th 2019, 15:39 neon1024 Perhaps I should migrate my RC1 app to 4.0.0
# Dec 19th 2019, 15:39 neon1024 Ah, seems to have been updated :thinking_face:
# Dec 19th 2019, 15:38 neon1024 @kaliel Well I used `:id` as my routing token. I don’t know if that’s of relevance or not
# Dec 19th 2019, 15:30 jotpe Hm. Need to install first by myself to test...
# Dec 19th 2019, 15:29 kaliel router adds an ID from nowhere
# Dec 19th 2019, 15:29 kaliel same thing :`*/src/Routing/Route/Route.php* (line *588*)` ```[ 'controller' => 'cars', 'action' => 'view', 'id' => (int) 1, 'plugin' => null, '_ext' => null ]```
# Dec 19th 2019, 15:28 jotpe Try http://local.test/cars/
# Dec 19th 2019, 15:25 kaliel am i doing something wrong ?
# Dec 19th 2019, 15:24 kaliel ```$builder->connect('/cars', ['controller' => 'Cars', 'action' => 'index']); $builder ->connect('/cars/{id}', ['controller' => 'Cars', 'action' => 'view']) ->setPatterns(['id' => '\d+']) ->setPass(['id']);``` And when i go on local.test://cars, this match the second route :S
# Dec 19th 2019, 15:23 kaliel i got an issue on routes with cake 4
# Dec 19th 2019, 15:17 dereuromark deployment composer command: https://sandbox.dereuromark.de/pages/best-practices#deployment
# Dec 19th 2019, 15:16 neon1024 No need to put all those development dependacies onto the box
# Dec 19th 2019, 15:16 neon1024 You’d want `composer install --no-dev`
# Dec 19th 2019, 15:15 neon1024 You don’t want to write a new lock file on the server right?
# Dec 19th 2019, 15:15 neon1024 Remote server, you should be running `composer install`
# Dec 19th 2019, 15:15 noel @neon1024 I'm just trying to run `composer update`
# Dec 19th 2019, 15:14 em php-dom is same that php-xml, isn’t it ?
# Dec 19th 2019, 15:14 ndm `minYear`/`maxYear`
# Dec 19th 2019, 15:13 neon1024 Or is this local development?
# Dec 19th 2019, 15:13 neon1024 Why are you installing a unit testing framework onto a remote server?
# Dec 19th 2019, 15:12 noel Hi All. I'm trying to get cake installed on a CentOS 8 server... running into an issue with `phpunit`. My understanding is that `phpunit` is deprecated? It's failing on the following php extension ```phpunit/phpunit 6.5.9 requires ext-dom * -> the requested PHP extension dom is missing from your system.``` There is no "php-dom" release for Centos 8, not even on `REPL`. Any ideas?
# Dec 19th 2019, 15:12 em yes, there are no new logs in php-fpm logs …
# Dec 19th 2019, 15:10 neon1024 So `Form->control()` doesn’t support min and max for year? ` ```echo $this->Form->control('notify_at', ['label' => false, 'min' => date('Y'), 'max' => date('Y', strtotime('+5 years'))]);``` `
# Dec 19th 2019, 15:10 neon1024 Or your php-fpm logs, if you’re using php-fpm
# Dec 19th 2019, 15:10 neon1024 Did you check your web server logs?
# Dec 19th 2019, 15:02 em I just migrated to 4.0.0, i have error reporting enabled, debug is on as well. But there are no errors are shown on screen, error logs are empty as well. I’m getting whitescreen. Does anyone had such issue ?
# Dec 19th 2019, 14:38 damiano thanks
# Dec 19th 2019, 14:38 damiano awesome
# Dec 19th 2019, 14:37 kaliel $this->viewBuilder()->disableAutoLayout()
# Dec 19th 2019, 14:37 damiano opk
# Dec 19th 2019, 14:37 damiano yeah i am using the ErrorController
# Dec 19th 2019, 14:37 kaliel if you want to disable layout from controller u have to use viewbuilder
# Dec 19th 2019, 14:37 damiano or in the error500.ctp file ?
# Dec 19th 2019, 14:36 damiano do you mean in the controller action right?
# Dec 19th 2019, 14:36 kaliel in view
# Dec 19th 2019, 14:36 kaliel @damiano ```$this->disableAutoLayout();```
# Dec 19th 2019, 14:35 damiano or do i need to create something like error.ctp (layout) and just write <?php echo $this->fetch('content'); ?> ?
# Dec 19th 2019, 14:34 damiano i need to customize the error 404 and error500
# Dec 19th 2019, 14:34 damiano hello is is possible to just call the rendering of a view without using a layout?
# Dec 19th 2019, 14:25 challgren It should almost be `if (is_array($url) andand array_key_exists($key, $url) andand !preg_match('#^' . $pattern . '$#u', $url[$key])) `
# Dec 19th 2019, 14:08 kaliel line 711