Log message #2300389

# At Username Text
# Sep 22nd 2011, 15:45 diverdude TehTreag, i run it like this: cake bake model all (added cake to path). running from cakeroot
# Sep 22nd 2011, 15:45 TehTreag unico7: Read the links I sent.
# Sep 22nd 2011, 15:45 TheWarden TehTreag: oh and it looks like in the index action as well.. as soon as I remove the $hasMany from the donglekey.php the error goes away.
# Sep 22nd 2011, 15:45 TehTreag TheWarden: Add that action to the pastebin... any reason you don't use the cakephp pastebin?
# Sep 22nd 2011, 15:45 unico7 i only have to put App::import('modelname') at the top of controller class?
# Sep 22nd 2011, 15:44 diverdude TehTreag, this is what the table structures look like: http://bin.cakephp.org/view/978483150
# Sep 22nd 2011, 15:44 TheWarden TehTreag: When I'm in the edit action
# Sep 22nd 2011, 15:44 TehTreag ~tell unico7 about loadmodel
# Sep 22nd 2011, 15:44 unico7 hi, i want to use another model inside one controller
# Sep 22nd 2011, 15:44 TehTreag TheWarden: When do you get this error?
# Sep 22nd 2011, 15:43 TehTreag diverdude: I can't tell.
# Sep 22nd 2011, 15:43 diverdude TehTreag, did i do something really stupid ?
# Sep 22nd 2011, 15:43 TehTreag diverdude: I don't know what to tell you.
# Sep 22nd 2011, 15:42 diverdude TehTreag, and if i do that one alone, it also seems to be working ok....but for some reason when running in bake all the segmentation fault comes
# Sep 22nd 2011, 15:42 diverdude TehTreag, if it is in alphabetical order (it seems so) the next model would be CREATE TABLE `haircolors_saved_search_settings`
# Sep 22nd 2011, 15:41 TheWarden oh crap sorry folks, here's the link http://pastebin.com/wwTBcfn3
# Sep 22nd 2011, 15:41 TheWarden with this message "Error: Database table web_dongle_keys_hardwares for model DongleKeysHardware was not found." I'm assuming the model is not being loaded still. mm.
# Sep 22nd 2011, 15:41 TehTreag TheWarden: Where's the updated pastebin? Include filenames.
# Sep 22nd 2011, 15:40 robcowie I have a small (I hope) question I hope no one minds?
# Sep 22nd 2011, 15:40 TheWarden here is my updated configuration... still not working with the new table $hasMany from donglekey to dongle_keys_hardware.php
# Sep 22nd 2011, 15:40 TehTreag robcowie: Welcome.
# Sep 22nd 2011, 15:40 robcowie Hi all, first time visitor
# Sep 22nd 2011, 15:40 TehTreag diverdude: And the next model?
# Sep 22nd 2011, 15:38 diverdude TehTreag, if i do it alone it works fine i tried that
# Sep 22nd 2011, 15:38 TheWarden NetersLandreau: I did already... I'll update the bin though...
# Sep 22nd 2011, 15:38 TehTreag diverdude: Were are the test cases for hair color? Do that model alone, see what happens.
# Sep 22nd 2011, 15:38 NetersLandreau TheWarden: bin it
# Sep 22nd 2011, 15:37 TheWarden mmm fixing the camel case and model file name still didn't fix it. wtf have I done :)
# Sep 22nd 2011, 15:37 diverdude TehTreag, i am not to sure if it is HairColor (I dont think so because that file gets written) or the next in line (this is the output) http://bin.cakephp.org/view/260825414
# Sep 22nd 2011, 15:35 TehTreag diverdude: Which model is it baking when it segfaults?
# Sep 22nd 2011, 15:34 diverdude TehTreag, im running cake bake model all
# Sep 22nd 2011, 15:34 TehTreag diverdude: You'd be done if you wrote it by hand. Never had a segfault running bake before. What are you doing?
# Sep 22nd 2011, 15:33 diverdude anybody got error "Segmentation fault" while baking all before?
# Sep 22nd 2011, 15:33 TheWarden dongle_keys_hardware.php, done.
# Sep 22nd 2011, 15:31 caffeine_junkie underscore model file name
# Sep 22nd 2011, 15:30 TheWarden I fixed all that TehTreag
# Sep 22nd 2011, 15:30 EtRiGaN ^.^
# Sep 22nd 2011, 15:30 TheWarden the class is called DongleKeysHardware now and is being referenced as that in the $hasMany. The model file name is donglekeyshardware.php. The table is dongle_keys_hardwares.
# Sep 22nd 2011, 15:30 TehTreag camelcase the right way and try again.
# Sep 22nd 2011, 15:29 TehTreag DongleKeysHardware .vs DonglekeyHardware? Which is it?
# Sep 22nd 2011, 15:28 TheWarden anyone?