# |
Apr 26th 2019, 09:14 |
asdfgh |
i need the entire path |
# |
Apr 26th 2019, 09:14 |
asdfgh |
i tried getPath() path it prints the /:controller/:action |
# |
Apr 26th 2019, 09:14 |
asdfgh |
i need to print that string in a view |
# |
Apr 26th 2019, 09:14 |
asdfgh |
pardon guys i do not with a way to get the host() of the website via the request |
# |
Apr 26th 2019, 09:13 |
asdfgh |
hello |
# |
Apr 26th 2019, 07:55 |
conehead |
Good mornin |
# |
Apr 26th 2019, 07:54 |
neon1024 |
Morning all! :wave: Happy Friday |
# |
Apr 26th 2019, 07:54 |
conehead |
Thats true. Still I think its a good choice to bump to 7.2 |
# |
Apr 26th 2019, 07:52 |
admad |
running too close to the edge increases the changes of falling over :slightly_smiling_face: |
# |
Apr 26th 2019, 07:51 |
conehead |
@admad make it php 7.3! :P |
# |
Apr 26th 2019, 07:18 |
admad |
final chance for anyone to object to bumping to php 7.2 for cake 4 :slightly_smiling_face: https://github.com/cakephp/cakephp/pull/13165 |
# |
Apr 26th 2019, 04:21 |
hollistergraham123 |
I found this. Is this the recommended way to handle this problem? |
# |
Apr 26th 2019, 04:21 |
hollistergraham123 |
https://stackoverflow.com/questions/50229244/cakephp-3-exception-handling-serialization-in-a-restful-api |
# |
Apr 26th 2019, 02:29 |
voycey |
Are you using environment variables for your config? (.env etc?) - this greatly simplfies everything as you can just provide a different .env to populate the config files |
# |
Apr 26th 2019, 00:08 |
hollistergraham123 |
Is there a function on the entity interface to get the first error as a string? |
# |
Apr 25th 2019, 22:40 |
sdevore |
So not sure if anyone is usingFriendsOfCake/CakePDF with wktohtmlpdf but I got a significant speed up in pdf generation by removing border-radius from elements to be rendered (from 30+ seconds to < .5 second) (based on some reading in here https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1510 ) |
# |
Apr 25th 2019, 22:29 |
rudy1976s |
Hello !! what is the correct way to disable <<csfr for certain action , using CSFR middleware ? |
# |
Apr 25th 2019, 20:10 |
ricksaccous |
good luck |
# |
Apr 25th 2019, 20:10 |
ricksaccous |
just sounds like relations or request data is set up wrong |
# |
Apr 25th 2019, 20:09 |
waspinator |
how would you save associated data when the model has two `belongsTo` relations? i.e. `A` contains `B` contains `C` which `belongsTo` both `A` and `B`. adding `['associated' => ['B.C']` complains that the `A_id` is empty when trying to save `C` |
# |
Apr 25th 2019, 19:07 |
devito |
leme give it a shot |
# |
Apr 25th 2019, 19:03 |
ricksaccous |
and you should be good i think |
# |
Apr 25th 2019, 19:03 |
ricksaccous |
you just apply the pagination after the filters |
# |
Apr 25th 2019, 19:03 |
ricksaccous |
then no it shouldn't |
# |
Apr 25th 2019, 19:03 |
devito |
im using sortwhitelist, and if i do not use filters the table is sortable but when i do use filters the sort gets disabled |
# |
Apr 25th 2019, 19:02 |
devito |
3 |
# |
Apr 25th 2019, 19:01 |
ricksaccous |
@devito are you talking cakephp2 or 3? |
# |
Apr 25th 2019, 18:59 |
devito |
sorry, in the pagination component if a filter is specified does it disable column sorting i with the paginator helper’ |
# |
Apr 25th 2019, 18:58 |
devito |
a, can the table still be sortable? or does the filter disable sorting? |
# |
Apr 25th 2019, 18:30 |
waspinator |
yes, I think that's the point |
# |
Apr 25th 2019, 18:26 |
hollistergraham123 |
Can you modify the entity in beforeSave function? |
# |
Apr 25th 2019, 17:15 |
this.impetus |
So you guys get a sense of accomplishment for what you do—w/r to my earlier dilemmas, thanks to your counsel I tracked down the issue in the plug-in, solved it, and subsequently have had the original author fix it in the repo. So a problem was permanently fixed on your watch, ty boys |
# |
Apr 25th 2019, 15:59 |
neon1024 |
Faster you can fail the quicker you’ll learn! |
# |
Apr 25th 2019, 15:59 |
this.impetus |
Ok. Thanks guys. I'm breaking for lunch, will get in to these suggestions. Failing is such an education haha |
# |
Apr 25th 2019, 15:57 |
ricksaccous |
just something i always check, if my app skeleton is updated, when commands/console things go wrong |
# |
Apr 25th 2019, 15:57 |
ricksaccous |
hehe |
# |
Apr 25th 2019, 15:57 |
ricksaccous |
yeah |
# |
Apr 25th 2019, 15:57 |
ricksaccous |
anyway it's more likely a plugin failure because the class isn't found |
# |
Apr 25th 2019, 15:57 |
neon1024 |
I don’t think the bin files are relevant here |
# |
Apr 25th 2019, 15:56 |
neon1024 |
Oh, there isn’t one |
# |
Apr 25th 2019, 15:56 |
ricksaccous |
or even his bin/ files |