Logs for #cakephp

Page 4 of 36,922, showing 100 records out of 3,692,143 total, starting on record 301, ending on 400

# At Username Text
# Aug 6th 2008, 16:07 moelee_ hey anyone here know if it is possible to create a group that has a parent group and have that relationship reflected in aros table?
# Aug 6th 2008, 16:07 olof I am about to file a bug report and just want to see if this issue has been resolved already. When inserting an aro with cake acl create aro 'Parent' 'Node', the Node name cannot contain a . (period) before an @, although it works fine to have the period after the @
# Aug 6th 2008, 16:08 moelee_ i have a parent_id field set but the child aro appears as a top-level aro in the aros table
# Aug 6th 2008, 16:10 moelee_ TommyO: what is the most highly trafficked cakephp app?
# Aug 6th 2008, 16:10 zmonteca what does Security::validateAuthKey() do? Does it check for the key in the DB? Under a specific field in the DB? In your session?
# Aug 6th 2008, 16:10 moelee_ firefox addons must be up there
# Aug 6th 2008, 16:21 francky06l Hi bakers
# Aug 6th 2008, 16:21 castroalves Hi people
# Aug 6th 2008, 16:21 Swiatecki anyone who can help me set up cake console on windows
# Aug 6th 2008, 16:21 castroalves I've a question...
# Aug 6th 2008, 16:21 francky06l Swiatecki: what do you need?
# Aug 6th 2008, 16:22 TommyO castroalves: CakeBot is a Bot :)
# Aug 6th 2008, 16:22 Swiatecki to get the console to work, when i run cake it gives me: "
# Aug 6th 2008, 16:22 Swiatecki 'php' is not recognized as an internal or external command,
# Aug 6th 2008, 16:22 Swiatecki operable program or batch file.
# Aug 6th 2008, 16:22 castroalves TommyO: I know... i'm just kidding
# Aug 6th 2008, 16:22 castroalves heheheh
# Aug 6th 2008, 16:22 TommyO way back was called CakeGirl (or something) but people kept hitting on it
# Aug 6th 2008, 16:23 francky06l Swiatecki: do you use xamp or something like this?
# Aug 6th 2008, 16:23 Swiatecki wamp
# Aug 6th 2008, 16:23 francky06l TommyO: :-) Cakegirl better than Api :-)
# Aug 6th 2008, 16:23 renan_saddam CakeBot: how are you?
# Aug 6th 2008, 16:23 TommyO CakeBabe I think it was :)
# Aug 6th 2008, 16:24 lqdice__ lol
# Aug 6th 2008, 16:24 renan_saddam TommyO: please, include in the next CakeBot generation basic answer. :)
# Aug 6th 2008, 16:24 francky06l Swiatecki: I do not know wamp, but basically you have to set the php directory in your path has well as the cake/console
# Aug 6th 2008, 16:25 Swiatecki the php dir, would be the one with php.exe in right?
# Aug 6th 2008, 16:25 castroalves CakeSilviaSaint could be cool...
# Aug 6th 2008, 16:25 castroalves hahah
# Aug 6th 2008, 16:25 castroalves So... Let's go to my issue
# Aug 6th 2008, 16:26 TommyO apply. rinse. repeat.
# Aug 6th 2008, 16:26 francky06l Swiatecki: check where is your wamp/php and set it in your path, I guess using the "system" and environment variables .. (as I remember)
# Aug 6th 2008, 16:27 francky06l castroalves: what issue :-) ?
# Aug 6th 2008, 16:27 TommyO francky06l: oh you mean my answer isn't correct? ;)
# Aug 6th 2008, 16:27 francky06l TommyO: I am sure it is, but did not see the question :-) I know I am curious :-)
# Aug 6th 2008, 16:28 francky06l castroalves: so far so good, so many app never been used:-)
# Aug 6th 2008, 16:28 TommyO haha
# Aug 6th 2008, 16:28 TommyO it's funny 'cause it's true
# Aug 6th 2008, 16:29 castroalves you are so funny...
# Aug 6th 2008, 16:29 francky06l TommyO: I know, nobody is perfect, but hope is good:-)
# Aug 6th 2008, 16:29 castroalves -D
# Aug 6th 2008, 16:29 Swiatecki ive added C:\wamp\bin\php\php5.2.6\ and C:\wamp\www\kage\cake\console\ to my path.. stil, the error about dont knowing php
# Aug 6th 2008, 16:30 castroalves So, when the user connect to it, the app should identify the respective database and connect to it...
# Aug 6th 2008, 16:30 castroalves How can I do it?
# Aug 6th 2008, 16:30 TommyO castroalves: what determines the uniqueness of the "user"? different urls?
# Aug 6th 2008, 16:31 castroalves no... unique username...
# Aug 6th 2008, 16:31 francky06l Swiatecki: just get a "dos box" and type "php -v" ... do you get something ?
# Aug 6th 2008, 16:31 castroalves In fact, a user is a client...
# Aug 6th 2008, 16:31 castroalves each user is a different client...
# Aug 6th 2008, 16:31 francky06l castroalves: isUnique does not do this ?
# Aug 6th 2008, 16:31 castroalves see you?
# Aug 6th 2008, 16:31 TommyO each web user gets his own complete db?
# Aug 6th 2008, 16:31 Swiatecki nope.. so its cant find php.. how do I check if ive got a CLI verison of php?
# Aug 6th 2008, 16:31 TommyO Swiatecki: php --version
# Aug 6th 2008, 16:31 castroalves yes...
# Aug 6th 2008, 16:32 castroalves I mean... each client...
# Aug 6th 2008, 16:32 Swiatecki 'php' is not recognized as an internal or external command,
# Aug 6th 2008, 16:32 Swiatecki operable program or batch file.
# Aug 6th 2008, 16:32 francky06l Swiatecki: you do not need with windows in 5.2, I guess you have got the wrong path in your PATH
# Aug 6th 2008, 16:32 TommyO castroalves: how do they login? http AUTH or cake-based stuff?
# Aug 6th 2008, 16:32 TommyO and what is used for non-logged-in user?
# Aug 6th 2008, 16:32 xhenxh1 noob question: I have a model, but one of my forms passes and array and I need a string out of the array. How to I specify what it should use on the save routine?
# Aug 6th 2008, 16:33 xhenxh1 do I just overwrite the save routine?
# Aug 6th 2008, 16:33 francky06l Swiatecki: just try to get your dos box, in the php folder and type the same thing, until it asnwers
# Aug 6th 2008, 16:33 castroalves I'm going to use Flex as the frontend...
# Aug 6th 2008, 16:33 renan_saddam castroalves: Flex + AMF?
# Aug 6th 2008, 16:33 TommyO xhenxh1: too vague. give an actual example of the structure you receive and the structure you expect to need
# Aug 6th 2008, 16:33 francky06l castroalves: for everything ?
# Aug 6th 2008, 16:33 castroalves yes
# Aug 6th 2008, 16:33 francky06l castroalves: ..humm
# Aug 6th 2008, 16:33 castroalves renan_saddam: I know...
# Aug 6th 2008, 16:34 xhenxh1 Okay, I'm uploading a file and I want to save the file path in the database
# Aug 6th 2008, 16:34 castroalves See you, francky?
# Aug 6th 2008, 16:34 francky06l castroalves: sorry I did not get ..what it means (I am crap in English) :-)
# Aug 6th 2008, 16:34 xhenxh1 The file field on the form returns an array, I need to pull the filename out of the array and save it to the database
# Aug 6th 2008, 16:35 castroalves Let me try...
# Aug 6th 2008, 16:35 TommyO xhenxh1: ok... just restructure and inject a new field based on the parts
# Aug 6th 2008, 16:35 francky06l xhenxh1: I guess you need to move your file out of the public html THEN save the path
# Aug 6th 2008, 16:35 castroalves There will be project management, process management, dashboards, and so on...
# Aug 6th 2008, 16:36 castroalves Each of them is going to be a module...
# Aug 6th 2008, 16:36 xhenxh1 TommyO: not sure what you mean, can you give me an example?
# Aug 6th 2008, 16:36 Mathachew I need some assistance with Authentication. I'm trying to allow anonymous users read access to specific nodes, but it appears Auth isn't using isAuthorized() to validate the anonymous users
# Aug 6th 2008, 16:36 castroalves Each client will have a package of modules...
# Aug 6th 2008, 16:36 francky06l Mathachew: well it can do it
# Aug 6th 2008, 16:36 castroalves Also, they'll have different databases...
# Aug 6th 2008, 16:37 Mathachew francky06l: It doesn't appear to call isAuthorized() for anonymous users, only authenticated
# Aug 6th 2008, 16:37 castroalves How can I set the database according the client login?
# Aug 6th 2008, 16:37 renan_saddam castroalves: and different installation for each client?
# Aug 6th 2008, 16:37 castroalves No... The core of the app will be the same...
# Aug 6th 2008, 16:37 Swiatecki ove got a cake console :D!
# Aug 6th 2008, 16:37 Swiatecki *ive
# Aug 6th 2008, 16:37 francky06l Mathachew: you can do it, actually .. an anonymous user is someone who did not logged so ....easy to veify
# Aug 6th 2008, 16:37 xhenxh1 could I use the beforeSave method?
# Aug 6th 2008, 16:38 TommyO xhenxh1: well that's why I asked you for specifics. I don't know what you have. but I'm assuming what you want is: $this->data['Model']['filename'] = $this->data['Model']['path'] . DS . $this->data['Model']['file']; or the like
# Aug 6th 2008, 16:38 francky06l Swiatecki: :-)
# Aug 6th 2008, 16:38 renan_saddam castroalves: summary = you want modify database config on fly
# Aug 6th 2008, 16:38 TommyO xhenxh1: you can do it in beforeSave or in the controller itself, your call
# Aug 6th 2008, 16:39 xhenxh1 OK, I'll give it shot. Thanks TommyO
# Aug 6th 2008, 16:39 TommyO castroalves: determine an identify value of some sort. set the dbConfig value in the model based on it
# Aug 6th 2008, 16:40 Mathachew francky06l: elaborate because I've tried using it manually on anonymous uses and it didn't work