Re: [Koha] Software error when trying to issue books to some patrons
Tom Obrien tobri...@gmail.com I am using koha 3.8.2 on Debian. When i try typing a name of some patrons i get a the error below. kindly help me understand the error and how i can resolve it. Thanks in advance. Software error: The 'month' parameter (0) to DateTime::new did not pass the 'an integer between 1 and 12' callback at /usr/lib/perl5/DateTime.pm line 194. Well, that seems pretty clear, so let's look at this for what may have caused it: DateTime::new(undef, 'hour', 00, 'minute', 00, 'month', 0, 'second', 0, ...) called at /usr/local/share/perl/5.10.1/DateTime/Format/DateParse.pm line 58 DateTime::Format::DateParse::parse_datetime('DateTime::Format::DateParse', '-00-00 00:00:00', 'Africa/Nairobi') called at /usr/share/koha/lib/C4/Members.pm line 1044 The call on /usr/share/koha/lib/C4/Members.pm line 1044 is $_-{date_due} = DateTime::Format::DateParse-parse_datetime($_-{date_due}, $tz-name()); so, for some reason, a patron has been issued a book with a due date of -00-00 00:00:00 - that should not happen and I've not seen a Koha do that recently, so we're probably going to need to fix it in the database. The next bit hints at how we might do that: C4::Members::GetPendingIssues(3594) called at /usr/share/koha/intranet/cgi-bin/circ/circulation.pl line 479 So it's borrowernumber 3594. Go into mysql, SELECT FROM issues WHERE borrowernumber = 3594 AND issues.date_due = '-00-00 00:00:00' and then use UPDATE to set a real due date/time. A full zebra reindex may be a good idea after that, too. It may be worth leaving out borrowernumber = 3594 AND, to discover if other issues have the same problem. Hope that helps, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/ ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
[Koha] 505 Enhanced Contents Note
Hello, My library recently made the switch to Koha, and I am thus still getting used to it. One major trouble I am having is with the 505 field if I want to include an enhanced (as opposed to simply formatted) contents note to allow patrons to access chapters of edited volumes by title/author searches rather than just keywords. I am used to formatting them as a chain of $t /$r within a single field, but since Koha has separate form fields for each subfield, I feel a little out to sea on this one. Every variation I try makes the display unusable and doesn't visually connect the $t subfield to the appropriate $r subfield in the OPAC. Do I need to repeat the entire 505 tag for each individual entry? I saw in the list archive that there is a bug-fix related to the 505 field, will this fix the problem, or is there some aspect of formatting that I am missing? Any help would be very appreciated. Thank you, Charles Ed Hill Natural Hazards Library - University of Colorado, Boulder ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] 505 Enhanced Contents Note
Charles, My library recently made the switch to Koha, and I am thus still getting used to it. One major trouble I am having is with the 505 field if I want to include an enhanced (as opposed to simply formatted) contents note to allow patrons to access chapters of edited volumes by title/author searches rather than just keywords. I am used to formatting them as a chain of $t /$r within a single field, but since Koha has separate form fields for each subfield, I feel a little out to sea on this one. Every variation I try makes the display unusable and doesn't visually connect the $t subfield to the appropriate $r subfield in the OPAC. Do I need to repeat the entire 505 tag for each individual entry? I saw in the list archive that there is a bug-fix related to the 505 field, will this fix the problem, or is there some aspect of formatting that I am missing? Any help would be very appreciated. Welcome. The fix for bug 6617 ( http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6617 ) should do what you need. Regards, Jared -- Jared Camins-Esakov Bibliographer, C P Bibliography Services, LLC (phone) +1 (917) 727-3445 (e-mail) jcam...@cpbibliography.com (web) http://www.cpbibliography.com/ ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] 505 Enhanced Contents Note
On 2012-11-14, at 11:11 AM, Charles Hill wrote: Hello, My library recently made the switch to Koha, and I am thus still getting used to it. One major trouble I am having is with the 505 field if I want to include an enhanced (as opposed to simply formatted) contents note to allow patrons to access chapters of edited volumes by title/author searches rather than just keywords. I am used to formatting them as a chain of $t /$r within a single field, but since Koha has separate form fields for each subfield, I feel a little out to sea on this one. Every variation I try makes the display unusable and doesn't visually connect the $t subfield to the appropriate $r subfield in the OPAC. Do I need to repeat the entire 505 tag for each individual entry? currently - probably yes (but, i haven't tested this) I saw in the list archive that there is a bug-fix related to the 505 field, will this fix the problem, or is there some aspect of formatting that I am missing? Any help would be very appreciated. Thank you, Charles Ed Hill Natural Hazards Library - University of Colorado, Boulder ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Re: [Koha] 505 Enhanced Contents Note
On 2012-11-14, at 11:32 AM, Jared Camins-Esakov wrote: Charles, My library recently made the switch to Koha, and I am thus still getting used to it. One major trouble I am having is with the 505 field if I want to include an enhanced (as opposed to simply formatted) contents note to allow patrons to access chapters of edited volumes by title/author searches rather than just keywords. I am used to formatting them as a chain of $t /$r within a single field, but since Koha has separate form fields for each subfield, I feel a little out to sea on this one. Every variation I try makes the display unusable and doesn't visually connect the $t subfield to the appropriate $r subfield in the OPAC. Do I need to repeat the entire 505 tag for each individual entry? I saw in the list archive that there is a bug-fix related to the 505 field, will this fix the problem, or is there some aspect of formatting that I am missing? Any help would be very appreciated. Welcome. The fix for bug 6617 ( http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6617 ) should do what you need. Regards, Jared oops, ignore what i just said! :) ___ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha