Log message #2300589

# At Username Text
# Sep 22nd 2011, 17:10 delfis i want to edit 3 records at a time
# Sep 22nd 2011, 17:10 scoutmstershke olleh
# Sep 22nd 2011, 17:10 delfis hello
# Sep 22nd 2011, 17:09 TheWarden scoutmstershke: take a look at the updated model, http://bin.cakephp.org/view/1605036614
# Sep 22nd 2011, 17:09 scoutmstershke The Warden take a look at http://book.cakephp.org/view/1058/useDbConfig#!/view/1043/hasMany
# Sep 22nd 2011, 17:09 TheWarden ACTION goes off into hidding
# Sep 22nd 2011, 17:08 scoutmstershke thats was on fox news last night lol
# Sep 22nd 2011, 17:07 TooMuchCaffeine wow. i have a strong feeling of deja-vu. and i think it was the warden and model::save episode
# Sep 22nd 2011, 17:07 TheWarden diverdude: yeah that is a tough one and I'm don't know enough unfortunately to help you. sorry. Check your php.ini memory related settings they may need to be set higher other that that I don't know.
# Sep 22nd 2011, 17:07 scoutmstershke do you have foreignkey set in your has many array?
# Sep 22nd 2011, 17:07 scoutmstershke should be fine there
# Sep 22nd 2011, 17:07 scoutmstershke ok then thats correct
# Sep 22nd 2011, 17:06 TheWarden scoutmstershke: okay well that is the case then as my primary key of dongle_keys is id which is linked to dongle_keys_hardwares.dongle_keys_id.
# Sep 22nd 2011, 17:06 diverdude TheWarden, yep...i had it also when doing other types of programming...but never in php...And especially since i am running cake script and not my own code
# Sep 22nd 2011, 17:05 scoutmstershke your primary key needs to me the key of the current model that you want to use to link to the (field your matching)foriegn key of the model you trying to link
# Sep 22nd 2011, 17:05 TheWarden diverdude: just saying that if you are getting that its not a good sign and no I haven't had it with cake but have with other issues relating to memory.
# Sep 22nd 2011, 17:05 TooMuchCaffeine robcowie: all you had to do it look at source )
# Sep 22nd 2011, 17:05 robcowie thanks, that is what I needed to know
# Sep 22nd 2011, 17:04 diverdude TheWarden, me?
# Sep 22nd 2011, 17:04 TheWarden scoutmstershke: am I right?
# Sep 22nd 2011, 17:04 TooMuchCaffeine robcowie: afair saveAll only works with linked models. direct links. deeper associations are not saved
# Sep 22nd 2011, 17:04 scoutmstershke nvm
# Sep 22nd 2011, 17:04 TheWarden I haven't.. not a good sign if you are getting that.
# Sep 22nd 2011, 17:03 diverdude Did anybody experience problems with an error "Segmentation fault" when doing cake bake model all before?
# Sep 22nd 2011, 17:03 TheWarden scoutmstershke: how am I loading the models you mean?
# Sep 22nd 2011, 17:02 TheWarden scoutmstershke: I added this to my $hasMany 'foreignKey' => 'dongle_keys_id' my understanding is that the dongle_keys table.id (primary) would then link to to table dongle_keys_hardwares.dongle_keys_id (not primary, primary key is id).
# Sep 22nd 2011, 17:02 robcowie I've been beating my head all day. Does savaall work with more than one nested model?
# Sep 22nd 2011, 17:02 scoutmstershke how are you loading those files?
# Sep 22nd 2011, 17:01 TooMuchCaffeine robcowie: improvise god dam it.
# Sep 22nd 2011, 17:01 TheWarden scoutmstershke: yes... I'm convinced its not actually finding the dongle_keys_hardware.php file even though its present where the donglekey.php is located.
# Sep 22nd 2011, 17:01 scoutmstershke the*
# Sep 22nd 2011, 17:00 scoutmstershke are primary and foriegn keys that same?
# Sep 22nd 2011, 17:00 robcowie read that already, it is about multiple top level items, but I only have one, I can't expand the info in that post to what I want to do
# Sep 22nd 2011, 16:59 TooMuchCaffeine robcowie: i believe this is what you are looking for http://nuts-and-bolts-of-cakephp.com/2009/03/26/saveall-with-multiple-records-and-for-multiple-models/
# Sep 22nd 2011, 16:59 scoutmstershke the error is about the hardware table right
# Sep 22nd 2011, 16:59 ujjain Anybody who uses the variable $TIME_START? I wonder why it's undefined for me.
# Sep 22nd 2011, 16:59 TheWarden scoutmstershke: thanks, I like this idea and I'll look into it but I feel I should understand the basic method first and get this to work then venture into this other method. As what I'm trying to do is suppose to work.
# Sep 22nd 2011, 16:57 TheWarden sorry I am, still nothing has resolved it.
# Sep 22nd 2011, 16:57 TheWarden btw, another thing to note is that when I change the name of my table to web_dongle_keys_hardwares the error still doesn't go away. However I don't want the web_ in the database table name though.
# Sep 22nd 2011, 16:57 TooMuchCaffeine oh. you are still on donglekeys???
# Sep 22nd 2011, 16:57 scoutmstershke http://mark-story.com/posts/view/using-bindmodel-to-get-to-deep-relations