# |
Oct 6th 2016, 10:32 |
Neon1024 |
Your requirements are ambiguous birdy247! ;) |
# |
Oct 6th 2016, 10:32 |
inoas |
dereuromark ah about core, nah no point, i was only about instance (cache, session, logs etc) |
# |
Oct 6th 2016, 10:32 |
Neon1024 |
Or 2016-01-01â?>January</ |
# |
Oct 6th 2016, 10:32 |
Neon1024 |
<option value=â??1â?>January</option> ? |
# |
Oct 6th 2016, 10:31 |
Neon1024 |
Surely thatâ??s just 1 |
# |
Oct 6th 2016, 10:29 |
birdy247 |
I am pondering the best way to do this |
# |
Oct 6th 2016, 10:28 |
birdy247 |
I am trying to generate a dropdown list of months in the last year, with a value of the 1st day of the month |
# |
Oct 6th 2016, 10:25 |
dereuromark |
and it was not about the cache, but the core files, which is the worst idea as I said |
# |
Oct 6th 2016, 10:25 |
dereuromark |
ionas: because that is maintenance hell, should be clear to you IMO :slightly_smiling_face: |
# |
Oct 6th 2016, 10:24 |
dereuromark |
@ndm: Yeah, it should work like in mysql, so that it is grouped by type and message, but I also want to retrieve the id if possible, thx |
# |
Oct 6th 2016, 10:22 |
inoas |
dereuromark / rudy - why not run multiple app servers with one shared cache? |
# |
Oct 6th 2016, 10:21 |
inoas |
the most it has similar aside that is that it uses liquid template which is very similar to twig (and there is a twig view plugin for cake) |
# |
Oct 6th 2016, 10:20 |
inoas |
has always been Rails |
# |
Oct 6th 2016, 10:19 |
Neon1024 |
I was certain that Shopify was Cake at some point |
# |
Oct 6th 2016, 10:19 |
Neon1024 |
Bit of a beast to undertake, Iâ??m just curious |
# |
Oct 6th 2016, 10:19 |
Neon1024 |
Anyone done that yet |
# |
Oct 6th 2016, 10:17 |
slackebot |
which of the 3 rows should column `a` be picked? MySQL is way lax here (unless `ONLY_FULL_GROUP_BY` is enabled) and is free to pick any row, ie the result is unpredictable. |
# |
Oct 6th 2016, 10:17 |
ndm |
@dereuromark That most likely depends on what exactly the query is supposed to retrieve, further aggregates, subqueries, adding the column to the group, etc, there are many ways... Someone may correct me, as I'm noch that much of an SQL expert, but AFAIK such errors usually occur when it's not possible to tell from which row in the group a column should be selected, for example if you select `a` and `b`, and group by `b`, which matches 3 rows per |
# |
Oct 6th 2016, 10:17 |
acosonic |
oh it needs utility class |
# |
Oct 6th 2016, 10:17 |
acosonic |
so I need App::Import... ? |
# |
Oct 6th 2016, 10:16 |
hmic |
to your question: is XML a controller? - i doubt it... |
# |
Oct 6th 2016, 10:15 |
hmic |
acosonic, why dont you update that ancient cakephp version? |
# |
Oct 6th 2016, 10:13 |
acosonic |
hi all, why do I get class XML not found... ? Cakephp 2.4 https://gist.github.com/acosonic/001beb5f5fcea0096034569afb122c66 |
# |
Oct 6th 2016, 10:12 |
Human_G33k |
dereuromark , with the last script cakephp (after a bake all users/groups ) can't find the user_id column when i try to add a user. https://paste.debian.net/857777/ it's a bug or it's just me doing ugly things ? |
# |
Oct 6th 2016, 10:04 |
Human_G33k |
i have a error in name user_id instead of user_uuid the new one. https://paste.debian.net/857773/ (the uuid in groups_users is useless) |
# |
Oct 6th 2016, 10:00 |
dereuromark |
I wouldnt use char for varchar fields :slightly_smiling_face: I also wouldnt use uuid :P |
# |
Oct 6th 2016, 09:59 |
Human_G33k |
dereuromark or somebody else do you think this sql create script is good ? https://paste.debian.net/857769/ |
# |
Oct 6th 2016, 09:58 |
rudy1976s |
I would spent efforts to create a robust script for deployment instead: we have around 1k virtualhosts to deploy to |
# |
Oct 6th 2016, 09:56 |
rudy1976s |
to be honest i hate that idea too |
# |
Oct 6th 2016, 09:54 |
dereuromark |
just try me and dont do it, dont even think about sharing files like this over apps, ever. always keep them separate when deploying. |
# |
Oct 6th 2016, 09:53 |
dereuromark |
this is like the worst idea ever, and it already came up a few times already |
# |
Oct 6th 2016, 09:53 |
dereuromark |
rudy: not you too :slightly_smiling_face: |
# |
Oct 6th 2016, 09:53 |
rudy1976s |
Hello , Is there a clean way to have core cakephp3 files in a shared folder? we have plenty of instances to run and we would like to centralize the cake core. I read something googling but I am not sure the best way to approach |
# |
Oct 6th 2016, 09:52 |
birdy247 |
in a BelongsToMany relationship, if a parent record is deleted, in the data in the joinTable also deleted? |
# |
Oct 6th 2016, 09:51 |
birdy247 |
by default |
# |
Oct 6th 2016, 09:48 |
mesterjagel |
- Using angular 2 |
# |
Oct 6th 2016, 09:48 |
mesterjagel |
Hey guys, how would you go about serving an index file in an other directory via the router? Trying to host a one page app :slightly_smiling_face:? |
# |
Oct 6th 2016, 09:47 |
Human_G33k |
dereuromark, you can confirm me, now we can have several field primary key ? |
# |
Oct 6th 2016, 09:41 |
Human_G33k |
ok my bad, thx, i will check that. |
# |
Oct 6th 2016, 09:37 |
dereuromark |
it is actually as easy as replacing 3.0 with master |
# |
Oct 6th 2016, 09:37 |
dereuromark |
Human: Did you by any chance try to find that file in the master branch? ;) |