Log message #4174037

# At Username Text
# Jan 17th 2019, 21:19 jhall what's the best way to handle a case where I can get to an edit page from two separate controllers and depending where I came from (referer) that's where I want to return. Do I use before redirect?
# Jan 17th 2019, 21:19 rightscoreanalysis yeah that is what I thought but when I do find path and find children I get singletons
# Jan 17th 2019, 21:16 ricksaccous but i'd imagine a parent should be able to have many children
# Jan 17th 2019, 21:16 ricksaccous i haven't used the plugin that much
# Jan 17th 2019, 21:16 ricksaccous isn't that the whole point?
# Jan 17th 2019, 21:16 rightscoreanalysis any know know if for the 'tree' threaded models can I have nodes with the same parent_id?
# Jan 17th 2019, 21:10 ricksaccous oh well
# Jan 17th 2019, 21:10 ricksaccous that isn't available in collections either :(
# Jan 17th 2019, 21:09 rightscoreanalysis thanks
# Jan 17th 2019, 20:47 ricksaccous @rightscoreanalysis there doesn't appear to be any such option, might have to just go to using the native php way of doing it
# Jan 17th 2019, 20:44 rightscoreanalysis can I specify a second index to sort on should parent_id by the same for two indexes?
# Jan 17th 2019, 20:43 rightscoreanalysis Hash::sort($thread, '{n}.parent_id', 'desc');
# Jan 17th 2019, 20:43 rightscoreanalysis I'm using this to sort an array
# Jan 17th 2019, 20:41 ricksaccous no problem ;)
# Jan 17th 2019, 20:41 drouard.noelie I have a friends how takes care of it, I just need to be sure, thanks :P
# Jan 17th 2019, 20:40 ricksaccous yeah, you should read up on how to set up nginx in general, and where you can find the files that govern it's configuration
# Jan 17th 2019, 20:39 drouard.noelie er English isn't my native language, just to confirm, we need to create something on the server? etc/nginx ...
# Jan 17th 2019, 20:38 ricksaccous no problem man ;) hope you can get it working
# Jan 17th 2019, 20:38 drouard.noelie wowowow Yeah I just found it, II was reading the wring page sorry!
# Jan 17th 2019, 20:36 ricksaccous @drouard.noelie there is a section on it in the cakephp book, have you read it?
# Jan 17th 2019, 20:35 drouard.noelie I think that's the problem
# Jan 17th 2019, 20:35 drouard.noelie hello! I have an nginx server, how do i rewrite Urls? I have an error 500
# Jan 17th 2019, 19:30 joopm basically www-data has only access to webroot folder
# Jan 17th 2019, 19:30 joopm i am stuck with create a config file in config folder
# Jan 17th 2019, 19:29 joopm hello
# Jan 17th 2019, 19:24 pekka_slack When making HTTPS requests using the Http Client of CakePHP, what is the underlying system that it uses? Is it OpenSSL?
# Jan 17th 2019, 17:10 jhall okay have a great evening
# Jan 17th 2019, 17:10 neon1024 Cool, good luck. That’s end of work for me, so I’m off home.
# Jan 17th 2019, 17:10 jhall thank you
# Jan 17th 2019, 17:10 jhall ok
# Jan 17th 2019, 17:09 neon1024 This one :point_right: https://book.cakephp.org/3.0/en/plugins.html#old-style-plugins
# Jan 17th 2019, 17:09 jhall ok I think it does
# Jan 17th 2019, 17:09 neon1024 If it provides any shells, yes
# Jan 17th 2019, 17:09 jhall yeah
# Jan 17th 2019, 17:09 neon1024 Do you mean a CLI command?
# Jan 17th 2019, 17:08 jhall yeah
# Jan 17th 2019, 17:08 jhall okay and then I should be able to access this plugin in a Command?
# Jan 17th 2019, 17:08 neon1024 ..and obviously open a ticket for the plugin author to ask for Cake 3.6+ support
# Jan 17th 2019, 17:08 neon1024 If it’s an older one you might try loading it with `Plugin::load()` in `bootstrap.php`, although this might generate a deprecation warning
# Jan 17th 2019, 17:08 neon1024 https://book.cakephp.org/3.0/en/plugins.html#loading-a-plugin
# Jan 17th 2019, 17:07 jhall ok