[% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Upload Patron Images [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% IF ( TOTAL ) %]
[% IF ( ERRORS ) %] [% IF ( TCOUNTS ) %]

Patron Image(s) Uploaded With Some Errors

[% ELSE %]

Patron Image Failed to Upload

[% END %] [% ELSE %]

Patron Image(s) Successfully Uploaded

[% END %]
  • Unpacking completed
  • [% TOTAL %] directorie(s) scanned.
  • [% HANDLED %] directorie(s) processed.
[% FOREACH COUNT IN COUNTS %]
    [% IF ( COUNT.TCOUNTS ) %]
  • [% COUNT.TCOUNTS %] image(s) moved into the database:
  • [% END %] [% FOREACH filename IN COUNT.filenames %]
  • [% filename.source %] - Cardnumber: [% filename.cardnumber %] [% IF ( filename.filerrors ) %]
    WARNING: This image not imported because [% FOREACH filerror IN filename.filerrors %] [% IF ( filerror.DBERR ) %]the database returned an error. Please refer to the error log for more details.
  • [% ELSIF ( filerror.IMGEXISTS ) %]this patron does not exist in the database. [% ELSIF ( filerror.MIMERR ) %]the image format is unrecognized. [% ELSIF ( filerror.CORERR ) %]the image file is corrupted. [% ELSIF ( filerror.OPNERR ) %]Koha was unable to open the image for reading. [% ELSIF ( filerror.OVRSIZ ) %]the image file is too big. [% ELSIF ( filerror.CRDFIL ) %]the [% filerror.CRDFIL %] is missing. [% ELSE %]of an unknown error. Please refer to the error log for more details.[% END %] [% END %] [% ELSE %] imported successfully. [% END %] [% END %]
[% END %]
[% IF ( borrowernumber ) %] Return to Patron Detail [% ELSE %] Upload More Images Return to Tools [% END %]
[% ELSE %]

Upload Patron Images

[% IF ( ERRORS ) %]
[% FOREACH ERROR IN ERRORS %] [% IF ( ERROR.NOTZIP ) %]
  • The upload file does not appear to be a zip file. The extension is not '.zip'.
  • [% ELSIF ( ERROR.NOWRITETEMP ) %]
  • This script is not able to create/write to the necessary temporary directory.
  • [% ELSIF ( ERROR.EMPTYUPLOAD ) %]
  • The upload file appears to be empty.
  • [% ELSIF ( ERROR.OPNLINK ) %]
  • Cannot open [% ERROR.OPNLINK %] to read.
    Please verify that it exists.
  • [% ELSIF ( ERROR.OPNIMG ) %]
  • Cannot open [% ERROR.OPNIMG %] to read.
    Please verify that it exists.
  • [% ELSIF ( ERROR.DELERR ) %]
  • Unrecognized or missing field delimiter.
    Please verify that you are using either a single quote or a tab.
  • [% ELSIF ( ERROR.UZIPFAIL ) %]
  • [% ERROR.UZIPFAIL %] failed to unpack.
    Please verify the integrity of the zip file and retry.
  • [% ELSE %]
  • [% ERROR.CORERR %] An unknown error has occurred.
    Please review the error log for more details.
  • [% END %] [% END %]
    [% END %]
    NOTE: Only PNG, GIF, JPEG, XPM formats are supported.
      1. [% IF ( filetype == 'image' ) %][% ELSE %]
    Cancel
    [% END %]
    [% INCLUDE 'tools-menu.inc' %]
    [% INCLUDE 'intranet-bottom.inc' %]