# |
Oct 6th 2016, 10:42 |
dereuromark |
You are right. Can be removed |
# |
Oct 6th 2016, 10:41 |
ndm |
@dereuromark Do you really actually need the `id`, ie is your code dependent on it? And if it is, wich `id` would be the "correct" one if you have multiple rows in the group? I don't know what your code does, but I could imagine that relying on one of the the id(s) of a group indicates that something is wrong here. |
# |
Oct 6th 2016, 10:39 |
acosonic |
XML actually :) works good |
# |
Oct 6th 2016, 10:37 |
kennydang |
as i'm sending an array |
# |
Oct 6th 2016, 10:37 |
hmic |
in cake, use debugkit "history" to show your ajax requests |
# |
Oct 6th 2016, 10:37 |
kennydang |
so my data is undefined? |
# |
Oct 6th 2016, 10:37 |
kennydang |
it said undefined |
# |
Oct 6th 2016, 10:37 |
Neon1024 |
If youâ??re in Chrome :) |
# |
Oct 6th 2016, 10:37 |
Neon1024 |
^ and check the XHR button |
# |
Oct 6th 2016, 10:37 |
hmic |
kennydang: press F12 key in your brower and go to the network tab |
# |
Oct 6th 2016, 10:36 |
kennydang |
as when sending out AJAX post request, how can we view the sending data? |
# |
Oct 6th 2016, 10:35 |
kennydang |
currently, idk how to track my post request |
# |
Oct 6th 2016, 10:35 |
kennydang |
i'm student and cake fresh man |
# |
Oct 6th 2016, 10:34 |
mamchenkov |
any ideas? |
# |
Oct 6th 2016, 10:34 |
mamchenkov |
the method works, it's just the unit test issue |
# |
Oct 6th 2016, 10:34 |
mamchenkov |
I have an issue with my unit tests .. I have a method that uses $this->Html->link() and during a plugin test run it throws the following: include(vendor/cakephp/cakephp/tests/test_app/config/routes.php): failed to open stream: No such file or directory |
# |
Oct 6th 2016, 10:34 |
inoas |
heya |
# |
Oct 6th 2016, 10:34 |
kennydang |
hi all cake bakers :slightly_smiling_face: |
# |
Oct 6th 2016, 10:33 |
mamchenkov |
hey Neon1024 |
# |
Oct 6th 2016, 10:33 |
inoas |
like say Flysystem for logs, Redis for Cache/Sessions |
# |
Oct 6th 2016, 10:33 |
Neon1024 |
Morning mamchenkov |
# |
Oct 6th 2016, 10:33 |
acosonic |
XML loading is a crap, it crashes on this feed: http://about.van.fedex.com/feed/?post_type=newsroom |
# |
Oct 6th 2016, 10:33 |
mamchenkov |
hello :) |
# |
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 |