# |
Mar 2nd 2018, 13:17 |
inoas |
class Cake\Http\Client\Adapter\Stream doesn't have an interface |
# |
Mar 2nd 2018, 12:55 |
loginews |
I have tried $_SESSION['Auth']['User']['id'] just now and it works. Thanks. |
# |
Mar 2nd 2018, 12:42 |
loginews |
File uploaded https://cakesf.slack.com/files/U435V89H8/F9JCXDY6S/auth_component.txt / https://slack-files.com/T053DPNCM-F9JCXDY6S-57b1329d02 - Can you guide me please. Thanks in advance. |
# |
Mar 2nd 2018, 11:55 |
edgaras.jan |
https://book.cakephp.org/3.0/en/controllers/components/cookie.html is encrypted cookie component. Use https://book.cakephp.org/3.0/en/controllers/request-response.html#creating-cookies for non-encrypted cookies |
# |
Mar 2nd 2018, 11:53 |
neon1024 |
Ah bugged code! |
# |
Mar 2nd 2018, 11:53 |
neon1024 |
The data to decrypt cannot be empty. |
# |
Mar 2nd 2018, 11:52 |
neon1024 |
I want to use non-ecrypted cookies |
# |
Mar 2nd 2018, 11:45 |
neon1024 |
Does enforce encrypted cookies ? |
# |
Mar 2nd 2018, 09:19 |
neon1024 |
I’m hoping to attend Cakefest, I’ve submitted 3 talks, so hopefully something is of interest to the cake community :) |
# |
Mar 2nd 2018, 09:01 |
johan |
Hm... I'll give it some thought ;) |
# |
Mar 2nd 2018, 09:01 |
megan |
also @johan why dont you submit a talk? CFP is open until 15th March |
# |
Mar 2nd 2018, 09:00 |
megan |
have to try! :) also - the EB rates are up, wont be there for long ;) (full prices will be from 1 April ish....) |
# |
Mar 2nd 2018, 08:59 |
johan |
Would love to, but might be difficult to convince the powers that be :P |
# |
Mar 2nd 2018, 08:58 |
megan |
so who's coming to CakeFest this year? :cakephp::parrotparty: |
# |
Mar 2nd 2018, 08:49 |
neon1024 |
Morning from snowy Britain! |
# |
Mar 2nd 2018, 08:10 |
pidlo |
associated array |
# |
Mar 2nd 2018, 08:10 |
pidlo |
i found this select(['virtual'=>'name'] thanks for time.. |
# |
Mar 2nd 2018, 08:05 |
pidlo |
by orm? |
# |
Mar 2nd 2018, 08:04 |
pidlo |
is not possible do this? RemovalStates.name AS `RemovalStates__vitrual`, |
# |
Mar 2nd 2018, 08:00 |
johan |
Speaking under correction, but I don't think you can `select` virtual fields. `select` is generally just for columns that are in the database, or for aliases. |
# |
Mar 2nd 2018, 07:55 |
pidlo |
what i do wrong? |
# |
Mar 2nd 2018, 07:54 |
pidlo |
but in object virtual is filled .. |
# |
Mar 2nd 2018, 07:54 |
pidlo |
hello all i would set virtual field and use it .. i write Entity class but if use find function i have not in select |
# |
Mar 2nd 2018, 06:56 |
savant |
morning morning |
# |
Mar 2nd 2018, 06:56 |
megan |
Morning everyone! :) |
# |
Mar 2nd 2018, 06:17 |
savant |
https://github.com/josegonzalez/cakephp-queuesadilla/ <-- :slightly_smiling_face: |
# |
Mar 2nd 2018, 06:17 |
savant |
@turkles but you can use background jobs :slightly_smiling_face: |
# |
Mar 2nd 2018, 06:17 |
savant |
Nah |
# |
Mar 2nd 2018, 04:04 |
turkles |
My shell basically grabs different (somewhat related) data from an external API, I have a behaviour set up to perform the 'fetch'. Can you do a dispatch shell from a behaviour? Because that might work, a second behaviour |
# |
Mar 2nd 2018, 03:57 |
ricksaccous |
oh yeah that's a good idea too |
# |
Mar 2nd 2018, 03:57 |
rchavik |
you can use Behaviours |
# |
Mar 2nd 2018, 03:52 |
ricksaccous |
now that i read your use case again, i would think |
# |
Mar 2nd 2018, 03:52 |
ricksaccous |
actually trait is the best |
# |
Mar 2nd 2018, 03:52 |
ricksaccous |
or still extend AppModel and only use it there so it's available everywhere |
# |
Mar 2nd 2018, 03:52 |
ricksaccous |
or create a trait like ShellAwareTrait and use it |
# |
Mar 2nd 2018, 03:51 |
ricksaccous |
or do a use statement in the model with the shell class rather |
# |
Mar 2nd 2018, 03:51 |
ricksaccous |
just create a shell class and use it in the model |
# |
Mar 2nd 2018, 03:50 |
turkles |
it's in a shell, the stuff I need will call other shells too |
# |
Mar 2nd 2018, 03:50 |
ricksaccous |
and do it that way |
# |
Mar 2nd 2018, 03:50 |
ricksaccous |
you can have all your table models extend an AppTable class |
# |
Mar 2nd 2018, 03:48 |
turkles |
yes.. 3.4 I think |