# |
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 |
# |
Apr 9th 2019, 11:18 |
neon1024 |
Also :point_right: https://github.com/Phauthentic/authentication-cakephp |
# |
Apr 9th 2019, 11:18 |
neon1024 |
The two packages seem to resolve the same issue though |
# |
Apr 9th 2019, 11:17 |
neon1024 |
Will it use it, isn’t really a question we can answer. You’d need to raise a ticket or track down a code team member |
# |
Apr 9th 2019, 11:17 |
neon1024 |
Seems like it’s got a 1.x release, so probably quite stable now |
# |
Apr 9th 2019, 11:14 |
rochasmarcelo |
By the way what is the status of https://github.com/cakephp/authentication will it use https://github.com/Phauthentic/authentication? |
# |
Apr 9th 2019, 10:56 |
neothermic |
mm, moving to 3.x is the minimum as once 4.x lands 2.x drops out of support :P |
# |
Apr 9th 2019, 10:47 |
neon1024 |
So I’d think 4.1 will probably follow quite quite |
# |
Apr 9th 2019, 10:47 |
neon1024 |
Is my understanding |
# |
Apr 9th 2019, 10:46 |
neon1024 |
4.0 is just removing the deprecated parts of the 3.x api |
# |
Apr 9th 2019, 10:41 |
neothermic |
and if 3.x to 4.x is not complicated. then we might be able to do that as well at the same time |
# |
Apr 9th 2019, 10:40 |
neothermic |
also when 4.x drops we'll have to do the 3.x migration, or sit with no support |