# |
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? |
# |
Jul 18th 2018, 21:59 |
jason001 |
hi guys, I'm using Cake 3.4, and trying to get some data from binlist.net (via Cake\Http\Client) ... but my response is always empty. Any ideas on what I can check? (logs are empty) |
# |
Jul 18th 2018, 21:58 |
joe.zimmerman |
@chris-andre I don't find it annoying because for one, that's all geek to me |
# |
Jul 18th 2018, 21:57 |
hippo |
I don't want the query to run, just want to build it via the ORM |
# |
Jul 18th 2018, 21:57 |
itmpls |
why isn't that sufficient? |
# |
Jul 18th 2018, 21:57 |
hippo |
I think DebugKit grabs it from the logs |
# |
Jul 18th 2018, 21:57 |
itmpls |
use debugkit to grab the full query? @hippo |
# |
Jul 18th 2018, 21:57 |
hippo |
I'm going to just do a str_replace for now, was just wondering if there was something already in the core :slightly_smiling_face: |
# |
Jul 18th 2018, 21:56 |
hippo |
Anyone know if there is a way to get the SQL for a query before it is run (not from the logs), with the parameters in it.. ie. `WHERE 'asd' = 'basd'` instead of `WHERE 'asd' = :aa` |
# |
Jul 18th 2018, 21:53 |
saeideng |
I guess it is internet/composer/github problem |
# |
Jul 18th 2018, 21:50 |
chris-andre |
@joe.zimmerman You might find it "annoying" that I ask you this, but have you tried to setup vagrant+vb and cakebox or homestead? |
# |
Jul 18th 2018, 21:49 |
joe.zimmerman |
the composer folder doesnt have a composer subfolder eitehr |
# |
Jul 18th 2018, 21:48 |
joe.zimmerman |
but that only does like half of what the other one does |
# |
Jul 18th 2018, 21:48 |
joe.zimmerman |
btw this command, `composer require cakephp/cakephp:"~3.6"` works fine |
# |
Jul 18th 2018, 21:46 |
joe.zimmerman |
ok. thanks for trying |
# |
Jul 18th 2018, 21:45 |
saeideng |
so , I can not help you more |
# |
Jul 18th 2018, 21:45 |
saeideng |
i dont use windows |
# |
Jul 18th 2018, 21:45 |
saeideng |
maybe help you |
# |
Jul 18th 2018, 21:44 |
saeideng |
https://github.com/composer/windows-setup |
# |
Jul 18th 2018, 21:42 |
joe.zimmerman |
me thinks thats a temp archive that needs to be unpacked |
# |
Jul 18th 2018, 21:41 |
joe.zimmerman |
yeah the vendor/composer/composer folder has a 581 kb file named `a11b19cdeb10d7b512f960ffb3b9cc2d` in it |
# |
Jul 18th 2018, 21:39 |
joe.zimmerman |
i think its this thing where it says `The archive may contain iden tical file names with different capitalization (which fails on case insensitive filesystems)` |
# |
Jul 18th 2018, 21:38 |
joe.zimmerman |
i dont think it's a connection issue |
# |
Jul 18th 2018, 21:38 |
saeideng |
or set a proxy |
# |
Jul 18th 2018, 21:38 |
saeideng |
ensure you are using good internet |
# |
Jul 18th 2018, 21:37 |
joe.zimmerman |
each time the install fails, i delete the folder it created |
# |
Jul 18th 2018, 21:37 |
saeideng |
and |
# |
Jul 18th 2018, 21:37 |
saeideng |
:yum: |
# |
Jul 18th 2018, 21:37 |
joe.zimmerman |
well I'm not the one that put anything there haha whatever's there is put there by the install |
# |
Jul 18th 2018, 21:37 |
saeideng |
composer create-project --prefer-dist cakephp/app newfolder123456646161 |
# |
Jul 18th 2018, 21:36 |
saeideng |
your destination should empty |
# |
Jul 18th 2018, 21:36 |
joe.zimmerman |
tell that to my cpu! :P |
# |
Jul 18th 2018, 21:35 |
saeideng |
you should not see `Failed to download composer/composer from dist: ...` error |