Proper Association

2012-10-02 Thread strykstaguy
I'm having a hard time how I should approach this but let me explain. I have some reports for customers that are uploaded every day such as regarding status (i.e. usage). Sometimes these reports are very large and I cannot contact all in one day. *Reports* id | date | created Then each item i

CakeEmail Cli Environtment went to spam/junk folder

2012-10-02 Thread Rijal Asep Nugroho
I have sent a newsletter using CakeEmail, I send to account gmail, yahoo, hotmail, and email of private companies. so far the results are fine. but when I run it on the CLI environtment via cronjob. only yahoo account went into the inbox folder. but for other accounts went into the spam/junk folder

Re: CakePHP 2.2.2 and DebugKit don't play nice

2012-10-02 Thread Paul Willis
Okay that fixed it. Thanks. Wasted a good bit of time on that :-( Paul On 2 Oct 2012, at 23:46, Andras Kende wrote: > Add "Session" to components in app controller > > Andras Kende > 818-851-1177 > and...@kende.com > http://www.kende.com > > On Oct 2, 2012, at 13:57, Paul Willis wrote: > >>

Re: password_recovery find('first' condition email

2012-10-02 Thread bs28723
You may need to quote the email address or escape the "@" so that mysql does not think the email address is a mysql variable... On 10/2/2012 5:00 PM, chris...@yahoo.com [via CakePHP] wrote: > hi guys,... I have a password recovery function can't make it work,... > on 1.3CAKE > I'm getting erro

Re: password_recovery find('first' condition email

2012-10-02 Thread Chris
the problem is solved,... thanks On Tuesday, October 2, 2012 1:59:46 PM UTC-7, Chris wrote: > > hi guys,... I have a password recovery function can't make it work,... on > 1.3CAKE > I'm getting error: Undefined index: email > > function password_recovery() > { > if(!empty($this->data))

Re: CakePHP 2.2.2 and DebugKit don't play nice

2012-10-02 Thread Andras Kende
Add "Session" to components in app controller Andras Kende 818-851-1177 and...@kende.com http://www.kende.com On Oct 2, 2012, at 13:57, Paul Willis wrote: > I created a CakePHP 2.2.2 app. I did the basic installation steps, security > salt, /tmp permissions etc. All the green bars on the home

Re: password_recovery find('first' condition email

2012-10-02 Thread Chris
I have the fields,... I have the inputs,... when I remove one condition , 'User.email' => $this->data['User']['email'] it works,... but I want to have both,... just in case,... for more security... this is password recovery,... thanks MaJerle On Tuesday, October 2, 2012 2:16:17 PM UTC-7, Ma

password_recovery find('first' condition email

2012-10-02 Thread Chris
hi guys,... I have a password recovery function can't make it work,... on 1.3CAKE I'm getting error: Undefined index: email function password_recovery() { if(!empty($this->data)) { if(!($user = $this->User->find('first', array('conditions' => array('User.username' => $this->da

CakePHP 2.2.2 and DebugKit don't play nice

2012-10-02 Thread Paul Willis
I created a CakePHP 2.2.2 app. I did the basic installation steps, security salt, /tmp permissions etc. All the green bars on the home page. I added a MySQL database with a Reports table... CREATE TABLE `reports` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(100) DEFAULT N

Re: Pagination Limit Default Global AppController CakePHP 2.x

2012-10-02 Thread TonyCharlotteCakePHP
Thanks. Exactly what I was looking for. On Thursday, September 20, 2012 5:26:58 PM UTC-4, cricket wrote: > > If you define a $paginate var in AppController, it's going to be > overwritten in your other controllers. What you could do instead is > put it in AppController::beforeFilter() like so:

Re: cakephp console command : cake bake issue

2012-10-02 Thread webfacer
Using MAMP: tried it but don´t work for me do not know why cake 2.2.2 couldn´t find it or forgot something to ad in the .bash_profile something he can´t find when i try comman *cake bake all*: *mac*:app User$ *cake bake all* Welcome to CakePHP v2.2.2 Console --

Re: cakephp console command : cake bake issue

2012-10-02 Thread webfacer
i will do this thx Am Dienstag, 2. Oktober 2012 00:50:02 UTC+2 schrieb euromark: > > you shouldnt really use /localhost/some/folder/app/webroot/ in the first > place > use vhosts and root directly to the webroot folder > then you only need the single one in this folder. nothing else. > thats how

Re: struggling with containable - containing the same model twice

2012-10-02 Thread Greg Skerman
So even after aliasing everything, the User model appears to become unbound from the OperationParticipant model and doesn't get rebound by containable... anybody got any clue? On Tue, Oct 2, 2012 at 7:54 AM, Greg Skerman wrote: > Yeah no dice :( had tried something similar to that before. > >

Re: i18n - no flags

2012-10-02 Thread Ivan Rimac
hey patrick, i need something like this on cakephp 1.3. i would like to extract the pot file from the views folder. The cook book dont say much about things what to do next, how exactly do I change the language on the website? Of course, first I need to edit the po files, but if I have multiple dom

Re: i18n - no flags

2012-10-02 Thread Dr. Drijk
Update and case closed. The problem could be in the latest version of cakePHP.(v2.3). After reinstalling the previous version, everthing went well. but hej, thank you for searching. Patrick. Op dinsdag 25 september 2012 16:46:03 UTC+2 schreef Dr. Drijk het volgende: > > maybe a silly question,