Log message #3881170

# At Username Text
# May 27th 2016, 04:59 voycey some of us arent using slack and it looks crap
# May 27th 2016, 04:59 voycey use gist
# May 27th 2016, 04:59 voycey dont paste code directly
# May 27th 2016, 04:59 slackebot <?= $this->Html->link(__('Download'), ['action' => 'download', $file->id]) ?> but when i download that file it does not show any contain in downloaded file?what is main issue?
# May 27th 2016, 04:59 mandeepkhaleriya @ voycey i have also proble con you tell me here? In my Controller public function download($id = null) { $this->response->download(WWW_ROOT .'/uploads/files/'.DS.$id); //$this->response->download(WWW_ROOT."uploads".DS."files".DS.$id); $this->response->type = 'file'; return $this->response ; } And in my template .ctp file looks like as
# May 27th 2016, 04:54 voycey store the map location as text
# May 27th 2016, 04:54 mandeepkhaleriya @ voycey what means of text here ?can you tell me?
# May 27th 2016, 04:46 voycey text?
# May 27th 2016, 04:42 mandeepkhaleriya hello dears how i store google map location in my db in cakephp 3.2?can anyone help me?
# May 27th 2016, 04:02 voycey daun: you can just use saveAll for it
# May 27th 2016, 03:30 justinatack New Relic is my Hero! hahah
# May 27th 2016, 03:20 daun voycey, i tried to use saveassociated: https://gist.github.com/anonymous/a3f87cb27a0a22d736e55d0b37324603 but how can i identify the book id?
# May 27th 2016, 03:11 voycey As long as Loan and Book are associated then you can do that :)
# May 27th 2016, 03:11 voycey $this->Loan->Book->save
# May 27th 2016, 03:06 daun anybody could give me some idea to solve this?
# May 27th 2016, 03:06 daun hello, im using cake2. how can i save data to another controller based on ID? example, i've 3 tables, 1)users 2)books 3)loans. all of them have id. in table loans, i've id, user_id, book_id and status. when i create a new loan, i can select user and book id then save without any problem. but how can i save the status from when create new loan to table book? to identify the book is on loan
# May 27th 2016, 02:30 justinatack Can anybody recommend a good Error Logging Cloud solution for a CakePHP App hosted on Heroku?
# May 27th 2016, 00:20 ionas eh Joeycake 
# May 27th 2016, 00:20 ionas royalty: Iâ??d create a flashless layout
# May 27th 2016, 00:14 fly2279 Joeycake: I find it useful to check if the user is logged in from beforeFilter in the AppController. If not I set a different message to override the flash set by auth so that the user only sees the not authorized flash if they truly arenâ??t authorized and not just if they arenâ??t logged in.
# May 26th 2016, 23:52 royalty Joeycake, but really an auth message isa flash stored in session so you can probs empty the session flash
# May 26th 2016, 23:48 royalty Joeycake, you probablt have to find out what view the user isn't authed for and give user permission
# May 26th 2016, 23:41 Joeycake I have a cake app that requires logging in, and it redirects to the login page, but it also shows the "not authorized" message.
# May 26th 2016, 23:34 Joeycake Is there a way to turn off the auth message for a specific view?
# May 26th 2016, 22:02 phpcoder is it possible to change the paginator count query? i need to count using the "distinct", like COUNT(distinct Agents.id)
# May 26th 2016, 21:38 ionas anyway cant figure why the test cases dont succeed
# May 26th 2016, 21:38 ionas ah right
# May 26th 2016, 21:28 bravo-kernel `phpunit`
# May 26th 2016, 21:28 bravo-kernel `composer install`
# May 26th 2016, 21:21 ionas and need to run tests
# May 26th 2016, 21:21 ionas now I am in [/var/www/app/vendor/cakephp/cakephp]-[git fixExistsIn]
# May 26th 2016, 21:11 ionas ah now
# May 26th 2016, 21:11 ionas git pull upstream master
# May 26th 2016, 21:11 ionas eh
# May 26th 2016, 21:11 ionas somehow I cannot use git@github.com:cakephp/cakephp.git for git pull origin upstream
# May 26th 2016, 21:11 ionas but its also different vagrant boxes
# May 26th 2016, 21:11 ionas why not
# May 26th 2016, 21:11 ionas copyingâ?¦ good idea actually
# May 26th 2016, 21:09 nrother or maybe you should just set up it all the may the want and copy that folder every time you want to try something?
# May 26th 2016, 21:08 nrother theres also the app template containing a lot of demo configuration
# May 26th 2016, 21:08 nrother you can install phpunit and phpcs globally, so you don't have to have them in every project