# |
Mar 21st 2019, 18:16 |
devito |
cm capable of uerying qgenerated columns? |
# |
Mar 21st 2019, 16:05 |
itmpls |
n/m |
# |
Mar 21st 2019, 15:51 |
itmpls |
I have 2 listeners and they both have the same implementedEvents key - will both fire or will just the first one fire? |
# |
Mar 21st 2019, 09:29 |
o0h |
@berarma Thanks! OK, I add ‘noinspection’ and continue to mutate it directly in instance member, until 4.0 come :) |
# |
Mar 21st 2019, 09:26 |
berarma |
@o0h, I think that flag will be removed so you won't need it after 4.0. If you need to use it now and be future-proof you'll have to check for its existance. The deprecation warning will stay though. |
# |
Mar 21st 2019, 08:31 |
o0h |
Hi! I try to my app upgrade to cakephp3.7 from 3.6. I have a question. In my app, I set false `View::hasRendered` to re-render view. Since 3.7, View->hasRendered is deprecated but `setRendered` api is not provided. Is there a good way to reset rendered flag ? |
# |
Mar 21st 2019, 06:30 |
slackebot2 |
shopping carts... Bunch of code piled-up over years :( |
# |
Mar 21st 2019, 06:30 |
acosonic |
Yeah, I was discussing it here, earlier... My team at first agreed to upgrade our old codebase to cake3, then they started to do it, and quit saying they want to do it in Laravel, because Cake 3 seemed like totally new thing, then they quit Laravel also, because we can't afford to work couple of months only on backend :slightly_smiling_face: It's a CMS/CRM sytem with monthly re-occuring payments, membership plans, landing pages, campaigns, |
# |
Mar 21st 2019, 02:58 |
destinydriven |
In cake 2.10* is there any downside to using cacheQueries = true in AppModel? |
# |
Mar 20th 2019, 20:22 |
dereuromark |
nah^^ but i tagged now anyway. |
# |
Mar 20th 2019, 20:21 |
challgren |
I got dev-master running I just assumed ^3.14 would keep it 3.14.x |
# |
Mar 20th 2019, 20:21 |
dereuromark |
u want to try dev-master though |
# |
Mar 20th 2019, 20:21 |
dereuromark |
its called semver |
# |
Mar 20th 2019, 19:01 |
challgren |
Weird I have “dereuromark/cakephp-queue”: “^3.14", in composer but got 3.15.1 |
# |
Mar 20th 2019, 19:00 |
challgren |
Ok let me push out a new build of my app |
# |
Mar 20th 2019, 18:56 |
dereuromark |
give it a spin and let me know if u can tag a new minor |
# |
Mar 20th 2019, 18:56 |
challgren |
Ok cool! |
# |
Mar 20th 2019, 18:56 |
dereuromark |
auto cleaning processes that died |
# |
Mar 20th 2019, 18:55 |
dereuromark |
this is also fixed in dev master now |
# |
Mar 20th 2019, 18:55 |
dereuromark |
there u go^^ |
# |
Mar 20th 2019, 18:55 |
challgren |
Yep that was probably it |
# |
Mar 20th 2019, 18:55 |
slackebot2 |
<challgren> |
# |
Mar 20th 2019, 18:54 |
dereuromark |
also clear your processes |
# |
Mar 20th 2019, 18:54 |
slackebot2 |
<challgren> |
# |
Mar 20th 2019, 18:53 |
challgren |
`*/10 * * * * ~/bin/cake queue runworker -q` is my cron |
# |
Mar 20th 2019, 18:53 |
dereuromark |
darn maybe the defaults dont get loaded in your case? |
# |
Mar 20th 2019, 18:50 |
challgren |
I only run 2 at a time |
# |
Mar 20th 2019, 18:49 |
dereuromark |
'maxworkers' => 3 by default |
# |
Mar 20th 2019, 18:48 |
dereuromark |
this is a protection against >> x workers spawned, overloading the server |
# |
Mar 20th 2019, 18:48 |
dereuromark |
oh, set your count to a higher value. maybe the default is a bit too low? |
# |
Mar 20th 2019, 18:47 |
challgren |
@dereuromark any idea on this? All I did was upgrade |
# |
Mar 20th 2019, 15:59 |
zsoro2 |
Hello Guys! :slightly_smiling_face: I would like to ask a question if it's possible. I have problem with the ACL. I use 2.x CakePHP. I generated the ACO records in the database with ./Console/cake AclExtras.AclExtras aco_sync, command. But it not generated anything in the ARO table. How is it possible to generate data to the ARO table and the AROS_ACOS table? |
# |
Mar 20th 2019, 15:11 |
spriz |
Ah do’h - yeah ofc with `->toArray()` Bernat :+1: |
# |
Mar 20th 2019, 15:08 |
berarma |
@acosonic, so you're staying on cake2 because your team didn't agree on anything else? :O |
# |
Mar 20th 2019, 15:05 |
berarma |
Or `$authorIds = array_unique((new Collection($posts))->extract('author_id')->toList());` |
# |
Mar 20th 2019, 15:04 |
berarma |
I think it's wrong, you should do: `$authorIds = array_keys((new Collection($posts))->groupBy('author_id')->toArray());` |
# |
Mar 20th 2019, 14:53 |
spriz |
Usually I’ve done: `$authorIds = array_keys((new Collection($posts))->groupBy('author_id')->toList());` but it just feels wrong ,:) |
# |
Mar 20th 2019, 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 2019, 14:50 |
slackebot2 |
$this->redirect('/onlinecheckout/:slug', ['controller' => 'autoCheckout', 'action' => 'verify', $code]); i had problem with redirect :S sombody can help me ? |
# |
Mar 20th 2019, 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 2019, 14:27 |
ricksaccous |
I'm sure some people would still be happy to help you out with your cake2 questions |