[Koha] using self checkout

Jochum van der Heide jochum.vanderheide at lifehope.om.org
Wed Sep 3 00:03:33 NZST 2008


After sending my email on Friday, I looked a bit closer at the files 
involved and line 30 in koha/opac/cgi-bin/opac/sco/sco-main.pl to

authnotrequired => 1,

This seemed to solve my problem, now I don't have to first authenticate. 
It now allows me straight to the Self Checkout screen and asks me for my 
cardnumber and after that the book barcode, which works great... untill.. 
I click the "click here if done" button and want to checkout books for 
another patron. It then keeps giving me the following error for whatever 
barcode I type:

-------------------------
Koha error

The following fatal error has occurred:

Can't use string ("0") as a HASH ref while "strict refs" in use at 
/usr/local/koha/lib/C4/Circulation.pm line 982.

Apache	Server version: Apache/2.0.52 Server built: Oct 7 2005 06:37:35
Koha	3.00.00.107
Koha DB	3.0000107
MySQL	mysql Ver 14.12 Distrib 5.0.62, for redhat-linux-gnu (i686) using 
readline 5.1
OS	Linux library.lifehope.om.org 2.6.9-42.0.2.EL #1 Tue Aug 22 23:56:05 
CDT 2006 i686 i686 i386 GNU/Linux
Perl	5.008008
-------------------------------------------

Is this error introduced because I changed the file sco-main.pl to not ask 
for authentication?

BTW, it looks like the problem I raised in my first email, about the Self 
Checkout, also occurs on public.demo.kohalibrary.com

-Jochum


Jochum van der Heide wrote the following on 29/08/2008 12:52:
> Hi Nicole,
> 
> Thanks for following up. I think I've found the bug report, and indeed 
> shows fixed.
> http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=2383
> 
> Has this gone in to Koha 3.00 or do I need to update the file(s) manually?
> 
> -Jochum
> 
> Nicole Engard wrote the following on 28/08/2008 12:22:
>> Jochum,
>>
>> I'm not sure - I had someone here fix it for me.  I'll let someone
>> else here try to address this.
>>
>>
>> ---
>>
>> Nicole C. Engard
>> Open Source Evangelist, LibLime
>> (888) Koha ILS (564-2457) ext. 714
>> nce at liblime.com
>> AIM/Y!/Skype: nengard
>>
>> http://liblime.com
>> http://blogs.liblime.com/open-sesame/
>>
>>
>>
>> On Thu, Aug 28, 2008 at 2:59 AM, Jochum van der Heide
>> <jochum.vanderheide at lifehope.om.org> wrote:
>>> Hi Nicole
>>>
>>> Nicole Engard wrote the following on 27/08/2008 19:50:
>>>> There is a known bug with this feature - I say known and yet I cannot
>>>> find the bug report that I know I submitted.  While the user is only
>>>> supposed to need Circ & Catalog permissions, it actually will only
>>>> allow the admin librarian to use this tool.  I'll keep looking for the
>>>> bug and let you know.
>>> With 'admin librarian' do you mean I need to set "staffaccess" privileges on
>>> the Patron?
>>>
>>> I've just ticked all the boxes in the permissions page, even the super
>>> librarian, for the librarian patron. But still get the same error.
>>>
>>> -Jochum
>>>
>>>
>>>> ---
>>>>
>>>> Nicole C. Engard
>>>> Open Source Evangelist, LibLime
>>>> (888) Koha ILS (564-2457) ext. 714
>>>> nce at liblime.com
>>>> AIM/Y!/Skype: nengard
>>>>
>>>> http://liblime.com
>>>> http://blogs.liblime.com/open-sesame/
>>>>
>>>>
>>>>
>>>> On Wed, Aug 27, 2008 at 12:47 PM, Jochum van der Heide
>>>> <jochum.vanderheide at lifehope.om.org> wrote:
>>>>> Hi,
>>>>>
>>>>> I'm trying to use the self checkout module but it doesn't work as
>>>>> expected.
>>>>>
>>>>> I'm following the instructions on:
>>>>>
>>>>> http://sites.google.com/a/liblime.com/koha-manual/Home/Table-of-Contents/manual-circulation/self-checkout-module
>>>>>
>>>>> 1. I created patron gave it catalogue and circulate permissions (ticked
>>>>> all other boxes as well)
>>>>> 2. I go to: http://mylibraryurl/cgi-bin/koha/sco/sco-main.pl
>>>>> 3. I type the *username* and password for the staff patron
>>>>> 4. Now I see the self checkout page as shown in the manual link above
>>>>> (white background).
>>>>> 5. When I now enter any card number in the box next to "Please enter your
>>>>> cardnumber:" I get back to the OPAC like page saying:
>>>>>
>>>>> You entered an incorrect username or password. Please try again!
>>>>>
>>>>> If on 3. I enter the *cardnumber" instead of the username I get a blank
>>>>> OPAC screen.
>>>>>
>>>>> Am I doing something wrong? I tried enabling the self checkout in the
>>>>> global configuration under circulation, but read in the manual that this
>>>>> parameter isn't implemented yet.
>>>>>
>>>>> -Jochum
>>>>> _______________________________________________
>>>>> Koha mailing list
>>>>> Koha at lists.katipo.co.nz
>>>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>>>
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list