Hi: I'm trying to bake one of my DB tables and this is what I'm doing: 1) Create (M)odel for TblInformations table 2) Create (M)odel for TblInformationTypes table 3) Create (V)iew for TblInformationTypes table but at this step I get stucked and this error appear:
Error: Database table information for model Information was not found. #0 /var/www/html/jobapp/lib/Cake/Model/Model.php(3265): Model->setSource('information') #1 /var/www/html/jobapp/lib/Cake/Model/Model.php(1223): Model->getDataSource() #2 /var/www/html/jobapp/lib/Cake/Model/Model.php(1309): Model->schema() #3 /var/www/html/jobapp/lib/Cake/Model/Model.php(1295): Model->hasField('title', false) #4 /var/www/html/jobapp/lib/Cake/Model/Model.php(800): Model->hasField(Array) #5 /var/www/html/jobapp/lib/Cake/Console/Command/Task/ViewTask.php(459): Model->__get('displayField') #6 /var/www/html/jobapp/lib/Cake/Console/Command/Task/ViewTask.php(284): ViewTask->_associations(Object(TblInformationType)) #7 /var/www/html/jobapp/lib/Cake/Console/Command/Task/ViewTask.php(223): ViewTask->_loadController() #8 /var/www/html/jobapp/lib/Cake/Console/Command/Task/ViewTask.php(90): ViewTask->_interactive() #9 /var/www/html/jobapp/lib/Cake/Console/Command/BakeShell.php(110): ViewTask->execute() #10 /var/www/html/jobapp/lib/Cake/Console/Command/BakeShell.php(131): BakeShell->main() #11 /var/www/html/jobapp/lib/Cake/Console/Shell.php(389): BakeShell->main() #12 /var/www/html/jobapp/lib/Cake/Console/ShellDispatcher.php(177): Shell->runCommand(NULL, Array) #13 /var/www/html/jobapp/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher->dispatch() #14 /var/www/html/jobapp/lib/Cake/Console/cake.php(24): ShellDispatcher::run(Array) #15 {main} Any help? What I'm miss or doing wrong? Cheers and thanks in advance Ing. Reynier PĂ©rez Mira http://reynierpm.site90.com/ -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php