Runtime Error
result:DBD::Pg::st execute failed: called with 1 bind variables when 2 are needed [for Statement "SELECT min(position) FROM poll WHERE position >= ? AND dir = ?" with ParamValues: 1=undef, 2=undef] at /usr/local/libdata/perl5/site_perl/Envisity/Handler.pm line 300.
$VAR1 = {
'protocol' => 'http',
'errorcode' => '
foreach ($FORM->param()) {
/^\\d+$/ or next;
$g{\'points\'} += $FORM->param($_);
}
$g{\'poll\'} = &ensql(\'SELECT min(position) FROM poll WHERE position >= ? AND dir = ?\', undef, $g{\'points\'}, $FORM->param(\'path\'));
&ensql(\'UPDATE poll SET value = value + 1 WHERE position = ? AND dir = ?\', undef, $g{\'poll\'}, $FORM->param(\'path\'));
$g{\'sum\'} = &ensql(\'SELECT sum(value) FROM poll WHERE dir = ?\', undef, $FORM->param(\'path\'));
&ensql(\'SELECT * FROM poll WHERE dir = ? AND position = ?\', \'result-row\', $FORM->param(\'path\'), $g{\'poll\'});
',
'status' => 500,
'hostname' => 'www.baby.no',
'schema' => 'baby',
'Last-Modified' => 'Mon, 03 Oct 2005 10:41:02 GMT',
'xml' => undef,
'nest' => 2,
'errorheader' => 'Runtime Error',
'error' => 500,
'home' => 'www/',
'count' => 17,
'remote_ip' => '38.107.179.222',
'name' => 'test/result/',
'sparams' => 2,
'path' => 'www/test/result/',
'errormessage' => 'result:DBD::Pg::st execute failed: called with 1 bind variables when 2 are needed [for Statement "SELECT min(position) FROM poll WHERE position >= ? AND dir = ?" with ParamValues: 1=undef, 2=undef] at /usr/local/libdata/perl5/site_perl/Envisity/Handler.pm line 300.
',
'params' => '0',
'content_type' => 'text/html',
'cache' => 0
};
$VAR1 = {};
db: envisity host:www.baby.no Search Path: rubrikk, public Schema: baby Home: www/