# |
Sep 11th 2009, 16:15 |
Nathan547 |
If you create a user with a group of X, it'll log in fine... if you change the group it won't log in : \ |
# |
Sep 11th 2009, 16:15 |
ifunk |
jjwdesign: components are more for handling requests, while behaviors are more for handling model/data |
# |
Sep 11th 2009, 16:15 |
ifunk |
jjwdesign: yeh possibly, however i would prob move it into a behavior instead of a component |
# |
Sep 11th 2009, 16:14 |
Nathan547 |
ifunk: I do not |
# |
Sep 11th 2009, 16:14 |
jjwdesign |
ifunk: Do you think others would find that component useful? once debugged, of course? |
# |
Sep 11th 2009, 16:14 |
ifunk |
TheSneakster: this is set in app/config/core.php |
# |
Sep 11th 2009, 16:14 |
ifunk |
TheSneakster: change Configure::write('debug', 0); |
# |
Sep 11th 2009, 16:13 |
TheSneakster |
'scuse me, but how do I make the cakePHP query debugging info go away ? |
# |
Sep 11th 2009, 16:13 |
ifunk |
jjwdesign: no probs |
# |
Sep 11th 2009, 16:13 |
jjwdesign |
ifunk: I think I got it. Thanks for your help. |
# |
Sep 11th 2009, 16:13 |
ifunk |
Nathan547: do you have an isAuthorised() method in your app_controller? |
# |
Sep 11th 2009, 16:11 |
Nathan547 |
Why would modifying a username's group cause it to no longer be able to log in : \ |
# |
Sep 11th 2009, 16:10 |
jjwdesign |
ifunk: $this->SqlConditions->build_criteria_expression($this->params['named']);??? |
# |
Sep 11th 2009, 16:09 |
jjwdesign |
ifunk: Just don't have a clue on the syntax. |
# |
Sep 11th 2009, 16:08 |
jjwdesign |
ifunk... yes. I figured that. |
# |
Sep 11th 2009, 16:08 |
ifunk |
from your controller |
# |
Sep 11th 2009, 16:08 |
ifunk |
$this->SqlConditions->build_criteria_expression(); |
# |
Sep 11th 2009, 16:07 |
ifunk |
haha yeh it's a comment mistake |
# |
Sep 11th 2009, 16:07 |
KarlHungus |
nick complete fail |
# |
Sep 11th 2009, 16:07 |
KarlHungus |
haha |
# |
Sep 11th 2009, 16:07 |
jjwdesign |
ifuck: I'm not sure how to access function build_criteria_expression()? |
# |
Sep 11th 2009, 16:07 |
jjwdesign |
ifunk: I'm getting there. One problem. |
# |
Sep 11th 2009, 16:05 |
ifunk |
jjwdesign: u figured it out? |
# |
Sep 11th 2009, 16:03 |
KarlHungus |
or have i forgotten how that works... |
# |
Sep 11th 2009, 16:02 |
KarlHungus |
hrm. shouldn't i get something back from $session->sessionTime in my view? |
# |
Sep 11th 2009, 16:01 |
markstory |
return $stuff |
# |
Sep 11th 2009, 16:01 |
jjwdesign |
ifunk: Do you have any idea on how to call a function from within the component and return the array to the controller? I'm a bit of a OOnoob |
# |
Sep 11th 2009, 16:01 |
icelander |
the US |
# |
Sep 11th 2009, 16:01 |
icelander |
Yeah, I'm in a US |
# |
Sep 11th 2009, 16:01 |
ifunk |
tom_m: np |
# |
Sep 11th 2009, 16:01 |
ifunk |
icelander: i wrote a custom one for australian mobiles + landlines, but i doubt that would help you much :) |
# |
Sep 11th 2009, 16:00 |
ifunk |
icelander: i think that depends on where you live and who you want to validate |
# |
Sep 11th 2009, 16:00 |
tom_m |
cool. thanks ifunk. really good idea |
# |
Sep 11th 2009, 15:59 |
tom_m |
for scaling/speed/connections |
# |
Sep 11th 2009, 15:59 |
icelander |
What's the validation criteria for phone fields? |
# |
Sep 11th 2009, 15:59 |
tom_m |
then i dont have to worry about what harm a lock would do |
# |
Sep 11th 2009, 15:58 |
tom_m |
mmm i like |
# |
Sep 11th 2009, 15:58 |
ifunk |
tom_m: yeh i think cake would 404 if you don't use transactoins |
# |
Sep 11th 2009, 15:58 |
tom_m |
i already am using saveall but i guess if i wasn't there'd be issues |
# |
Sep 11th 2009, 15:58 |
tom_m |
right |
# |
Sep 11th 2009, 15:58 |
tom_m |
it rollsback |