# |
Oct 2nd 2016, 16:24 |
michaelze |
lorb: can you tell a little bit more about what you are doing? is it some sort of import? |
# |
Oct 2nd 2016, 16:24 |
lorb |
similaar |
# |
Oct 2nd 2016, 16:23 |
michaelze |
lorb: do you actually create an array with 100k "rows" and then use saveAll to store them? |
# |
Oct 2nd 2016, 16:22 |
lorb |
for some reason cakephp has a fatal error of memory exhaustion when trying to save 100k rows, which shouldn't be a problem with 1G of allowed memory |
# |
Oct 2nd 2016, 16:22 |
lorb |
large amounts = number of records has 6 digits |
# |
Oct 2nd 2016, 16:22 |
lorb |
how can I handle large amounts of data in cakephp2 ? |
# |
Oct 2nd 2016, 16:20 |
michaelze |
(i.e. beforeFind()) |
# |
Oct 2nd 2016, 16:20 |
michaelze |
Hi everyone! Is there a way to modify a query by a behavior the moment it is created instead of the moment that it is executed? |
# |
Oct 2nd 2016, 16:18 |
noibilism |
Helloâ?¦anybody know any nice drag and drop file uploader script out there that can be implemented with cake 3? |
# |
Oct 2nd 2016, 13:30 |
admad |
use gist or pastebin |
# |
Oct 2nd 2016, 13:30 |
admad |
phpcakebaker: show the full stacktrace for the error |
# |
Oct 2nd 2016, 13:26 |
phpcakebaker |
I believe that match the controller name do not need to be loaded or set to a property manually. |
# |
Oct 2nd 2016, 13:24 |
phpcakebaker |
Hello, I am doing the tutorial at http://www.bravo-kernel.com/2015/04/how-to-add-jwt-authentication-to-a-cakephp-3-rest-api/ and I run into an error that I would like to understand and solve. When I add a new user, as instructed in the tutorial I get an error Call to a member function success() on boolean |
# |
Oct 2nd 2016, 10:10 |
kingloui |
it seems that it writes a bad cookie, because it can read a cookie written by cakephp 3.3.4 but when I login again it canâ??t read the cookie |
# |
Oct 2nd 2016, 10:08 |
kingloui |
e |
# |
Oct 2nd 2016, 10:08 |
kingloui |
when I downgrade to cakephp 3.3.4 it is working fin |
# |
Oct 2nd 2016, 10:08 |
kingloui |
anyone else having problems with CakeDC/Users RememberMe not working with cakephp 3.3.5? |
# |
Oct 2nd 2016, 09:19 |
birdy247 |
Morning bakersssssssss |
# |
Oct 2nd 2016, 08:57 |
lorb |
for some reason cakephp has a fatal error of memory exhaustion when trying to save 100k rows, which shouldn't be a problem with 1G of allowed memory |
# |
Oct 2nd 2016, 08:55 |
lorb |
large amounts = number of records has 6 digits |
# |
Oct 2nd 2016, 08:54 |
lorb |
how can I handle large amounts of data in cakephp2 ? |
# |
Oct 2nd 2016, 02:22 |
moose517 |
booored ROFL |
# |
Oct 2nd 2016, 01:43 |
ndm |
np |
# |
Oct 2nd 2016, 01:43 |
waspinator |
thanks @ndm |
# |
Oct 2nd 2016, 01:43 |
waspinator |
oh so just `->matching('Association')` would work |
# |
Oct 2nd 2016, 01:42 |
ndm |
@waspinator You don't need to pass the second argument at all |
# |
Oct 2nd 2016, 01:39 |
waspinator |
pretty good. whats up |
# |
Oct 2nd 2016, 01:39 |
moose517 |
how are you |
# |
Oct 2nd 2016, 01:39 |
waspinator |
hi moose |
# |
Oct 2nd 2016, 01:39 |
waspinator |
hmm, just returning `$q` worked |
# |
Oct 2nd 2016, 01:39 |
moose517 |
hi guys |
# |
Oct 2nd 2016, 01:37 |
waspinator |
`$q->isEmpty()` would probably have something to do with it |
# |
Oct 2nd 2016, 01:34 |
waspinator |
hmm okay, so `$model->matching('Association' function($q) {return $q->?} )` what condition would I set to mean `not empty`? |
# |
Oct 2nd 2016, 01:25 |
ndm |
http://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#filtering-by-associated-data |
# |
Oct 2nd 2016, 01:25 |
ndm |
@waspinator Depends on the type of association... for `hasOne`/`belongsTo` you could use the `INNER` join type (contain configs accept a `joinType` option), apart from that, `innerJoinWith()`/`matching()` works for all types. |
# |
Oct 2nd 2016, 01:17 |
waspinator |
how would you `find()` records where the `contain`ed association is not null? |
# |
Oct 1st 2016, 23:27 |
CoderJon |
Does anyone know how to get bootstrap to work with CakePdf? |
# |
Oct 1st 2016, 17:14 |
mesterjagel |
@hmic okay. I just didnâ??t get an error before I tried to save the individual entity that was failing. Iâ??m most likely doing it wrong in that case :slightly_smiling_face: Thank you :slightly_smiling_face: |
# |
Oct 1st 2016, 17:12 |
hmic |
the error will not be in the main entity, but the related one of which the save failed |
# |
Oct 1st 2016, 17:11 |
hmic |
mesterjagel: from the entity, like without |
# |
Oct 1st 2016, 16:58 |
mesterjagel |
Hey guys, when is there a way to get error messages when saving a with associations and something in the associated data fails? |