[% BLOCK asksysadmin %]Please have your system administrator check the error log for details.[% END %] [% BLOCK b_batch %]Batch: [% END %] [% BLOCK b_patronlist %]Patron list: [% END %] [% BLOCK b_patronnumber %]Patron number: [% END %] [% BLOCK b_layout %]Layout: [% END %] [% BLOCK b_template %]Template: [% END %] [% IF ( error || CGI.param('pdferr') ) %]

WARNING: [% IF CGI.param('pdferr') %]Error while creating PDF file. [% IF CGI.param('errnocards') %]No cards created (empty batch or list?) [% END %] [% IF CGI.param('errba') %][% INCLUDE b_batch %][%- CGI.param('errba') | html -%][% END %] [% IF CGI.param('errpl') %][% INCLUDE b_patronlist %][%- CGI.param('errpl') | html -%]][% END %] [% IF CGI.param('errpt') %][% INCLUDE b_patronnumber %][%- CGI.param('errpt') | html -%][% END %] [% IF CGI.param('errlo') %][% INCLUDE b_layout %][%- CGI.param('errlo') | html -%][% END %] [% IF CGI.param('errtpl') %][% INCLUDE b_template %][%- CGI.param('errtpl') | html -%][% END %] [% INCLUDE asksysadmin %] [% END %] [% IF ( error == 101 ) %] [% IF ( card_element ) %]The database returned an error while saving [% card_element | html %] [% element_id | html %]. [% ELSE %]The database returned an error while attempting a save operation. [% END %][% INCLUDE asksysadmin %] [% ELSIF ( error == 102 ) %] [% IF ( card_element ) %]The database returned an error while deleting [% card_element | html %] [% element_id | html %]. [% ELSIF ( image_ids ) %]The database returned an error while deleting [% image_ids | html %]. [% ELSE %]The database returned an error while attempting a delete operation. [% END %][% INCLUDE asksysadmin %] [% ELSIF ( error == 201 ) %] [%IF ( element_id ) %]An unsupported operation was attempted on [% card_element | html %] [% element_id | html %]. [% ELSE %]An unsupported operation was attempted. [% END %][% INCLUDE asksysadmin %] [% ELSIF ( error == 202 ) %] An error has occurred. [% INCLUDE asksysadmin %] [% ELSIF ( error == 203 ) %] A non-existent or invalid library code was supplied. Please verify that you have a library set. Set library [% ELSIF ( error == 301 ) %] An error has occurred while attempting to upload the image file. [% INCLUDE asksysadmin %] [% ELSIF ( error == 302 ) %] Image exceeds 500KB. Please resize and import again. [% ELSIF ( error == 303 ) %] The database image quota currently only allows a maximum of [% image_limit | html %] images to be stored at any one time. Please delete one or more images to free up quota space. [% ELSIF ( error == 304 ) %] An image with the name '[% IMAGE_NAME | html %]' already exists. [% ELSIF ( error == 401 ) %] An error has occurred and no items have been added to batch [% batch_id | html %]. [% INCLUDE asksysadmin %] [% ELSIF ( error == 402 ) %] No items added because the library is not set. Please set your library before adding items to a batch. Set library [% ELSIF ( error == 403 ) %] An error has occurred and the item(s) was not removed from batch [% batch_id | html %]. [% INCLUDE asksysadmin %] [% ELSIF ( error == 404 ) %] An error has occurred and batch [% batch_id | html %] was not deleted. [% INCLUDE asksysadmin %] [% ELSIF ( error == 405 ) %] An error has occurred and batch [% batch_id | html %] was not fully de-duplicated. [% END %]

[% END %]