[Koha] Uploading of Single Patron Image

Tomas Cohen Arazi tomascohen at gmail.com
Sat Nov 16 05:06:42 NZDT 2013


You could try using the borrowernumber instead of cardnumber.


On Fri, Nov 15, 2013 at 3:43 AM, Sandeep Bhavsar
<sandeep.bhavsar at gmail.com>wrote:

> Respected All
>
> I am trying to upload the single patron image ( Koha 3.10.04.000)  but
> getting the error as
> *"Image not imported because this patron does not exist in the database"*
> whereas if I click on the cardnumber Koha is redirecting me to patron
> details means data is exist in the database. I have search for  this on
> google and found
>
> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14327
>
> my error log is showing that :
> =======================================
>
> :24 2013] [error] [client 10.1.6.30] [Fri Nov 15 17:16:24 2013]
> picture-upload.pl: Database returned error: Cannot add or update a child
> row: a foreign key constraint fails (`koha_koha`.`patronimage`, CONSTRAINT
> `patronimage_fk1` FOREIGN KEY (`cardnumber`) REFERENCES `borrowers`
> (`cardnumber`) ON DELETE CASCADE ON UPDATE CASCADE) at
> /usr/share/koha/intranet/cgi-bin/tools/picture-upload.pl line 267.,
> referer: http://10.1.6.14:9001/cgi-bin/koha/tools/picture-upload.pl
> [Fri Nov 15 17:16:52 2013] [error] [client 10.1.6.30] [Fri Nov 15 17:16:52
> 2013] circulation.pl: Use of uninitialized value in string eq at
> /usr/share/koha/intranet/cgi-bin/circ/circulation.pl line 170., referer:
> http://10.1.6.14:9001/cgi-bin/koha/tools/picture-upload.pl
> [Fri Nov 15 17:16:52 2013] [error] [client 10.1.6.30] [Fri Nov 15 17:16:52
> 2013] circulation.pl: Use of uninitialized value in concatenation (.) or
> string at /usr/share/koha/intranet/cgi-bin/circ/circulation.pl line 649.,
> referer: http://10.1.6.14:9001/cgi-bin/koha/tools/picture-upload.pl
>
> ===================
>
> Please guide.
>
>
>
> --
>
> *Regards*
>
> B.com, M.Lib.I.Sc SET, M.Phil, American Library Association - FERA 2011
> fellow
> Librarian
> Dr. V N Bedekar Institute of Management Studies
> Thane (W) 400601
> Mumbai
> INDIA
> Mobile : 9987049099
>
> www.vpmthane.org
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>



-- 
Tomás Cohen Arazi
Prosecretaría de Informática
Universidad Nacional de Córdoba
✆ +54 351 4333190 ext 13168
GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F


More information about the Koha mailing list