[% 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 %] directories scanned.
- [% HANDLED %] directories processed.
[% FOREACH COUNT IN COUNTS %]
Results
File name | Card number | Result |
[% IF ( COUNT.TCOUNTS ) %][% COUNT.TCOUNTS %] image(s) moved into the database:[% END %]
[% FOREACH filename IN COUNT.filenames %]
[% filename.source %] |
[% filename.cardnumber %] |
[% IF ( filename.filerrors ) %]
[% FOREACH filerror IN filename.filerrors %]
[% IF ( filerror.DBERR ) %]ERROR: Image not imported because the database returned an error. Please refer to the error log for more details.
[% ELSIF ( filerror.IMGEXISTS ) %]ERROR: Image not imported because this patron does not exist in the database.
[% ELSIF ( filerror.MIMERR ) %]ERROR: Image not imported because the image format is unrecognized.
[% ELSIF ( filerror.CORERR ) %]ERROR: Image not imported because the image file is corrupted.
[% ELSIF ( filerror.OPNERR ) %]ERROR: Image not imported because Koha was unable to open the image for reading.
[% ELSIF ( filerror.OVRSIZ ) %]ERROR: Image not imported because the image file is too big (see online help for maximum size).
[% ELSIF ( filerror.CRDFIL ) %]ERROR: Image not imported ([% filerror.CRDFIL %] missing).
[% ELSIF ( filerror.CARDNUMBER_DOES_NOT_EXIST ) %]ERROR: Image not imported because this patron does not exist in the database.
[% ELSE %]ERROR: Image not imported because of an unknown error. Please refer to the error log for more details.
[% END %]
[% END %]
[% ELSE %] imported successfully.
[% END %] |
[% END %]
[% 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 %]
[% END %]