# |
Jun 21st 2019, 19:03 |
joey.mukherjee |
Is that the only way? It gets pretty far in building the roles stuff, but right after the roles controller, it says "Bake is detecting possible fixtures..." and then craters. :( |
# |
Jun 21st 2019, 18:59 |
daniel.upshaw |
And then go through the install to try and find what's missing |
# |
Jun 21st 2019, 18:59 |
daniel.upshaw |
composer create-project --prefer-dist cakephp/app testingusersplugin |
# |
Jun 21st 2019, 18:59 |
daniel.upshaw |
I would start with |
# |
Jun 21st 2019, 18:59 |
daniel.upshaw |
Ah |
# |
Jun 21st 2019, 18:59 |
joey.mukherjee |
adding to an existing project. :( |
# |
Jun 21st 2019, 18:58 |
daniel.upshaw |
To try it |
# |
Jun 21st 2019, 18:58 |
daniel.upshaw |
I would start with a fresh one |
# |
Jun 21st 2019, 18:58 |
daniel.upshaw |
Or adding to an existing project? |
# |
Jun 21st 2019, 18:58 |
daniel.upshaw |
Are you using a fresh install? |
# |
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 |