2009/2/18 <kakim...@tpg.com.au>: > Hello Dermot, > > sorry, you're right. > Yes, I could not find myAppDB::Listing myself. > > I ran the following command for generating the static schema manually. > > " myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static > dbi:Pg:dbname=myApp myAdminUser mypassword" > > > Where in catalyst do we get Catalyst to recognise all the static files > found under "Schema" ?
In "lib/myApp/Model/DB.pm" It should look something like: __PACKAGE__->config( schema_class => 'myApp::myAppDB', ... Your command says "Create a schema under the directory 'myAppDB', so they should be under lib/myApp/myAppDB/ They probably are there as *.new (as Alejandro says) This whole issue can be quickly resolved if you can search/grep through the files in ~/Controller/* and/or ~/myAppDB/* to find out how is trying to use "Listing.pm". Does you this table exist in you DB? Good luck, you'll get there eventually :) Dp. _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/