Re: Email mock not working

2012-03-31 Thread Thiago Silva
Hey, The component is not a problem, it's working fine. But when I'm testing the code it sends e-mails every time, making the tests last much longer. How can I correct it? Thanks, Thiago On 31 mar, 02:03, LITTO CHACKO wrote: > Why don't you use the cakephp builtin component email it is nic

Bug with the "action" form tag in this->data?

2012-03-31 Thread Matthias
Hi, I've discovered a strange behavior in this->data. I have a form with checkboxes that looks like this: When I check this->data, the array looked like this (in 2.0.0 alpha, the only old version i have here): Array ( [Participant] => Array ( [1] => Array

Re: redirecting problem

2012-03-31 Thread CrotchFrog
Did it make a difference for you or are you still having problems with the redirect? The difference would be in naming conventions http://book.cakephp.org/2.0/en/getting-started/cakephp-conventions.html Sticking with conventions, 'seller' in your redirect should be plural 'sellers' to referen

Image Upload

2012-03-31 Thread aSh!Q's
I wanted to upload a picture of the user via ajax. I checked the media plugin but found it a little bit hard seeing all those instructions. Is there any better way ? What is the best way ? I was thinking of using the submit option of the jshelper . And i created the following page. Form->cre

Time niceShort & timeAgoInWords (Bug?)

2012-03-31 Thread localhost
Hi I have the time in my database saved as GMT and also I use UTC in cakephp (core file) everything is working fine with niceShort and when I print the time from database I get the time in GMT but when I use timeAgoInWords I can see it's using the system time not GMT. is this a bug or something

Problem with Cake shell

2012-03-31 Thread byqsri
Hi I try to use cake shell but I get an fatal error because in my bootstrap.php I use App:build() and the fatal error tells me that th method App::build is undefined when I run my cake shell instead with a normal web page all works fine Many Thanks Marco -- Our newest site for the community: Cake

Re: Doubt regarding sessions in cakephp

2012-03-31 Thread euromark
I don't like session approaches, at least if it not correctly coded (the keys in the session must not overwrite themselves using several tabs at the same time). this really annoys people because they always get unnecessarily black-holed due to this concurrency problem. if it doesnt have to be h

Re: Send email Shell Application

2012-03-31 Thread euromark
@LITTO CHACKO: he wants to use it inside a shell, so he has to use the CakeEmail class (and not the compontent!) take a look at this question (as he already figured it out pretty good): http://ask.cakephp.org/questions/view/send_email_shell_application the only thing missing is that he should pa