[Koha] superlibrarian can't edit item types
magmatic
magmatic at timkoop.com
Fri Jan 10 07:38:03 NZDT 2014
/var/log/koha/library/intranet-error.log tells me:
[Thu Jan 09 12:26:32 2014] [error] [client 192.168.10.120] [Thu Jan 9
12:26:32 2014] itemtypes.pl: DBD::mysql::st execute failed: called with 6
bind variables when 8 are needed at
/usr/share/koha/intranet/cgi-bin/admin/itemtypes.pl line 151., referer:
http://library/cgi-bin/koha/admin/itemtypes.pl?op=add_form&itemtype=CB
And this is the Post data that I send when that form is submitted:
op=add_validate&checked=0&itemtype=CB&description=Child%27s+Book&image=bridge%2Fbook.gif&remoteImage=&rentalcharge=0.00&summary=
And this is the perl code that is dieing:
$sth->execute(
$input->param('description'),
$input->param('rentalcharge'),
( $input->param('notforloan') ? 1 : 0 ),
(
$input->param('image') eq 'removeImage' ? '' : (
$input->param('image') eq 'remoteImage'
? $input->param('remoteImage')
: $input->param('image') . ""
)
),
$input->param('summary'),
$input->param('checkinmsg'),
$input->param('checkinmsgtype'),
$input->param('itemtype')
);
I'm using Koha version 3.14.00.000
I'm guessing the two bind variables it can't find are checkinmsg and
checkinmsgtype.
--
View this message in context: http://koha.1045719.n5.nabble.com/superlibrarian-can-t-edit-item-types-tp5783283p5783287.html
Sent from the Koha-general mailing list archive at Nabble.com.
More information about the Koha
mailing list