# |
May 30th 2016, 17:15 |
LckyBy517 |
$players = $statsPlayersTable->find('all', ['order' => ['Stats_players.name' => 'ASC']]); |
# |
May 30th 2016, 17:15 |
LckyBy517 |
anybody see why this line would cause cake to return a jsonserialize error? |
# |
May 30th 2016, 17:11 |
Diego__ |
cant find how to do the set() in this property, i can change in the table model initialize but this way all the save() ll use this saveStrategy |
# |
May 30th 2016, 17:10 |
Diego__ |
i have found only addAssociations() in the table model |
# |
May 30th 2016, 17:09 |
LckyBy517 |
nvm found it |
# |
May 30th 2016, 17:09 |
LckyBy517 |
ascending sort, ASEC or just ASC? |
# |
May 30th 2016, 17:00 |
hmic |
Diego__, sure. you can setup associations on the fly |
# |
May 30th 2016, 16:51 |
lykosis |
@maiconpinto: no problem |
# |
May 30th 2016, 16:47 |
LckyBy517 |
but look at this freaking contain hahah https://github.com/MoosemanStudios/api.moosecraft.us/blob/master/src/Controller/Api/StatsController.php |
# |
May 30th 2016, 16:47 |
LckyBy517 |
i got it, typos haha one table is called Stats_Omnomnom, i had Omnonnom and didn't notice it XD |
# |
May 30th 2016, 16:45 |
Diego__ |
Hello, has anyone worked with "saveStrategy" option? i wanted to know if its possible to change this association propreity only for one controller action |
# |
May 30th 2016, 16:40 |
hmic |
LckyBy517, whats the problem with your tables exactly? - might be an OOM? |
# |
May 30th 2016, 16:39 |
graziel |
ok ill try to remember @hmic |
# |
May 30th 2016, 16:39 |
hmic |
mind: you need to setup a detector, the "custom" stuff does not work magically :p |
# |
May 30th 2016, 16:38 |
hmic |
with this syntax its 1. faster, 2. you can check against custom stuff too like ->is('xlsx') |
# |
May 30th 2016, 16:38 |
LckyBy517 |
make that 2 XD |
# |
May 30th 2016, 16:37 |
hmic |
shyboy, graziel: Controller->request->is('ajax') pls |
# |
May 30th 2016, 16:37 |
shyboy |
thanks! |
# |
May 30th 2016, 16:34 |
graziel |
@shyboy $this->request->isAjax() |
# |
May 30th 2016, 16:34 |
LckyBy517 |
can't figure out why |
# |
May 30th 2016, 16:34 |
LckyBy517 |
hmmmm, 3 of the tables give me jsonserialize errors :( |
# |
May 30th 2016, 16:31 |
shyboy |
How to determine the request is ajax? in cakephp3.2 |
# |
May 30th 2016, 16:27 |
maiconpinto |
Thanks @lykosis |
# |
May 30th 2016, 16:25 |
maiconpinto |
My host change the server and I have to set modules |
# |
May 30th 2016, 16:25 |
maiconpinto |
Tkank you very much |
# |
May 30th 2016, 16:22 |
maiconpinto |
ok |
# |
May 30th 2016, 16:22 |
maiconpinto |
Owww |
# |
May 30th 2016, 16:22 |
bravo-kernel |
@llesc00l |
# |
May 30th 2016, 16:22 |
lykosis |
@maiconpinto: I think you need to add the PHP PDO extension to your host or ask your provider to do so, you can upload a php script using the phpinfo() function to see if the extension enabled on your server |
# |
May 30th 2016, 16:16 |
maiconpinto |
any help? |
# |
May 30th 2016, 16:15 |
maiconpinto |
local works, and web don't work |
# |
May 30th 2016, 16:14 |
maiconpinto |
I installed with composer |
# |
May 30th 2016, 16:13 |
maiconpinto |
`Class 'PDO' not found` |
# |
May 30th 2016, 16:13 |
maiconpinto |
hello, I'm having problem in install my project in host shared. link: http://maiconpinto.com.br/sanclauestojos/ |
# |
May 30th 2016, 15:56 |
ionas |
See you! around |
# |
May 30th 2016, 15:56 |
ionas |
https://validator.w3.org/feed/docs/rss2.html seems to support categories, backlinks |
# |
May 30th 2016, 15:53 |
ionas |
there are probably more out there, but if those 3-4 guys join on the concept then its worth it |
# |
May 30th 2016, 15:53 |
ionas |
its just bravo kernel, dereuromark, savant and mark story atm |
# |
May 30th 2016, 15:52 |
phpnut |
ok |
# |
May 30th 2016, 15:52 |
ionas |
bravo-kernel exactly |
# |
May 30th 2016, 15:52 |
ionas |
phpnut okay so I ll send oldskewl mails to the other bloggers I know about |