View | Details | Raw Unified | Return to bug 22417
Collapse All | Expand All

(-)a/about.pl (+12 lines)
Lines 43-48 use C4::Installer::PerlModules; Link Here
43
use Koha;
43
use Koha;
44
use Koha::DateUtils qw(dt_from_string output_pref);
44
use Koha::DateUtils qw(dt_from_string output_pref);
45
use Koha::Acquisition::Currencies;
45
use Koha::Acquisition::Currencies;
46
use Koha::BackgroundJob;
46
use Koha::BiblioFrameworks;
47
use Koha::BiblioFrameworks;
47
use Koha::Patron::Categories;
48
use Koha::Patron::Categories;
48
use Koha::Patrons;
49
use Koha::Patrons;
Lines 553-558 $template->param( 'bad_yaml_prefs' => \@bad_yaml_prefs ) if @bad_yaml_prefs; Link Here
553
    $template->param( warnHiddenBiblionumbers => \@hidden_biblionumbers );
554
    $template->param( warnHiddenBiblionumbers => \@hidden_biblionumbers );
554
}
555
}
555
556
557
{
558
    # BackgroundJob - test connection to message broker
559
    eval {
560
        Koha::BackgroundJob->connect;
561
    };
562
    if ( $@ ) {
563
        warn $@;
564
        $template->param( warnConnectBroker => $@ );
565
    }
566
}
567
556
my %versions = C4::Context::get_versions();
568
my %versions = C4::Context::get_versions();
557
569
558
$template->param(
570
$template->param(
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-2 / +21 lines)
Lines 113-118 Link Here
113
            [% ELSIF (errZebraConnection) %]
113
            [% ELSIF (errZebraConnection) %]
114
            <tr><th scope="row"><b>Warning</b> </th><td>Error message from Zebra: [% ( errZebraConnection ) | html %] </td></tr>
114
            <tr><th scope="row"><b>Warning</b> </th><td>Error message from Zebra: [% ( errZebraConnection ) | html %] </td></tr>
115
            [% END %]
115
            [% END %]
116
            <tr>
117
                <th scope="row">Message broker: </th>
118
                <td>
119
                    Status:
120
                    [% IF warnConnectBroker %]
121
                        <span class="status_warn">connection failed</span>
122
                    [% ELSE %]
123
                        <span class="status_ok">running</span>
124
                    [% END %]
125
                </td>
126
            </tr>
116
            <tr>
127
            <tr>
117
              <th scope="row">Date and time: </th>
128
              <th scope="row">Date and time: </th>
118
              <td>[% current_date_and_time | $KohaDates  with_hours => 1 %]</td>
129
              <td>[% current_date_and_time | $KohaDates  with_hours => 1 %]</td>
Lines 184-190 Link Here
184
        </div>
195
        </div>
185
196
186
        <div id="sysinfo">
197
        <div id="sysinfo">
187
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %]
198
    [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnNoActiveCurrency || warnIsRootUser || xml_config_warnings.size || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || has_ai_issues || oauth2_missing_deps || bad_yaml_prefs || warnRelationships || log4perl_errors || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size || warnConnectBroker%]
188
        [% IF (warnIsRootUser) %]
199
        [% IF (warnIsRootUser) %]
189
            <h2>Warning regarding current user</h2>
200
            <h2>Warning regarding current user</h2>
190
            <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>
201
            <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>
Lines 259-264 Link Here
259
            [% END %]
270
            [% END %]
260
        [% END %]
271
        [% END %]
261
272
273
        [% IF warnConnectBroker %]
274
            <h2>Impossible to connect to the message broker</h2>
275
            There is an error when trying to connect to the message broker (RabbitMQ), check the Koha log files.
276
            <br/>
277
            Maybe it is not installed and configured correctly?
278
            <br/>
279
            Contact your system administrator.
280
        [% END %]
281
262
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %]
282
        [% IF warnPrefBiblioAddsAuthorities || warnPrefEasyAnalyticalRecords || warnPrefAnonymousPatronOPACPrivacy || warnPrefAnonymousPatronAnonSuggestions || warnPrefAnonymousPatronOPACPrivacy_PatronDoesNotExist || warnPrefAnonymousPatronAnonSuggestions_PatronDoesNotExist || warnNoActiveCurrency || AutoSelfCheckPatronDoesNotHaveSelfCheckPerm || AutoSelfCheckPatronHasTooManyPerm || warnStatisticsFieldsError || warnNoTemplateCaching || warnILLConfiguration || oauth2_missing_deps || bad_yaml_prefs || warnIssuingRules || config_bcrypt_settings_no_set || warnHiddenBiblionumbers.size %]
263
            <h2>Warnings regarding the system configuration</h2>
283
            <h2>Warnings regarding the system configuration</h2>
264
            <table>
284
            <table>
265
- 

Return to bug 22417