Log message #1032331

# At Username Text
# Sep 11th 2009, 16:21 ifunk Nathan547: ahh i see you're using ACL, i'm not too familiar with acl as I've not used it before, but maybe your group doesn't have permission set for those actions?
# Sep 11th 2009, 16:19 Scotto the cookbook has no examples of using media views with more than one file, how would i use the id to specify the file? I thought that kind of logic in the controller was bad.
# Sep 11th 2009, 16:19 Nathan547 ifunk: http://bin.cakephp.org/view/1134777600 don't know what else you want to see
# Sep 11th 2009, 16:19 ifunk jjwdesign: but when you realise you can't use components from shell scripts, or other models, then you start using components for what they were designed for
# Sep 11th 2009, 16:17 jjwdesign ifunk: I view it as more of a request/conditional portion of code, rather than it effecting the whole model. Just my point of view. Each controller action could set it's own conditions.
# Sep 11th 2009, 16:16 icelander Alright, my workaround is to just check for ten digits. Phone validation needs a lot of work...
# Sep 11th 2009, 16:16 ifunk ok bin the code where you setup the auth component
# Sep 11th 2009, 16:16 Nathan547 yea
# Sep 11th 2009, 16:16 ifunk are you using auth component?
# Sep 11th 2009, 16:16 Nathan547 If I knew where the bug was..
# Sep 11th 2009, 16:16 ifunk )
# Sep 11th 2009, 16:16 ifunk the part with the bug in it
# Sep 11th 2009, 16:15 Nathan547 What part of my code
# Sep 11th 2009, 16:15 ifunk Nathan547: can you bin your code?
# 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