# |
Oct 3rd 2018, 08:42 |
neon1024 |
Can anyone explain the difference between `\Cake\Core\ObjectRegistry` and `\Cake\Collection\Collection` ? |
# |
Oct 3rd 2018, 08:36 |
neon1024 |
@prasanna.venkat Let me know how you get on :thumbsup: |
# |
Oct 3rd 2018, 08:34 |
prasanna.venkat |
@neon1024 Thanks I will check it |
# |
Oct 3rd 2018, 08:33 |
neon1024 |
Maybe you didn’t add `type => file` to your form in the template? |
# |
Oct 3rd 2018, 08:33 |
neon1024 |
Hence the `-R` for recursive, perhaps you have different permissions on different folders |
# |
Oct 3rd 2018, 08:32 |
prasanna.venkat |
ok but in other parts of the application it is working fine |
# |
Oct 3rd 2018, 08:32 |
neon1024 |
Or perhaps 775, I forget |
# |
Oct 3rd 2018, 08:31 |
neon1024 |
Probably something like `chmod -Rv 755 webroot/files` |
# |
Oct 3rd 2018, 08:31 |
prasanna.venkat |
How can I solve this? |
# |
Oct 3rd 2018, 08:29 |
neon1024 |
As it’s really just calling `rename()` in the background, https://github.com/davidyell/CakePHP3-Proffer/blob/master/src/Model/Behavior/ProfferBehavior.php#L268 |
# |
Oct 3rd 2018, 08:28 |
neon1024 |
Usually it’s a file system permission issue |
# |
Oct 3rd 2018, 08:28 |
prasanna.venkat |
@neon1024 I am getting CannotUploadFileException in cakephp3-proffer is there a solution for this issue |
# |
Oct 3rd 2018, 08:18 |
lvrp16Dj |
no, but the assignment variables does |
# |
Oct 3rd 2018, 08:18 |
lvrp16Dj |
but oh well I guess I'll have myself a whole bunch of random compute power that's relatively easy to spin up and down |
# |
Oct 3rd 2018, 08:17 |
narendravaghela |
good morning @neon1024 |
# |
Oct 3rd 2018, 08:16 |
neon1024 |
Morning all |
# |
Oct 3rd 2018, 08:08 |
narendravaghela |
And it should output `<link rel="stylesheet" href="/css/style.min.css?v=1.0.7" "integrity" => "sha256-bla-bla-bla"/>` |
# |
Oct 3rd 2018, 08:07 |
narendravaghela |
I want to pass `intgrity` attribute like `$this->Html->css('style.min.css`, ['integrity' => 'sha256-bla-bla-bla'])` |
# |
Oct 3rd 2018, 08:06 |
narendravaghela |
`$this->Html->css()` does not allow custom attributes, any workarund? |
# |
Oct 3rd 2018, 07:48 |
prasanna.venkat |
@admad thanks I will try blacklisting |
# |
Oct 3rd 2018, 07:48 |
admad |
@feldmarv I might be able to help you if you heed my advice :slightly_smiling_face: |
# |
Oct 3rd 2018, 07:47 |
admad |
jwt can't be destroyed, they can only expire. You could blacklist them but you will have to implement that yourself. |
# |
Oct 3rd 2018, 07:46 |
admad |
@prasanna.venkat jwt auth is statless, there is no "logout" |
# |
Oct 3rd 2018, 07:07 |
marvin.felder |
Hey Guys Does anyone have experience with CakePHP translate behaviour? We really struggle with one issue: https://discourse.cakephp.org/t/i18n-store-values-in-source-table-and-i18n-table/5029 |
# |
Oct 3rd 2018, 07:03 |
snoverEd |
return rec:addr() |
# |
Oct 3rd 2018, 07:03 |
snoverEd |
tried installing again, same error |
# |
Oct 3rd 2018, 06:51 |
LIndividu |
JIZHANHUANG: as an abelian group, the circle S^1 is isomorphic to R x (Q/Z), also to R x (R/Z) |
# |
Oct 3rd 2018, 06:50 |
LIndividu |
thems fightin words |
# |
Oct 3rd 2018, 06:50 |
LIndividu |
surface mount dude |
# |
Oct 3rd 2018, 06:50 |
LIndividu |
because the length of the message pre-padding is part of the padding |
# |
Oct 3rd 2018, 06:19 |
prasanna.venkat |
@admad How to destroy token when user is logged out in cakephp-jwt |
# |
Oct 3rd 2018, 06:00 |
narendravaghela |
https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity |
# |
Oct 3rd 2018, 05:59 |
narendravaghela |
Is it possible to add Subresource Integrity Hash attribute to js/css files loaded via `Html` helper? |
# |
Oct 3rd 2018, 03:46 |
angelxmoreno |
would love to do something like ` $base_subquery->getQuery()` or ` $base_subquery->copy()` |
# |
Oct 3rd 2018, 03:45 |
angelxmoreno |
as you can see, I have to duplicate `$base_subquery` because when i do not, the `$highest_debit_subquery`'s `orderAsc()` takes precedence over the `orderDesc()` of the 2nd subquery ` $highest_credit_subquery` |
# |
Oct 3rd 2018, 03:44 |
slackebot1 |
$highest_credit_subquery = $base_subquery ->select(['amount']) ->orderDesc('amount'); $query->select([ 'highest_debit' => $highest_debit_subquery, 'highest_credit' => $highest_credit_subquery ], false); return $query; ``` |
# |
Oct 3rd 2018, 03:44 |
angelxmoreno |
how do i copy a query builder? Context: I have this somewhat complex query that attaches subqueries: ``` $base_subquery = $this->Transactions->query() ->limit(1) ->where(); $highest_debit_subquery = $base_subquery ->select(['amount']) ->orderAsc('amount'); $base_subquery = $this->Transactions->query() ->limit(1) ->where(); |
# |
Oct 3rd 2018, 03:11 |
angelxmoreno |
greetings bakers |
# |
Oct 3rd 2018, 02:56 |
lilwizEQ |
I was totally unaware of that until I registered my frist trademark |
# |
Oct 3rd 2018, 02:56 |
lilwizEQ |
othias: right :) |
# |
Oct 3rd 2018, 02:42 |
ignacioBm |
izabera: I was thinking about for looping [0-9a-f] so that I'd `sudo rm -rf .../cache/0*; sudo rm -rf .../cache/1*, sudo rm -rf .../cache/2*` |