# |
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 |
# |
Sep 11th 2009, 15:58 |
ifunk |
tom_m: and then remember to use saveAll, as it will use transactions |
# |
Sep 11th 2009, 15:58 |
tom_m |
then if the sql query fails because mysql says no |
# |
Sep 11th 2009, 15:58 |
tom_m |
i like that |
# |
Sep 11th 2009, 15:57 |
tom_m |
o |
# |
Sep 11th 2009, 15:57 |
ifunk |
tom_m: yeh table settings |
# |
Sep 11th 2009, 15:57 |
ifunk |
jjwdesign: yeh, sorry i meant $controller->{$whatever_variable_you_have_your_config_in} |
# |
Sep 11th 2009, 15:57 |
tom_m |
table settings or something in my.cnf for mysql? |