[Maypole] Update/Insert ignored in beerdb on Postgres 7.4/apache 2

Steve@cat-and-mouse.demon.co.uk Steve@cat-and-mouse.demon.co.uk
Sun, 06 Jun 2004 14:55:50 +0100


Hi,

I'm trying to get BeerDB working with Apache2, and Postgres 7.4, in a user area, and 
am not having much luck.

I'm using the latest modules of everything, as far as I can tell, other than 
Class::DBI::AsForm, which I had to use 2.1, as in 2.2 the tests fail:

1..4
ok 1 - use Class::DBI::AsForm;
Can't locate object method "db_Main" via package "Foo" at  ....... 
perl5/site_perl/5.8.2/Ima/DBI.pm line 386.
# Looks like you planned 4 tests but only ran 1.
# Looks like your test died just after 1.
make: *** [test_dynamic] Error 255

I've used Marcus Ramberg's patches, excluding the UserSessionCookie mods to 
get Maypole up and running, and have used the tips described here:
http://lists.netthink.co.uk/pipermail/maypole/2004-May/000287.html

To get a partially usable BeerDB installation. Unfortuantly I cannot create records 
however - if I add a record to brewery, it looks like it has worked, and gets 
displayed on the page, but does not alter the database.

I've tried adding a record using psql, and interestingly the id it picks is '7', 
however, if I edit this record using the maypole front end, then once again, 
Maypole shows it has changed, but this is not reflected in the database.

No errors are output to the error log, before I get my wellies on an start wading 
through code, I was wondering if I have overlooked something incredibly obvious 
that half a dozen people have overcome already?

Cheers,

Steve