Finaly I got the answer on irc.
class TimedShell extends Shell{
function main(){
App::import('Component','Auth');
$this->Auth = new AuthComponent(null);
App::import('Component','Session');
$this->Auth->Session = new SessionComponent(null);
...
}
--
You received this message because you are subs
Hari,
My service http://sociall.cc sends and receivesmessages from and to
more social networks like twitter, facebook, etc. I would like to add
a timed messages service where users could set messages to send in a
future time.
For this I need to have my own cake shell and run it by a crontask.
A
I can not do it as this happens only at the production enviroment and
queries are started by an ajax call. So somehow I have to satch de
error messages without displaying them.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
It should be written down in the cookbook and in the api.
If so is tehre any way to get the sql error message? I need to know
what caused the query error.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" gro
Intercept->find('count',
array(
'conditions' =>
array('there_id' => $uniqueId)
));
?>
This is the code. I chan
I have a find('count',...) check in my application.
It seems sometimes it returns a boolean false even when there is 1 row
in the table what meets the conditions. Sometimes happens this and
sometimes it returns 1.
Any ide why? Is there a bug?
--~--~-~--~~~---~--~~
The answer is here:
http://groups.google.com/group/cake-php/browse_thread/thread/a3b4b82eefeb9d8a
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googleg
Hari,
I have a cake project on http://sociall.cc
I want to install a wordpress blog to http://sociall.cc/blog. Where
should I upload wordpress files? It seems if I just upload them to /
blog near to /app It will not work. should I put the files to /app/
webroot/blog ?
rrd
The interesting thing is the manual says login function will not be
used if auth autoredirect is not false.
http://book.cakephp.org/view/248/AuthComponent-Variables#autoRedirect-395
But it seems with default autoredirect the login function works.
--~--~-~--~~~---~--~--
Hari,
I use auth component to do the login. I want to limit login attempts
like for 3 attempts. Where should I put my code? UserController login
()? beforeFilter?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake
Hari,
It looks auth component does not use sanitize for cleaning the given
username. Password is hashed so it should not be a problem, but as I
see username is used as it is.
Is it right?
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hari,
Is there any way to create an ACL node by the console which has
model.id AND alias property also? I may do it by sql but I can not
figure out how to do it with the cake console.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
It would be nice to have more options for $ajax->autocomplete's input
box, like setting default value, etc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-ph
I am using Komodo Edit. Platform independent, support core php and
cakephp methods, etc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
I am using localized controller method names. It would be nice if the
core backe script could be localized. By this we could get localized
baked controller method names, view files and links in view files.
--~--~-~--~~~---~--~~
You received this message because you
15 matches
Mail list logo