Re: Virtual Field + Concat and find problems

2013-12-04 Thread Simon Males
You cannot search a virtualField... it is virtual. You'll have to search the columns directly. On Thu, Dec 5, 2013 at 3:17 AM, André Luis wrote: > Hi everyone, i have a table "clients" wich the model is "Client"... and in > my table I have the fields "city" and "state" and others... Also I have

Re: CakeSocket - Allowed memory size of bytes exhausted error

2013-12-04 Thread Sebastien Beausoleil
Yes -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+

Virtual Field + Concat and find problems

2013-12-04 Thread André Luis
Hi everyone, i have a table "clients" wich the model is "Client"... and in my table I have the fields "city" and "state" and others... Also I have the following virtualfield: public $virtualFields = array( 'local'=>"CONCAT(Client.city,' - ',Client.state)", ); When i use a find "all" with the

Re: CakeSocket - Allowed memory size of bytes exhausted error

2013-12-04 Thread AD7six
On Wednesday, 4 December 2013 17:29:28 UTC+1, Sebastien Beausoleil wrote: > > Hi, > > I need help, I tried to send email with CakeEmail and I received this > error: > > Error: Allowed memory size of 134217728 bytes exhausted ... > File: /cakephp/2.2/lib/Cake/Network/CakeSocket.php > Line: 199 >

CakeSocket - Allowed memory size of bytes exhausted error

2013-12-04 Thread Sebastien Beausoleil
Hi, I need help, I tried to send email with CakeEmail and I received this error: Error: Allowed memory size of 134217728 bytes exhausted ... File: /cakephp/2.2/lib/Cake/Network/CakeSocket.php Line: 199 What could cause this error? Thank -- Like Us on FaceBook https://www.facebook.com/CakeP

PLUGIN WHICH MODIFIED FILE

2013-12-04 Thread TOM HQ
Hello, I just wondering how can a plugin modified some files. Here is the case. Let's say I have menu.ctp and have a form (form A). Then I build a plugin. How can I make this plugin insert new menus to the current file (menu.ctp)? Then, how can I make this plugin to add some additional fields t

Re: dd-mm-yyyy datetime format in input/datepicker field reverts to default format on refresh after error

2013-12-04 Thread seba
I think I've found a solution, or it might be a hack - keen to get confirmation or advice (and apologies for the noobness in advance).. At the bottom of the add function of the ModelController.php, I've added the following code to check if the request data for the date field exists (when the

CakeAdvent Day 4: Interactive command-line REPL for CakePHP

2013-12-04 Thread Jose Diaz-Gonzalez
http://josediazgonzalez.com/2013/12/04/interactive-command-line-repl/ The latest post is up, and I write briefly about how to setup 3 different command-line interfaces for interactively running CakePHP code. If you are familiar with *irb* from Ruby, or *ipython* in the Python world, then this is