Log message #4108825

# At Username Text
# Jan 15th 2018, 11:01 maymeow i need to change it after component is complete with his request
# Jan 15th 2018, 11:00 neon1024 https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks
# Jan 15th 2018, 11:00 neon1024 Use the `created()` method in the Vue instance to change `this.loading` to `false`
# Jan 15th 2018, 10:59 maymeow https://github.com/MayMeow/sandbox/blob/add-users/resources/js/app.js and component https://github.com/MayMeow/sandbox/blob/master/resources/js/components/PostViewComponent.vue App is combination VueJS + CakePHP
# Jan 15th 2018, 10:57 maymeow HI all. How can i hide loading with vueJS when request is complete???
# Jan 15th 2018, 10:40 saeideng 'Mail' in debug_kit?
# Jan 15th 2018, 10:17 justrohu Hello all, I am getting a Unable to find 'Mail' panel error ... I have just switched my CakePHP 3.3 setup to new VPS ... please help me understand this
# Jan 15th 2018, 09:27 neon1024 hi...
# Jan 15th 2018, 09:27 james-mk hi we recently moved from apatche to nginx after the move sometime records is coming from database but sometime not records coming , i need to refresh 3-4 time and their is no ajax to fech data from server its happenig on every pc not for one my application is in cakephp 2
# Jan 15th 2018, 09:24 neon1024 Morning all
# Jan 15th 2018, 09:21 manishmk hi we recently moved from apatche to nginx after the move sometime records is coming from database but sometime not records coming , i need to refresh 3-4 time and their is no ajax to fech data from server its happenig on every pc not for one my application is in cakephp 2
# Jan 15th 2018, 09:05 kitcat711_ hello, looking for best practices for building an email notificaiton system, what would you recommend (doc, tuto, guide)?
# Jan 15th 2018, 08:58 manishmk hi we recently moved from apatche to nginx after the move sometime records is coming from database but sometime not records coming , i need to refresh 3-4 time and their is no ajax to fech data from server its happenig on every pc not for one my application is in cakephp 2
# Jan 15th 2018, 08:55 birdy247 set it to dirty etc..
# Jan 15th 2018, 08:55 birdy247 tried all the usual tricks
# Jan 15th 2018, 08:49 birdy247 but the records are not deleting
# Jan 15th 2018, 08:49 birdy247 I have a saveStrategy set to "replace"
# Jan 15th 2018, 08:48 learningcake $check = $this->Stores->find('all',['Stores.user_id'=>$user,'Stores.created + INTERVAL 30 DAY <' => Time::NOW() ])->toArray(); sorry this is the correct code I am using '<' Time::Now()
# Jan 15th 2018, 08:44 learningcake Good morning House. I tried selecting columns whose data range from timecreated to a 30days interval but it seems not to be working. What am I doing wrong? here is my code $check = $this->Stores->find('all',['Stores.user_id'=>$user,'Stores.created + INTERVAL 30 DAY >' => Time::NOW() ])->toArray();
# Jan 15th 2018, 00:06 jarard anyone here?
# Jan 14th 2018, 12:22 saeideng https://github.com/cakephp/app/blob/master/src/Controller/AppController.php#L44
# Jan 14th 2018, 12:12 maymeow adn add to your controller (if its actual) ``` public function initialize() { parent::initialize(); $this->loadComponent('RequestHandler'); } ```
# Jan 14th 2018, 10:37 jack_sonu i dont want to instal CRUD plugin so i skip this step
# Jan 14th 2018, 10:34 saeideng https://pastebin.com/FesjCZ80
# Jan 14th 2018, 10:31 jack_sonu already added bro
# Jan 14th 2018, 10:30 saeideng try `Router::extensions(['json', 'xml']);`
# Jan 14th 2018, 10:28 jack_sonu any idea why its giving me error ?
# Jan 14th 2018, 10:27 jack_sonu with this http://www.bravo-kernel.com/2015/04/how-to-build-a-cakephp-3-rest-api-in-minutes/ i am trying to create a api. but myurl.com/forms.json giving me error "Template file \"Forms/json/index.ctp\" is missing."
# Jan 14th 2018, 10:26 jack_sonu hi
# Jan 14th 2018, 05:27 Pat Hello
# Jan 14th 2018, 01:56 jason001 is cake awake?
# Jan 13th 2018, 19:58 greenjam94 Yeah I replaced that with find() and it works perfect
# Jan 13th 2018, 19:54 maymeow there is a custom finder method :slightly_smiling_face: `find('popular')`
# Jan 13th 2018, 19:52 greenjam94 ahh this is much simpler than what I was trying with a custom finder method, ty
# Jan 13th 2018, 19:49 maymeow ``` public function index() { $query = $this->Articles->find('popular')->where(['author_id' => 1]); $this->set('articles', $this->paginate($query)); } ```
# Jan 13th 2018, 19:49 maymeow yes :slightly_smiling_face: https://book.cakephp.org/3.0/en/controllers/components/pagination.html
# Jan 13th 2018, 19:47 greenjam94 Hey, is it possible to filter a paginator's results? for example, a documents model and index view with baked paginator table. If the docs have a type field, can I say only documents with type == notes
# Jan 13th 2018, 19:37 maymeow @@
# Jan 13th 2018, 19:12 tephysalazar how i can get the view from a HABTM association? cake bake generate the files to use a single primary key, but should have been a compound key.
# Jan 13th 2018, 18:52 hmic crud does not care about auth IMHO
# Jan 13th 2018, 18:49 birdy247 is this possible?