# |
Jan 15th 2018, 16:53 |
gsitex |
Ok, and what error do you have? |
# |
Jan 15th 2018, 16:53 |
banna |
Yes, Its off |
# |
Jan 15th 2018, 16:52 |
gsitex |
@banna Do you have a debug mode off? |
# |
Jan 15th 2018, 16:46 |
xavier_ |
hmic, can be reproduced with these instructions: https://pastebin.com/TmzntKyK |
# |
Jan 15th 2018, 16:42 |
banna |
@gsitex Didn't get what that exactly mean? |
# |
Jan 15th 2018, 16:42 |
camelove |
Hello everyone ! |
# |
Jan 15th 2018, 16:42 |
gsitex |
@banna I hope `debug = 0`? |
# |
Jan 15th 2018, 16:39 |
banna |
Cakephp 2.8.3, Databases of size 143MB not the site load |
# |
Jan 15th 2018, 16:36 |
xavier_ |
hmic, installed a clean 3.5.10 from composer, with two empty shells, one with a typo, executed ./bin/cake and got the same error |
# |
Jan 15th 2018, 16:34 |
gsitex |
There is Map/Reduce feature for Resultsets. I have never used it before. Can I put my collection manipulations there? |
# |
Jan 15th 2018, 16:31 |
gsitex |
And it's working!).. I'm just curious |
# |
Jan 15th 2018, 16:30 |
neon1024 |
Collection is the way to go I’d say :slightly_smiling_face: |
# |
Jan 15th 2018, 16:30 |
gsitex |
That's true |
# |
Jan 15th 2018, 16:30 |
neon1024 |
Not really, because you have multiple requests spread across your contacts |
# |
Jan 15th 2018, 16:29 |
gsitex |
I have `Clients` -(has_many)-> `Contacts` -(has_many)-> `Requests` So I get Clients with a such Query `get($id, ['contain' => 'Contacts.Requests'])` But to get the list of all Requests I need to build a collection. Like this: `$requests = (new Collection($client->contacts)->extract('requests')->unfold();` Can I do it easier?) |
# |
Jan 15th 2018, 16:25 |
bernat |
thanks hmic! :) |
# |
Jan 15th 2018, 16:25 |
hmic |
yes and yes |
# |
Jan 15th 2018, 16:23 |
bernat |
Hi! Do you always create a new plugin inside a blank cakephp app and then create a repository just for the plugin directory or is there another more straightforward way? Is it mandatory to develop a plugin inside an app to be able to run tests? |
# |
Jan 15th 2018, 16:23 |
hmic |
you need to make sure your network shell does not use the testshell though of course |
# |
Jan 15th 2018, 16:23 |
neon1024 |
Oh, it doesn’t need the path |
# |
Jan 15th 2018, 16:22 |
hmic |
however, cake does not seem to read the shell files you dont use. i did not expect anything else to happen actually ;-) |
# |
Jan 15th 2018, 16:22 |
neon1024 |
Or `./cake -app ..` |
# |
Jan 15th 2018, 16:22 |
xavier_ |
I was in app3/bin |
# |
Jan 15th 2018, 16:21 |
hmic |
and why is you cake ./cake - it should be bin/cake, shouldnt it? |
# |
Jan 15th 2018, 16:21 |
hmic |
i bet it has not changed |
# |
Jan 15th 2018, 16:21 |
xavier_ |
upgrading! |
# |
Jan 15th 2018, 16:21 |
hmic |
3.5.10 here |
# |
Jan 15th 2018, 16:21 |
gsitex |
hey! |
# |
Jan 15th 2018, 16:21 |
xavier_ |
3.5.8 |
# |
Jan 15th 2018, 16:20 |
hmic |
which cake version is that? :~ |
# |
Jan 15th 2018, 16:20 |
xavier_ |
Exception: syntax error, unexpected '}' in [/opt/saiwall6/app3/src/Shell/TestShell.php, line 367] |
# |
Jan 15th 2018, 16:20 |
xavier_ |
# ./cake network |
# |
Jan 15th 2018, 16:19 |
hmic |
not even the file gets included (even on bin/cake when listing available shells/commands!) |
# |
Jan 15th 2018, 16:19 |
xavier_ |
ahm |
# |
Jan 15th 2018, 16:19 |
hmic |
and i am able to execute all the others without problems |
# |
Jan 15th 2018, 16:19 |
hmic |
i just made up a fatal error on one of my shells |
# |
Jan 15th 2018, 16:19 |
hmic |
xavier_, this is not the case |
# |
Jan 15th 2018, 16:16 |
xavier_ |
It is possible to tell to "cake" script to not parse all shell files when executing a specified shell? If I have a typo in a TestShell.php, all executions on other shells fires an error. |
# |
Jan 15th 2018, 16:15 |
xavier_ |
hi! |
# |
Jan 15th 2018, 15:38 |
kitcat711_ |
got stuck with my query on a simple joinTable https://gist.github.com/anonymous/39a3624315d1769b0351c416c48345ef |
# |
Jan 15th 2018, 15:26 |
jotpe |
thanks @admad |