# |
Jul 19th 2018, 08:01 |
josbeir |
i only give directions |
# |
Jul 19th 2018, 08:01 |
josbeir |
nah sorry |
# |
Jul 19th 2018, 08:00 |
thuyhyvg |
@josbeir Can you help me check changelogs between those versions ? |
# |
Jul 19th 2018, 07:59 |
neon1024 |
Morning all |
# |
Jul 19th 2018, 07:57 |
josbeir |
@thuyhyvg just check changelogs between those versions and adapt where needed. |
# |
Jul 19th 2018, 07:50 |
thuyhyvg |
How to upgrade to CakePHP 2.10 ? |
# |
Jul 19th 2018, 07:50 |
thuyhyvg |
I'm using cakephp 2.6 |
# |
Jul 19th 2018, 07:49 |
thuyhyvg |
Hello |
# |
Jul 19th 2018, 07:27 |
blancessanchez30 |
File uploaded https://cakesf.slack.com/files/UBT3P2XA7/FBT7P9YCA/-.txt / https://slack-files.com/T053DPNCM-FBT7P9YCA-e904f8849f |
# |
Jul 19th 2018, 07:25 |
Wouterdt |
But no header is sent with the page load, can anyone help me in finding out what I'm doing wrong? |
# |
Jul 19th 2018, 07:24 |
Wouterdt |
In my helper I'm doing: $this->request->withHeader('X-Test', 'Test'); |
# |
Jul 19th 2018, 07:24 |
Wouterdt |
Hello, I'm trying to set a header from a helper in CakePHP 3.6. |
# |
Jul 19th 2018, 06:09 |
lubos |
Morning all, how to set up FormHelper to use custom EntityContext class? |
# |
Jul 19th 2018, 05:57 |
beakman |
What’s up my dude?! Hahahaha |
# |
Jul 19th 2018, 05:57 |
beakman |
@jslamka5685 YO! |
# |
Jul 19th 2018, 00:11 |
sdevore |
is there a limit to the number of associated records you can update from a form? It seems like if i have a lot the _Token is not built so the security component throws the exception |
# |
Jul 18th 2018, 22:34 |
joe.zimmerman |
have a good nite |
# |
Jul 18th 2018, 22:34 |
joe.zimmerman |
thanks for trying peeps! |
# |
Jul 18th 2018, 22:11 |
jason001 |
@hippo that works! thanks a mil! |
# |
Jul 18th 2018, 22:10 |
jason001 |
ahh ok lemmie try |
# |
Jul 18th 2018, 22:07 |
hippo |
`echo $resp->json`; |
# |
Jul 18th 2018, 22:07 |
hippo |
jason001: https://book.cakephp.org/3.0/en/core-libraries/httpclient.html#reading-response-bodies |
# |
Jul 18th 2018, 22:07 |
hippo |
So that `$resp` will be a response object |
# |
Jul 18th 2018, 22:04 |
jason001 |
sorry *json_encode($resp) |
# |
Jul 18th 2018, 22:04 |
jason001 |
then a die after that |
# |
Jul 18th 2018, 22:04 |
jason001 |
my code is : $resp = $http->get("https://lookup.binlist.net/45717360"); echo json_encode($http); |
# |
Jul 18th 2018, 22:03 |
jason001 |
@hippo, no I haven't. The URL I'm testing is here: https://lookup.binlist.net/45717360 <- it just returns some json data |
# |
Jul 18th 2018, 22:03 |
saeideng |
install linux 8) |
# |
Jul 18th 2018, 22:02 |
joe.zimmerman |
but i didnt have it running while doing this. then i turned it on and tried again but same result |
# |
Jul 18th 2018, 22:02 |
joe.zimmerman |
I have wamp set up here |
# |
Jul 18th 2018, 22:02 |
chris-andre |
@joe.zimmerman I used MAMP or XAMPP a couple years ago. Always was errors or slow. Setting up cakebox or homestead is actually pretty simple, and works like a charm. |
# |
Jul 18th 2018, 22:02 |
hippo |
jason001, and you've tested the request via postman and it works? |
# |
Jul 18th 2018, 22:02 |
joe.zimmerman |
would that mess things up if i already have it installed globally? |
# |
Jul 18th 2018, 22:01 |
joe.zimmerman |
I have not |
# |
Jul 18th 2018, 22:01 |
hippo |
@joe.zimmerman have you tried a non-global version of composer? |
# |
Jul 18th 2018, 22:01 |
hippo |
Will just use this for now all good. ``` $sql = $query->sql(); $params = $query->getValueBinder()->bindings(); ``` |
# |
Jul 18th 2018, 22:01 |
joe.zimmerman |
what environment are you doing this in? |
# |
Jul 18th 2018, 22:00 |
hippo |
Cake ORM logs queries when they execute |
# |
Jul 18th 2018, 22:00 |
hippo |
Yeah |
# |
Jul 18th 2018, 22:00 |
saeideng |
>I think DebugKit grabs it from the logs after execute .......... |
# |
Jul 18th 2018, 21:59 |
joe.zimmerman |
@hippo by logs do you mean console? |