CakePHP 3.0, Any chat application for cakephp?

2015-01-20 Thread Jungsuk Lee
Hi I'm working on cakephp to build a website and i'd like to add chatting feature in it. and I'm considering Javascript based chat application. Using AJAX was too slow to use. any other way? Please help. Thank you in advance! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on

Re: CakePHP 3.0, Any chat application for cakephp?

2015-01-20 Thread Leandro Machado Pereira
I think node.js is more better for chat than ajax. Em ter, 20 de jan de 2015 06:21, Jungsuk Lee eric.se...@gmail.com escreveu: Hi I'm working on cakephp to build a website and i'd like to add chatting feature in it. and I'm considering Javascript based chat application. Using AJAX was too

How to upgrade from 2..5.2 to 2.6.1

2015-01-20 Thread Archana Goyal
Hello, I want to upgrade my CakePHP application from 2.5.2 to 2.6.1. To do so, I have to replace my lib folder or there is another way to upgrade my application ? http://book.cakephp.org/2.0/en/appendices/2-6-migration-guide.html Thanks, Archana -- Like Us on FaceBook

Console Schema - Foreign key constraint

2015-01-20 Thread Lincoln Brito
Hi! Does anyone knows how to add foreign key constraints when run Console schema? I'm testing the command and the file generated don't have foreign key references. I'm using MySQL and Cake 2.6.1 Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-01-20 Thread Cake Developer
Hi Josh, Thanks for your answer. I tried both PlumSearch and Search Plugin in my application and they are not working as expected. They are adding search argumentsin existing conditions in query object. Failing Situation. Existing condition has Users.active = 1 and If new condition array has

Re: 3.0 e mysql fields ENUM

2015-01-20 Thread Leandro Machado Pereira
Hi mark, sorry for late in my answer. I search more information for mysql field ENUM and gave up using this type. However, i need for of one field in my model for manager de columns STATUS. I can't use Enum because the value of the STATUS isn't same in another model. What you think i can do ?

Re: Safari 8.x.x - MissingControllerException

2015-01-20 Thread Sajoscha Sauer
Thanks! Thats what I thought, but why…? Anyway, I now added two routes for the images: Router::connect(‘/apple-touch-icon.png*'); Router::connect(‘/apple-touch-icon-precomposed.png*’); That works, but might not be the best way… Cheers, Sajoscha On Jan 16, 2015, at 5:40 PM, Mike Karthauser

Problem with Session and PHP Unit Test

2015-01-20 Thread monica
Hi! I baked new UnitTestsController for testing purposes and put inside the function: public function reset_filters() { // suppose to delete CurrentFilter var from session this-request-session()-delete('CurrentFilter'); } I wanted to test session so I baked also

Re: 3.0 e mysql fields ENUM

2015-01-20 Thread euromark
Hi! Read the link I gave you. That answers everything already for you. Mark Am Dienstag, 20. Januar 2015 15:15:02 UTC+1 schrieb Leandro Machado Pereira: Hi mark, sorry for late in my answer. I search more information for mysql field ENUM and gave up using this type. However, i need for of

Re: Problem with Session and PHP Unit Test

2015-01-20 Thread euromark
Dont forget --stderr when testing 2.x tests in CLI mark Am Dienstag, 20. Januar 2015 13:29:47 UTC+1 schrieb monica: Hi! I baked new UnitTestsController for testing purposes and put inside the function: public function reset_filters() { // suppose to delete CurrentFilter var from

Problem with belongstomany and the new bake plugin

2015-01-20 Thread pola
hi, since bake is now a plugin i experience problems with baking belongstomany relations. It includes the joining table in the view function in the contain call in the 2 related Controllers. That ends in an error: is not Associated with. It shows me links on the left linking the joining

Re: Problem with belongstomany and the new bake plugin

2015-01-20 Thread pola
Try it please out: DROP TABLE IF EXISTS `batches_documents` ; CREATE TABLE IF NOT EXISTS `batches_documents` ( batch_id INT(11) NOT NULL, document_id INT(11) NOT NULL, PRIMARY KEY (`batch_id`,`document_id`) ); DROP TABLE IF EXISTS `batches` ; CREATE TABLE IF NOT EXISTS `batches` (