Log message #2300230

# At Username Text
# Sep 22nd 2011, 13:28 beou133 and then i would know how to open similar files
# Sep 22nd 2011, 13:28 diverdude TehTreag, sorry i mean aro
# Sep 22nd 2011, 13:28 beou133 to get stream data and what the script does
# Sep 22nd 2011, 13:28 beou133 or i don't know my goal and i just wanna know how to open it, i guess..
# Sep 22nd 2011, 13:28 TehTreag beou133: Using it to do what?
# Sep 22nd 2011, 13:28 beou133 to use the script for ustream
# Sep 22nd 2011, 13:27 TehTreag beou133: Do you know your goal?
# Sep 22nd 2011, 13:27 EtRiGaN socrates?
# Sep 22nd 2011, 13:27 beou133 i don't know anything
# Sep 22nd 2011, 13:27 TehTreag diverdude: acr?
# Sep 22nd 2011, 13:27 beou133 no i mean how do i use .php files i'm just a regular guy i dont get it
# Sep 22nd 2011, 13:25 diverdude what is a good wayto bind acr tables with a user table in cakephp?
# Sep 22nd 2011, 13:18 fenix` or are you trying to integrate it into phpcake?
# Sep 22nd 2011, 13:17 fenix` open it? like to edit?
# Sep 22nd 2011, 13:16 beou133 i don't know anything and how do i open this?
# Sep 22nd 2011, 13:16 beou133 http://www.phpkode.com/scripts/item/ustream-php-script/
# Sep 22nd 2011, 13:16 fenix` i've changed the validation 'required' to false
# Sep 22nd 2011, 13:16 fenix` i get the <model> could not be saved. Please, try again.
# Sep 22nd 2011, 13:15 fenix` yeah debug is 2
# Sep 22nd 2011, 13:15 TehTreag fenix`: Debug enabled? Flush model cache.
# Sep 22nd 2011, 13:14 fenix` i've updated validation rules for a field in the model, they don't appear to be being changed on the view side..
# Sep 22nd 2011, 13:14 diverdude TehTreag, can i couple 2 tables, e.g. memberships and aro together using a behavious somehow?
# Sep 22nd 2011, 13:13 dakota eldamar: cakeLog
# Sep 22nd 2011, 13:13 eldamar cool, thanks for the help
# Sep 22nd 2011, 13:13 ADmad or $this->Model->getDataSource()->lastError();
# Sep 22nd 2011, 13:13 eldamar Yeah, my problem is that i call this function from Flash xD so i can't see error output the normal way
# Sep 22nd 2011, 13:12 dakota eldamar: you should always develop with debug = 2
# Sep 22nd 2011, 13:12 ADmad eldamar: $db = $this->Model->getDataSource(); $db->error
# Sep 22nd 2011, 13:11 eldamar without setting debug to 2
# Sep 22nd 2011, 13:11 diverdude TehTreag, welll...because i have a usertable (and also other tables) with FK to ACR. I use bake model all, so before i can bake them, the ACR model needs to exists...and then also ACO i guess
# Sep 22nd 2011, 13:11 eldamar is there some way to return sql error?
# Sep 22nd 2011, 13:10 eldamar thanks cakebot :p
# Sep 22nd 2011, 13:09 ADmad ~tell eldamar about failed-save
# Sep 22nd 2011, 13:09 TehTreag eldamar: $this->Model->validationErrors is a good place to start.
# Sep 22nd 2011, 13:09 eldamar if (!$this->Model->save(data)) return $MegaCakeDebugString; ?
# Sep 22nd 2011, 13:08 TehTreag why?
# Sep 22nd 2011, 13:08 diverdude TehTreag, model
# Sep 22nd 2011, 13:08 TehTreag diverdude: What are you baking for Aco?
# Sep 22nd 2011, 13:08 eldamar is there some way to return whatever went wrong when save fails?
# Sep 22nd 2011, 13:08 diverdude anyone?
# Sep 22nd 2011, 13:02 isaqual dakota: uups.. It get initilized.