Re: Is make desktop application in cakephp

2013-08-21 Thread Marcelo F Andrade
On Tue, Aug 20, 2013 at 3:23 PM, Ankur Chauhan wrote: > Is make desktop application in cakephp? Years ago, I tried that using a tiny embedded webserver, Sqlite database and an interface with Mozilla Prism. Regards, MARCELO F ANDRADE | Belem, Amazonia, Brazil | http://about.me/mfandrade -- Lik

Re: Blowfish password hashing in 2.4.0-RC2 issues

2013-08-21 Thread Ben Kennedy
In response to my own question, setting "recursive" to 1 in the AppController Auth definition allowed me to pull in associated customer_orgs rows in the Auth->login() call. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received

Re: Blowfish password hashing in 2.4.0-RC2 issues

2013-08-21 Thread Ben Kennedy
Okay, I've finally managed to resolve this, it was a basic mistake. Here's what I did: I debugged the post data and saw that in $this->request->data, my login fields were under the key 'customer_users' (which is the name of my users table) > Array > ( > [customer_users] => Array > ( > [usernam

Re: Blowfish password hashing in 2.4.0-RC2 issues

2013-08-21 Thread Ben Kennedy
Okay, I've finally managed to resolve the issue - but I'm not sure *why* it resolves the issue. I'd appreciate any input. Here's what I did: Note: my users table is named customer_users (with a habtm relationship with customer_orgs associated by 'customer_orgs_customer_users') In app/Model/User

Re: Wrong AppController called when 2 projects are accessed simultaneously

2013-08-21 Thread JD
Thanks a mil Andras!! I actually had to change the prefix for _cake_core_ Cache::config('_cake_core_', array( 'engine' => $engine, //'prefix' => 'cake_core_', 'prefix' => 'project1_', 'path' => CACHE . 'persistent' . DS, 'serialize' => ($engine === 'File'), 'duration' => $duration )); bu

Re: Wrong AppController called when 2 projects are accessed simultaneously

2013-08-21 Thread Andras Kende
try to change prefix to unique ... core.php // Prefix each application on the same server with a different string, to avoid Memcache and APC conflicts. $prefix = 'myapp_'; Andras Kende http://www.kende.com On Aug 21, 2013, at 12:48 AM, JD wrote: > Hi, > I am using CakePHP 2.2.1, and runnin

Wrong AppController called when 2 projects are accessed simultaneously

2013-08-21 Thread JD
Hi, I am using CakePHP 2.2.1, and running 2 cake projects on my machine. Both projects use the same plugins, i.e. I have simlinks in the app/Plugin folders of both project that link to CakePHP/trunk/plugins/ If I access either project separately I don't have any issues but if I access both proje

Re: CakePHP 2.4.0-RC2 released

2013-08-21 Thread Ben Kennedy
Thanks Simon, I did indeed give it a go and it all went fine (apart from DebugKit moaning, but I found the relevant fixes on Github). I found the 2.4 migration guide also, but simple people like me need "DO THIS" instructions =] -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us o

Re: Is make desktop application in cakephp

2013-08-21 Thread crisuwork
Using ExtJs you can do cool things having Cakephp as layer between DB and Desktop Interface. Check these links: Demo App Cakephp-Extjs http://code.google.com/p/cakephp-extjs-admin/ ExtJs Examples http://www.sencha.com/products/extjs/examples/ On Tuesday, August 20, 2013 8:23:58 PM UTC+2, Anku