Lines 137-149
Link Here
|
137 |
</div> |
137 |
</div> |
138 |
|
138 |
|
139 |
<div id="sysinfo"> |
139 |
<div id="sysinfo"> |
140 |
[% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %] |
140 |
[% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || has_ai_issues %] |
141 |
[% IF (warnIsRootUser) %] |
141 |
[% IF (warnIsRootUser) %] |
142 |
<h2>Warning regarding current user</h2> |
142 |
<h2>Warning regarding current user</h2> |
143 |
<p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p> |
143 |
<p>You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.</p> |
144 |
<p>Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.</p> |
144 |
<p>Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.</p> |
145 |
[% END %] |
145 |
[% END %] |
146 |
|
146 |
|
|
|
147 |
[% IF has_ai_issues %] |
148 |
<h2>Data problems</h2> |
149 |
<p> |
150 |
The following tables have problems with their auto_increment values which may lead to data lost. You should not ignore this warning. |
151 |
The problem is that innodb does not keep auto_increment across SQL server restarts (it is only set in memory). |
152 |
So on server startup the auto_increment values are set to max(table.id)+1. |
153 |
</p> |
154 |
<p> |
155 |
See the <a href="https://wiki.koha-community.org/wiki/DBMS_auto_increment_fix">related wiki page</a> to know how to avoid this problem. |
156 |
</p> |
157 |
[% IF ai_patrons %] |
158 |
<h3>Patrons</h3> |
159 |
The following ids exist in both the borrowers and deletedborrowers table: |
160 |
[% FOR p IN ai_patrons %][% p.borrowernumber %][% UNLESS loop.last %], [% END %][% END %] |
161 |
[% END %] |
162 |
[% IF ai_biblios %] |
163 |
<h3>Biblios</h3> |
164 |
The following ids exist in both the biblio and deletedbiblio table: |
165 |
[% FOR b IN ai_biblios %][% b.biblionumber %][% UNLESS loop.last %], [% END %][% END %] |
166 |
[% END %] |
167 |
[% IF ai_checkouts %] |
168 |
<h3>Checkouts</h3> |
169 |
The following ids exist in both the issues and old_issues table: |
170 |
[% FOR c IN ai_checkouts %][% c.issue_id %][% UNLESS loop.last %], [% END %][% END %] |
171 |
[% END %] |
172 |
[% IF ai_holds %] |
173 |
<h3>Holds</h3> |
174 |
The following ids exist in both the holds and old_reserves table: |
175 |
[% FOR h IN ai_holds %][% h.issue_id %][% UNLESS loop.last %], [% END %][% END %] |
176 |
[% END %] |
177 |
[% END %] |
178 |
|
147 |
[% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %] |
179 |
[% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatron || warnPrefAnonymousPatron_PatronDoesNotExist || warnNoActiveCurrency || QueryParserError || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching %] |
148 |
<h2>Warnings regarding the system configuration</h2> |
180 |
<h2>Warnings regarding the system configuration</h2> |
149 |
<table> |
181 |
<table> |
150 |
- |
|
|