QuickAppsCMS/QuickApps-CMS — Issue #13: [MissingTableException] Table qa_packages for model Package was not found in datasource default.
Author: mikeful
Created: 2012-01-07 10:14:56+00:00
State: open

Installed v1.0RC2 from GitHub zipball, got problem running installer and installed database manually. Everything seems to work fine except I can't find "qa_packages" table creation in database schema file.

Full error from log:

2012-01-07 10:57:06 Error: [MissingTableException] Table qa_packages for model Package was not found in datasource default.
#0 C:\\quickapps\app\Cake\Model\Model.php(3334): Model->setSource('packages')
#1 C:\\quickapps\app\Cake\Model\Model.php(1277): Model->getDataSource()
#2 C:\\quickapps\app\Cake\Model\Model.php(1363): Model->schema()
#3 C:\\quickapps\app\Model\Behavior\WhoDidItBehavior.php(49): Model->hasField('created_by')
#4 C:\\quickapps\app\Cake\Model\BehaviorCollection.php(145): WhoDidItBehavior->setup(Object(LocaleAppModel), Array)
#5 C:\\quickapps\app\Cake\Model\BehaviorCollection.php(68): BehaviorCollection->load('WhoDidIt', Array)
#6 C:\\quickapps\app\Cake\Model\Model.php(723): BehaviorCollection->init('Package', Array)
#7 C:\\quickapps\app\Model\AppModel.php(23): Model->__construct(Array, NULL, NULL)
#8 C:\\quickapps\app\Cake\Utility\ClassRegistry.php(176): AppModel->__construct(Array)
#9 C:\\quickapps\app\Cake\View\Helper\FormHelper.php(151): ClassRegistry::init(Array)
#10 C:\\quickapps\app\Cake\View\Helper\FormHelper.php(337): FormHelper->_getModel('Package')
#11 C:\\quickapps\app\View\Helper\QaFormHelper.php(60): FormHelper->create('Package', Array)
#12 C:\\quickapps\app\Plugin\Locale\View\Packages\admin_index.ctp(1): QaFormHelper->create('Package', Array)
#13 C:\\quickapps\app\Cake\View\View.php(869): include('C:\...')
#14 C:\\quickapps\app\Cake\View\View.php(833): View->_evaluate('C:\...', Array)
#15 C:\\quickapps\app\Cake\View\View.php(444): View->_render('C:\...')
#16 C:\\quickapps\app\Cake\Controller\Controller.php(933): View->render(NULL, NULL)
#17 C:\\quickapps\app\Cake\Routing\Dispatcher.php(111): Controller->render()
#18 C:\\quickapps\app\Cake\Routing\Dispatcher.php(86): Dispatcher->_invoke(Object(PackagesController), Object(CakeRequest), Object(CakeResponse))
#19 C:\\quickapps\webroot\index.php(47): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#20 {main}