Log message #2301546

# At Username Text
# Sep 23rd 2011, 13:45 bioiq #8 /usr/share/php/cake/lib/Cake/Console/cake.php(24): ShellDispatcher::run(Array)
# Sep 23rd 2011, 13:45 bioiq #7 /usr/share/php/cake/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher->dispatch()
# Sep 23rd 2011, 13:45 bioiq #6 /usr/share/php/cake/lib/Cake/Console/ShellDispatcher.php(176): Shell->runCommand('all', Array)
# Sep 23rd 2011, 13:45 bioiq #5 /usr/share/php/cake/lib/Cake/Console/Shell.php(371): BakeShell->all()
# Sep 23rd 2011, 13:45 bioiq #4 /usr/share/php/cake/lib/Cake/Console/Command/BakeShell.php(143): ModelTask->getName('default')
# Sep 23rd 2011, 13:45 bioiq #3 /usr/share/php/cake/lib/Cake/Console/Command/Task/ModelTask.php(861): ModelTask->listAll('default')
# Sep 23rd 2011, 13:45 bioiq #2 /usr/share/php/cake/lib/Cake/Console/Command/Task/ModelTask.php(780): ModelTask->getAllTables('default')
# Sep 23rd 2011, 13:45 bioiq #1 /usr/share/php/cake/lib/Cake/Console/Command/Task/ModelTask.php(835): ConnectionManager::getDataSource('default')
# Sep 23rd 2011, 13:45 bioiq #0 /usr/share/php/cake/lib/Cake/Model/ConnectionManager.php(92): ConnectionManager::_getConnectionObject('default')
# Sep 23rd 2011, 13:45 bioiq Error: The datasource configuration "default" was not found in database.php
# Sep 23rd 2011, 13:45 bioiq Warning Error: include_once(): Failed opening '/var/www/Config/database.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in [/usr/share/php/cake/lib/Cake/Model/ConnectionManager.php, line 65]
# Sep 23rd 2011, 13:45 bioiq Warning Error: include_once(/var/www/Config/database.php): failed to open stream: No such file or directory in [/usr/share/php/cake/lib/Cake/Model/ConnectionManager.php, line 65]
# Sep 23rd 2011, 13:45 bhp better than nothing
# Sep 23rd 2011, 13:45 dogmatic69 use transactions
# Sep 23rd 2011, 13:44 bhp but well
# Sep 23rd 2011, 13:44 bhp bummer
# Sep 23rd 2011, 13:44 bhp foreach->save()
# Sep 23rd 2011, 13:44 dogmatic69 ye
# Sep 23rd 2011, 13:44 bhp Alright, so I got to recurse through my array to individually save them to get this to work.
# Sep 23rd 2011, 13:44 dogmatic69 habtm is not that great, better the way you have it now
# Sep 23rd 2011, 13:44 bhp Dakota said it would work when not using HABTM, I hadn't seen your message ADmad...
# Sep 23rd 2011, 13:43 dogmatic69 !tell bioiq about broken
# Sep 23rd 2011, 13:43 dogmatic69 still asking the same thing?
# Sep 23rd 2011, 13:43 bioiq ok, command line almost works, but it give me an error when i try 'cake bake all'
# Sep 23rd 2011, 13:43 dogmatic69 <ADmad> bhp: its because cake does not run behavior callbacks on associated models
# Sep 23rd 2011, 13:43 ADmad bhp: juggling your associations won't change the fact i stated earlier
# Sep 23rd 2011, 13:42 bhp sorry
# Sep 23rd 2011, 13:42 bhp ;o]
# Sep 23rd 2011, 13:42 dogmatic69 69
# Sep 23rd 2011, 13:42 bhp dogmatic
# Sep 23rd 2011, 13:42 dogmatic69 cake wont do callbacks recursively
# Sep 23rd 2011, 13:41 bhp However in beforeSave($Model) { echo "beforeSave was called"}. This is not shown, nor in the way you say it should.
# Sep 23rd 2011, 13:41 bhp dakota; in DagBehavior.php; I've got, under setup($Model, $config){ echo 'DAG LOADED';}. And that is shown when I "saveAll".
# Sep 23rd 2011, 13:39 dogmatic69 o/
# Sep 23rd 2011, 13:39 bhp morning!
# Sep 23rd 2011, 13:39 destinydriven morning TooMuchCaffeine
# Sep 23rd 2011, 13:39 TooMuchCaffeine morning
# Sep 23rd 2011, 13:37 bhp Could be, of course
# Sep 23rd 2011, 13:37 bhp Ah, I run into a RC bug?
# Sep 23rd 2011, 13:37 dakota Looks fine to me. But something could be missing, don't know, haven't really used 2.0 much
# Sep 23rd 2011, 13:33 bhp Of course there is more code, but this should suffice, right?