[Maypole] edit & add ?

raptor@tvskat.net raptor@tvskat.net
Wed, 2 Jun 2004 11:49:50 +0300


Any idea why I'm getting this when I try to update a record :: 

Premature end of script headers: test.pl, referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
 Use of uninitialized value in subroutine entry at /usr/lib/perl5/vendor_perl/5.8.2/DBIx/ContextualFetch.pm line 51, <DATA> line 3077., referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
Can't update 2: DBD::SQLite::st execute failed:  [for Statement "UPDATE test, referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
 SET    blah = ?, x = ?, referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
WHERE  id=?, referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
 "] at /usr/lib/perl5/vendor_perl/5.8.2/DBIx/ContextualFetch.pm line 51, <DATA> line 3077., referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
 at /usr/lib/perl5/vendor_perl/5.8.2/Class/DBI/FromCGI.pm line 233, referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2
MyTest::Test MyTest::Test=HASH(0x87ca9b8) destroyed without saving changes to blah, x at /arh/sites/maypole/webroot/test.pl line 0, referer: http://x.x.x.x:81/maypole/test.pl/test/edit/2


Similar things happens when I try to add new record..
tia