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

(-)a/about.pl (+8 lines)
Lines 43-48 use Koha::Caches; Link Here
43
use Koha::Config::SysPrefs;
43
use Koha::Config::SysPrefs;
44
use Koha::Illrequest::Config;
44
use Koha::Illrequest::Config;
45
use Koha::SearchEngine::Elasticsearch;
45
use Koha::SearchEngine::Elasticsearch;
46
use Koha::UploadedFiles;
46
47
47
use C4::Members::Statistics;
48
use C4::Members::Statistics;
48
49
Lines 225-230 if ( ! defined C4::Context->config('upload_path') ) { Link Here
225
    }
226
    }
226
}
227
}
227
228
229
if ( ! defined C4::Context->config('upload_tmp_path') ) {
230
    push @xml_config_warnings, {
231
        error                    => 'uploadtmppath_entry_missing',
232
        effective_upload_tmp_dir => Koha::UploadedFile->temporary_directory
233
    }
234
}
235
228
# Test QueryParser configuration sanity
236
# Test QueryParser configuration sanity
229
if ( C4::Context->preference( 'UseQueryParser' ) ) {
237
if ( C4::Context->preference( 'UseQueryParser' ) ) {
230
    # Get the QueryParser configuration file name
238
    # Get the QueryParser configuration file name
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-1 / +9 lines)
Lines 111-116 Link Here
111
            [% ELSIF (errZebraConnection) %]
111
            [% ELSIF (errZebraConnection) %]
112
            <tr><th scope="row"><b>Warning</b> </th><td>Error message from Zebra: [% ( errZebraConnection ) %] </td></tr>
112
            <tr><th scope="row"><b>Warning</b> </th><td>Error message from Zebra: [% ( errZebraConnection ) %] </td></tr>
113
            [% END %]
113
            [% END %]
114
114
        </table>
115
        </table>
115
        </div>
116
        </div>
116
        <div id="perl">
117
        <div id="perl">
Lines 383-388 Link Here
383
                        Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work.
384
                        Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work.
384
                    </td>
385
                    </td>
385
                </tr>
386
                </tr>
387
                [% ELSIF config_entry.error == 'uploadtmppath_entry_missing' %]
388
                <tr>
389
                    <th scope="row"><b>Warning</b></th>
390
                    <td>You are missing the &lt;upload_tmp_path&gt; entry in your koha-conf.xml file. Please
391
                        add it, pointing to the configured temporary file upload directory for your Koha instance.
392
                        The effective temporary file upload directory is '[% config_entry.effective_upload_tmp_dir %]'
393
                    </td>
394
                </tr>
386
                [% END %]
395
                [% END %]
387
            [% END %]
396
            [% END %]
388
            </table>
397
            </table>
389
- 

Return to bug 20428