Log message #4180315

# At Username Text
# Mar 20th, 14:53 spriz Usually I’ve done: `$authorIds = array_keys((new Collection($posts))->groupBy('author_id')->toList());` but it just feels wrong ,:)
# Mar 20th, 14:52 spriz What am I missing here? Isn’t there some sneaky way to only have unique `author_id`s with collection class from this: https://gist.github.com/Spriz/eceb62e87427830cc72bb14d8945c443
# Mar 20th, 14:50 slackebot2 $this->redirect('/onlinecheckout/:slug', ['controller' => 'autoCheckout', 'action' => 'verify', $code]); i had problem with redirect :S sombody can help me ?
# Mar 20th, 14:50 kweclawski Hi everybody :slightly_smiling_face: i have question about redirect to alias :slightly_smiling_face: so i create 2 routes for one controler in routes.php : ``` $routes->connect('/auto-checkout/begin/*', ['controller' => 'AutoCheckout', 'action' => 'begin']); $routes->connect('/onlinecheckout/begin/*', ['controller' => 'AutoCheckout', 'action' => 'begin']);``` and i want add redirect to onlinecheckout/begin but when i try used return
# Mar 20th, 14:27 ricksaccous I'm sure some people would still be happy to help you out with your cake2 questions
# Mar 20th, 14:27 ricksaccous lol
# Mar 20th, 14:22 acosonic Could there be like cakephp2 specific support channel? :slightly_smiling_face: Btw, after researching Laravel and Cake3 and going berserk, my team decided to stay on cake2 for 3 new projects, and keep maintaining cake 2 if support gets dropped :)
# Mar 20th, 13:13 dereuromark what do you mean? sounds like a non generic issue to me
# Mar 20th, 12:47 itmpls really don't want to re-invent the wheel..
# Mar 20th, 12:47 itmpls this might be a longshot but is there some plugin that scrapes your supplied tables and fks to do an export of the data based on relations?
# Mar 20th, 12:04 johnwayne Ok, Thank you for your aswer
# Mar 20th, 12:04 dereuromark usually they only throw deprecations etc, as such you just silence them in production
# Mar 20th, 11:57 johnwayne I thought some things in cakephp v3.3 will not work with php v 7.3 (we have also planned to update all the projects to the latest cakephp version - but not until April)
# Mar 20th, 11:56 dereuromark but there is usually no reason why it shouldnt be fine.
# Mar 20th, 11:55 dereuromark dunno that, we are always using latest minor as one should.
# Mar 20th, 11:54 johnwayne Heroku will shut down cedar-14 until APril/2019 and we are still using that one. Now few of projects use CakePhp v 3.3. Can I just upgrade to cedar-18 and php v 7.3 without updating cakephp to 3.7 or?
# Mar 20th, 11:53 dereuromark yeah
# Mar 20th, 11:50 johnwayne Hi, does anybody use Heroku for cakePhp?
# Mar 20th, 10:40 barlas This is how it is, right now. :-/
# Mar 20th, 10:35 spriz the end of all our scopes are `$routes->fallbacks(\Cake\Routing\Route\InflectedRoute::class);` though
# Mar 20th, 10:35 spriz try inserting `Router::defaultRouteClass(\Cake\Routing\Route\InflectedRoute::class);` before the scopes
# Mar 20th, 10:35 spriz the default route should be applied to all scopes AFAIK
# Mar 20th, 10:35 barlas spriz, Any idea how to debug / fix it?
# Mar 20th, 10:31 barlas (which are just :controller/:action and :controller ones)
# Mar 20th, 10:30 barlas It's outside before it. And bin/cake routes show all routes defined in Route::scope('/')
# Mar 20th, 10:30 barlas Should the defaultRoute option be with Route::scope?
# Mar 20th, 10:29 spriz then it seems InflectedRoute class is not set properly :slightly_smiling_face:
# Mar 20th, 10:28 barlas Yes, myController works
# Mar 20th, 10:28 spriz are the routes loaded? Can you see them in `$ bin/cake routes`?
# Mar 20th, 10:28 spriz @barlas does /myController, /my-controller og /mycontroller work?
# Mar 20th, 10:16 barlas In routes.php, default route class was DashedRoute, I changed it to InflectedRoute, but that didn't help either.
# Mar 20th, 10:15 barlas Any ideas?
# Mar 20th, 10:15 barlas Requests with _ aren't working. when calling /my_controller, it says Controller class My_controller could not be found.
# Mar 20th, 10:13 marius.treu cant you simply delete an entity (to delete all associations "on delete cascase") and resave it as a new one afterwards?
# Mar 20th, 10:11 marius.treu while begining a transaction, i start with deleting an entity that was already in the database, afterwards i modify this entity and save it back to the database. Doing that result in the following error "Cannot commit transaction - rollback() has been already called in the nested transaction"
# Mar 20th, 10:11 nico946 quick question, does anybody know about a package for integrating Mailchimp to Cake 3.5?
# Mar 20th, 10:11 nico946 Hi everyone,
# Mar 20th, 10:10 asdfgh a good library to create excel file?
# Mar 20th, 10:10 asdfgh hello
# Mar 20th, 10:02 marius.treu hello
# Mar 20th, 10:01 birdy247 Anyone help with my query?