On Sat, 2005-09-24 at 13:17 +0100, David Baird wrote: > See the Maypole FAQ at http://maypole.perl.org/?FAQ - How do I get > beerdb working with Postgres?
I've checked the connection string and the Class::DBI::Loader::Pg.pm file and all seems ok. It's a strange behavior. If I add/remove an entry to a table from the site, it remains added/removed in the site, I can reload the page and it seems like the modification was committed. If I do a select with the psql client, I'm unable to see any modification, it's like if some cache mechanism isn't committing the changes to the database but displays the changes in the page. > Also, have a look at Maypole::Application. Instead of saying this: > > > use base 'Apache::MVC'; > > use Class::DBI::Loader::Relationship; > > you'd say > > use Maypole::Application; > > As your app develops, working via Maypole::Application will help keep > things simpler. > > d. After replacing > use base 'Apache::MVC'; > use Class::DBI::Loader::Relationship; with > use Maypole::Application; the apache logs started displaying errors: [Sat Sep 24 13:50:35 2005] [error] Can't locate object method "relationship" via package "Class::DBI::Loader::Pg" at /var/www/perl/CD.pm line 14.\nCompilation failed in require at (eval 10) line 3.\n After re-adding the Class::DBI::Loader::Relationship, the error disappears. Is this normal? -- Paulo Silva <[EMAIL PROTECTED]> Eurotux Informática, S.A.
signature.asc
Description: This is a digitally signed message part
