Log message #4190479

# At Username Text
# Jun 21st 2019, 18:58 daniel.upshaw Most likely
# Jun 21st 2019, 18:58 daniel.upshaw That is going to be a nightmare
# Jun 21st 2019, 18:56 joey.mukherjee I am trying to use the acl plugin using this blog post: https://www.cakedc.com/roger_campanera/2018/01/26/integrating-users-and-acl-plugins-in-cakephp I am getting a Undefined property `Aros`. You have not defined the `Aros` association on `Cake\ORM\Table`. in [/web/geoviz2/vendor/cakephp/cakephp/src/ORM/Table.php, line 2533] error. I have the aros/acos tables, What am I missing?
# Jun 21st 2019, 18:54 daniel.upshaw Also what's the point of disabling message deletion by author in the Slack chat?
# Jun 21st 2019, 18:53 daniel.upshaw Crap, well it's the same issue though... doesn't seem to load custom finder from Behavior
# Jun 21st 2019, 18:51 daniel.upshaw Loaded wrong table
# Jun 21st 2019, 18:51 daniel.upshaw Lol
# Jun 21st 2019, 18:51 daniel.upshaw Whoops
# Jun 21st 2019, 18:41 daniel.upshaw `Unknown method "findSlug"`
# Jun 21st 2019, 18:41 daniel.upshaw `public function findSlug(Query $query, array $options)`
# Jun 21st 2019, 18:41 daniel.upshaw Eg: https://book.cakephp.org/3.0/en/orm/behaviors.html#defining-finders
# Jun 21st 2019, 18:39 daniel.upshaw Anyone ever tried to add a custom method to a model using a behavior?
# Jun 21st 2019, 18:39 daniel.upshaw You can put an `exit()` in the method?
# Jun 21st 2019, 18:39 daniel.upshaw What is the code?
# Jun 21st 2019, 18:39 daniel.upshaw What do you mean disable json responses?
# Jun 21st 2019, 15:20 mrfeedback urgent help needed. how can i disable json responses?
# Jun 21st 2019, 14:47 slackebot1 ' The Apache service named reported the following error: >>> AH00015: Unable to open logs Slackbot
# Jun 21st 2019, 14:47 olanowsubomi hi, please can anyone one help me solve the problem of restarting all services on wamp apache on window 7 from the administrator command line i typed 'NET START wampapache' it initially indicate ' the wampapache service is starting..........' then 'the wampapache service cannot be started a service specific error occured: 1. more help is available by typing NET HELPMSG 3547' then, i check window event viewer which brought this message
# Jun 21st 2019, 14:34 olanowsubomi Hello is anyone there?
# Jun 21st 2019, 14:32 slackebot1 ' The Apache service named reported the following error: >>> AH00015: Unable to open logs
# Jun 21st 2019, 14:32 olanowsubomi hi, please can anyone one help me solve the problem of restarting all services on wamp apache on window 7 from the administrator command line i typed 'NET START wampapache' it initially indicate ' the wampapache service is starting..........' then 'the wampapache service cannot be started a service specific error occured: 1. more help is available by typing NET HELPMSG 3547' then, i check window event viewer which brought this message
# Jun 21st 2019, 14:29 slackebot1 ' The Apache service named reported the following error: >>> AH00015: Unable to open logs
# Jun 21st 2019, 14:29 olanowsubomi hi, please can anyone one help me solve the problem of restarting all services on wamp apache on window 7 from the administrator command line i typed 'NET START wampapache' it initially indicate ' the wampapache service is starting..........' then 'the wampapache service cannot be started a service specific error occured: 1. more help is available by typing NET HELPMSG 3547' then, i check window event viewer which brought this message
# Jun 21st 2019, 13:57 itmpls i'm doing 2 saveMany's inside
# Jun 21st 2019, 13:57 itmpls just to confirm: i don't need try/catch blocks in a transactional, it would just automatically rollback and return false?
# Jun 21st 2019, 13:00 stephenzgalbraith @egalles you’ll get that error I believe now until you start applying policies or other forms of authorization
# Jun 21st 2019, 12:58 egalles ok advancing in that purpose..... I get a new error.... The request to `/users` did not apply any authorization checks. But it looks like authoritzation and authentication are working together like two implements of my app middleware
# Jun 21st 2019, 12:56 egalles ...
# Jun 21st 2019, 11:24 egalles when i put this > ->add(new AuthorizationMiddleware($this)); in middleware
# Jun 21st 2019, 11:24 egalles `Authorization\AuthorizationServiceProviderInterface`, `App\Application` given
# Jun 21st 2019, 11:24 egalles now i have this error for example > Subject must be an instance of `Authorization\AuthorizationServiceInterface` or
# Jun 21st 2019, 11:06 egalles i'ma noob with interfaces...etc anyone can help me with basic knowledge of interfaces ? are like pluggins ?
# Jun 21st 2019, 11:06 egalles now cakephp book recommends to use authorization and authentication plugins.
# Jun 21st 2019, 11:05 egalles i was using authcontroller since now and i see in documentation that will be deprecated
# Jun 21st 2019, 11:04 egalles good morning
# Jun 21st 2019, 10:44 martin morning :)
# Jun 21st 2019, 10:26 neon1024 Morning everyone
# Jun 21st 2019, 10:14 conehead Oh, by the way...there are "dynamic finders" as well.... https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#dynamic-finders You should be able to do the following: `$users->findAllByRole(1)->count()` But personally I am not a big fan of these magic methods
# Jun 21st 2019, 09:36 conehead ``` $users->find() ->where(['role' => 1]) ->count(); ```
# Jun 21st 2019, 09:34 kgb.acct.personal I have to get the total count and the count where role = 1
# Jun 21st 2019, 09:34 kgb.acct.personal Yess