Saving related model´s name

2014-04-08 Thread André Luis
Hi people, i have a doubt. I have a model "Client" wich has a relationshi with model Phone. So "Client hasMany Phone" What I need is when save the related data in Phone model, save Client name too, but not sending the data via post. Is there anyway to perform a beforeSave on Phone model wich get

Installing existing CakePHP project with MAMP

2014-04-08 Thread Emma Harris
I started a project where the previous developer was using CakePHP and they've sent me their files (core and app folders and files). I'm trying to set this project up locally using MAMP to make changes. I'm also saving my files in dropbox, I don't have any experience with CakePHP but have some

Re: sqlsrv and pdo_sqlsrv module mismatch only inside CAKEPHP

2014-04-08 Thread John Andersen
Please check that your extensions are compatible with the PHP version you are using. Also ensure that you are either using 64 bit all over or 32 bit, I do think the extensions from MS are 32 bit only. Enjoy, John On Monday, 7 April 2014 01:54:58 UTC+3, Comrade Raj wrote: > > I have installed sq

Cache Memcache engine help

2014-04-08 Thread Advantage+
I have / think Memcache engine is set up correct. (v 2.4.6) Core.php: $engine = 'Memcache'; Cache::config('inmemory', array( 'engine' => 'Memcache', 'duration' => 3600, 'serialize' => true, 'servers' => array(

Re: sqlsrv and pdo_sqlsrv module mismatch only inside CAKEPHP

2014-04-08 Thread José Lorenzo
Sorry, bu that has nothing to do with cakephp :( On Monday, April 7, 2014 12:54:58 AM UTC+2, Comrade Raj wrote: > > I have installed sqlsrv and pdo_sqlsrv extensions using SQLSRV30.EXE from > Microsoft website. The bake command is failing with following php warnings: > > PHP Warning: PHP Startup

Re: CakePHP 3.0.0 development preview 2 released

2014-04-08 Thread José Lorenzo
Not yet, although it may not be difficult at all to support it. Do you want to help? If I'm not mistaken you can use any of the provided drivers (sqlite, mysql, postgres) and pass an ODBC connection string (DSN). I build the drivers with that use case in mind. On Tuesday, April 8, 2014 9:03:24

CakePHP 3.0.0 development preview 2 released

2014-04-08 Thread Comrade Raj
Any support for ODBC as a datasource ? -- 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