# |
Apr 9th 2019, 23:46 |
hollistergraham123 |
When using the JsonView is there a way to set the status of the response? |
# |
Apr 9th 2019, 21:07 |
admad |
the 1st code block in this section shows you how https://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers |
# |
Apr 9th 2019, 20:55 |
maymeow |
Can i use non default user table for auth component? if yes How? |
# |
Apr 9th 2019, 19:56 |
sdevore |
I have used this as a starting point in the past for a cakephp docker setup https://github.com/cwbit/cakephp-docker |
# |
Apr 9th 2019, 19:46 |
johannsan |
i figured u guys mayb could help me. i would like to dev my cakephp apps using docker containers. do u have an easy-to-use dockerfile? mayb a good tutorial?! my knowledge on docker is limited, but i don't mind learning it. |
# |
Apr 9th 2019, 19:43 |
johannsan |
hello! |
# |
Apr 9th 2019, 19:43 |
abdualelah.mdy |
solve it. thanks anyway |
# |
Apr 9th 2019, 19:39 |
abdualelah.mdy |
help please |
# |
Apr 9th 2019, 19:38 |
slackebot |
<abdualelah.mdy> |
# |
Apr 9th 2019, 19:36 |
slackebot |
<abdualelah.mdy> |
# |
Apr 9th 2019, 19:35 |
abdualelah.mdy |
here is my code |
# |
Apr 9th 2019, 19:35 |
abdualelah.mdy |
it gives 500 internal error |
# |
Apr 9th 2019, 19:35 |
abdualelah.mdy |
i have problem with ajax |
# |
Apr 9th 2019, 15:57 |
jeremyharris |
you could use toArray and check the key via isset(), but that’s about it |
# |
Apr 9th 2019, 15:51 |
sicoro |
Is it possible to get collection's element by key simpler? https://pastebin.com/gP44f2A0 |
# |
Apr 9th 2019, 14:35 |
slackebot |
<tjkalinowski> |
# |
Apr 9th 2019, 14:03 |
om.axisweb |
how to get this data both ? |
# |
Apr 9th 2019, 14:02 |
om.axisweb |
i have a table name student student table in a field name by class_id and an another table name fee_data in fee_data table in have class_id field |
# |
Apr 9th 2019, 13:51 |
ricksaccous |
i think probably php ftp will work fine for that |
# |
Apr 9th 2019, 13:49 |
ricksaccous |
has anyone dealt with larger file transfers? |
# |
Apr 9th 2019, 13:49 |
ricksaccous |
i suppose i'll be a trailblazer here wooo |
# |
Apr 9th 2019, 13:46 |
ricksaccous |
has anyone had to do any work with DICOM files here? |
# |
Apr 9th 2019, 13:17 |
admad |
or rather read :slightly_smiling_face: |
# |
Apr 9th 2019, 13:17 |
admad |
yeah, I tried to shut down the 7.3 discussion with my last comment, hope people listen |
# |
Apr 9th 2019, 13:16 |
neothermic |
of course . I think 7.3 discussion is so premature at this stage :slightly_smiling_face: |
# |
Apr 9th 2019, 13:16 |
admad |
@neothermic but they all seem to have allegiance to another devil. They want to bump to 7.3 while I question the benefit of even bumping to 7.2 :slightly_smiling_face: |
# |
Apr 9th 2019, 13:14 |
rogerpro |
I cannot use virtual fields because MAX is in an associated model. |
# |
Apr 9th 2019, 13:14 |
rogerpro |
Which snippet? Oh, and pagination have to be called from GammaController. |
# |
Apr 9th 2019, 13:11 |
dereuromark |
of course, just reuse the same snippet. I had to do the same for geo plugin and virtual fields there. |
# |
Apr 9th 2019, 13:09 |
rogerpro |
Is it posible to paginate that in Cake 2 ? ``` select a.user_id, MAX(b.amount) as max_amount from alpha a left join beta b on (b.alpha_id = a.id) group by a.user_id order by max_amount desc; ``` |
# |
Apr 9th 2019, 12:55 |
neothermic |
@admad we have so many advocates for the devil there ;) |
# |
Apr 9th 2019, 12:46 |
dereuromark |
if you can group them, sure a plugin can help to keep them together and things structured. |
# |
Apr 9th 2019, 12:40 |
conehead |
Hm when having a lot of Models/Tables, but they are actually all quite connected to each other. Is it recommended to use plugins? Or use a custom folder structure? Somehow I think it is getting a little bit confusing |
# |
Apr 9th 2019, 12:27 |
dereuromark |
yeah, that sure causes trouble :) |
# |
Apr 9th 2019, 12:20 |
lubos |
Yeah, thanks. Found out that I have used `NotFoundException` class when not added to the list of uses at the top :slightly_smiling_face: |
# |
Apr 9th 2019, 12:03 |
dereuromark |
so all good :slightly_smiling_face: |
# |
Apr 9th 2019, 12:03 |
dereuromark |
firstOrFail should actually become 400 with debug mode off |
# |
Apr 9th 2019, 11:25 |
lubos |
Hi all, I use `ExceptionRenderer` to handle not foound page. Currently I have used `firstOrFail` which is returning http header with code 500, how to I adjust to http 400? try-catch and custom response? |
# |
Apr 9th 2019, 11:21 |
rochasmarcelo |
I'll check if there is any ticket related to this. |
# |
Apr 9th 2019, 11:20 |
rochasmarcelo |
phauthentic is fork but it seems that cakephp/authentication should be a package like phauthentic/authentication-cakephp |
# |
Apr 9th 2019, 11:19 |
rochasmarcelo |
I was going to mention that package |