Re: dates and cdbi::fromcgi ?

[prev] [thread] [next] [Date index for 2005/02/09]

From: raptor
Subject: Re: dates and cdbi::fromcgi ?
Date: 19:11 on 09 Feb 2005
Now Installed it, thanx...
but get another error :

Errors Output

   1. 3Can't insert new My::Stuff: Can't bind a reference (Date::Simple=SCALAR(0x84c8af4)) at /usr/lib/perl5/site_perl/5.8.2/DBIx/ContextualFetch.pm line 51. errCan't bind a reference (Date::Simple=SCALAR(0x84c8af4)) at /usr/lib/perl5/site_perl/5.8.2/DBIx/ContextualFetch.pm line 51. methodcreate at /usr/lib/perl5/5.8.6/Carp.pm line 269. , /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 1518 

Debug Output

   1. 3Can't insert new My::Stuff: Can't bind a reference (Date::Simple=SCALAR(0x84c8af4)) at /usr/lib/perl5/site_perl/5.8.2/DBIx/ContextualFetch.pm line 51. errCan't bind a reference (Date::Simple=SCALAR(0x84c8af4)) at /usr/lib/perl5/site_perl/5.8.2/DBIx/ContextualFetch.pm line 51. methodcreate at /usr/lib/perl5/5.8.6/Carp.pm line 269. , /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 1518 

ASP to Perl Script 

  -: use strict;;;use vars qw($Application $Session $Response $Server $Request);;
  -: #line 1 /path/to/do_add.asp
  1: ;;
  2:  my $phone = $Request->Params('phone');
  3:  my $count;
  4: 
  5:  my $h = CGI::Untaint->new($Request->Params());
  6: 
  7:  my $cf = $class->create_from_cgi($h);
  8:  
  9:  if (my %errors = $cf->cgi_update_errors) {
 10:     while (my ($field, $problem) = each %errors) {
 11:       $Response->Write( "Problem with $field: $problem\n" );
 12:     }
 13:   } else {
 14:     $class->dbi_commit()
 15:   }
 16: 
 17: ; 



|On Tue, Feb 08, 2005 at 10:28:54PM +0200, raptor wrote:
|> I installed Date::Simple, but still get :
|> Problem with wdate: Can't find extraction handler for date
|> do I have to do something else .... to use untainting and updating for dates 
|
|Have you installed CGI::Untaint::date?
|
|Tony
|
|

dates and cdbi::fromcgi ?
raptor 20:28 on 08 Feb 2005

Re: dates and cdbi::fromcgi ?
Tony Bowden 22:00 on 08 Feb 2005

Re: dates and cdbi::fromcgi ?
raptor 19:11 on 09 Feb 2005

Generated at 10:21 on 11 Feb 2005 by mariachi v0.52