# |
Dec 18th 2017, 01:32 |
saeideng |
error null content _message null |
# |
Dec 18th 2017, 01:32 |
saeideng |
but |
# |
Dec 18th 2017, 01:32 |
saeideng |
I know |
# |
Dec 18th 2017, 01:30 |
dereuromark |
there is no redirect in that case, it only returns you the URL |
# |
Dec 18th 2017, 01:21 |
saeideng |
I dont know why redirect not works for me on cakephp-ajax plugin |
# |
Dec 17th 2017, 22:29 |
joop |
probably because your query returns empty |
# |
Dec 17th 2017, 22:28 |
joop |
hello |
# |
Dec 17th 2017, 22:27 |
josexato |
sorry, this was a silly mistake, although the error message was missguiding :slightly_smiling_face: |
# |
Dec 17th 2017, 22:20 |
josexato |
I've found some information regarding to authorization, but adding $this->loadComponent('Auth'); did not help |
# |
Dec 17th 2017, 22:15 |
josexato |
{ "message": "Call to a member function find() on boolean", "url": "\/restaurants\/getall?term=Fus", "code": 500, "file": "\/var\/www\/html\/src\/Controller\/RestaurantsController.php", "line": 264 } |
# |
Dec 17th 2017, 22:15 |
josexato |
I am receiving this response |
# |
Dec 17th 2017, 22:14 |
josexato |
hello one question, can you please guide me where is my mistake during this autocomplete https://pastebin.com/VkQhb8Qt |
# |
Dec 17th 2017, 22:03 |
saeideng |
foreach() / patchentity() /saveMany() /and view /form |
# |
Dec 17th 2017, 21:44 |
joop |
saeideng what kind of custome codes is that? |
# |
Dec 17th 2017, 21:43 |
joop |
yoo |
# |
Dec 17th 2017, 21:12 |
saeideng |
evening |
# |
Dec 17th 2017, 21:12 |
saeideng |
custom codes finished :slightly_smiling_face: |
# |
Dec 17th 2017, 21:10 |
birdy247 |
evening |
# |
Dec 17th 2017, 20:44 |
joop |
and throw invalid arguments exception |
# |
Dec 17th 2017, 20:44 |
joop |
i have the issue that in my rule its waiting for some other parameters |
# |
Dec 17th 2017, 20:44 |
joop |
http://josediazgonzalez.com/2015/12/23/data-validation-in-cakephp-3/ |
# |
Dec 17th 2017, 20:43 |
joop |
and after i can back to this question |
# |
Dec 17th 2017, 20:43 |
joop |
but now i have to write costume validation rule |
# |
Dec 17th 2017, 20:43 |
joop |
well i have to work on the same today |
# |
Dec 17th 2017, 20:42 |
saeideng |
this project is force :( |
# |
Dec 17th 2017, 20:42 |
saeideng |
I will test again tomorrow |
# |
Dec 17th 2017, 20:42 |
saeideng |
this return `new` entities IMO |
# |
Dec 17th 2017, 20:29 |
joop |
try to debug this |
# |
Dec 17th 2017, 20:29 |
joop |
$listsave=$this->Articles->newEntities($list) |
# |
Dec 17th 2017, 20:26 |
joop |
me too i had a project for collage but noone is here except us |
# |
Dec 17th 2017, 20:25 |
saeideng |
I should complete it tonight :( |
# |
Dec 17th 2017, 20:25 |
saeideng |
I now want to complete this project |
# |
Dec 17th 2017, 20:25 |
saeideng |
not related :( |
# |
Dec 17th 2017, 20:24 |
joop |
$this->loadModel('Articles'); $list=$this->Articles->find('all')->where(['....'=>'popular']); |
# |
Dec 17th 2017, 20:22 |
saeideng |
and ->all() |
# |
Dec 17th 2017, 20:22 |
saeideng |
I check with/without toArray |
# |
Dec 17th 2017, 20:21 |
joop |
bacuse you put ->toArray() after it |
# |
Dec 17th 2017, 20:21 |
joop |
i would debug a the $list to see if it is correspond for entity |
# |
Dec 17th 2017, 20:15 |
saeideng |
thanks for your time |
# |
Dec 17th 2017, 20:13 |
joop |
there is nothing to say thanks we still not find solution |
# |
Dec 17th 2017, 20:12 |
saeideng |
https://github.com/cakephp/cakephp/issues/11556 |