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

(-)a/about.pl (+8 lines)
Lines 45-50 use Koha::Caches; Link Here
45
use Koha::Config::SysPrefs;
45
use Koha::Config::SysPrefs;
46
use Koha::Illrequest::Config;
46
use Koha::Illrequest::Config;
47
use Koha::SearchEngine::Elasticsearch;
47
use Koha::SearchEngine::Elasticsearch;
48
use Koha::UploadedFiles;
48
49
49
use C4::Members::Statistics;
50
use C4::Members::Statistics;
50
51
Lines 259-264 if ( ! defined C4::Context->config('upload_path') ) { Link Here
259
    }
260
    }
260
}
261
}
261
262
263
if ( ! defined C4::Context->config('upload_tmp_path') ) {
264
    push @xml_config_warnings, {
265
        error                    => 'uploadtmppath_entry_missing',
266
        effective_upload_tmp_dir => Koha::UploadedFile->temporary_directory
267
    }
268
}
269
262
# Test QueryParser configuration sanity
270
# Test QueryParser configuration sanity
263
if ( C4::Context->preference( 'UseQueryParser' ) ) {
271
if ( C4::Context->preference( 'UseQueryParser' ) ) {
264
    # Get the QueryParser configuration file name
272
    # Get the QueryParser configuration file name
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-1 / +8 lines)
Lines 409-414 Link Here
409
                        Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work.
409
                        Also note that you need to properly set the OPACBaseURL preference for the file upload plugin to work.
410
                    </td>
410
                    </td>
411
                </tr>
411
                </tr>
412
                [% ELSIF config_entry.error == 'uploadtmppath_entry_missing' %]
413
                <tr>
414
                    <th scope="row"><b>Warning</b></th>
415
                    <td>You are missing the &lt;upload_tmp_path&gt; entry in your koha-conf.xml file. Please
416
                        add it, pointing to the configured temporary file upload directory for your Koha instance.
417
                        The effective temporary file upload directory is '[% config_entry.effective_upload_tmp_dir %]'
418
                    </td>
419
                </tr>
412
                [% END %]
420
                [% END %]
413
            [% END %]
421
            [% END %]
414
            </table>
422
            </table>
415
- 

Return to bug 20428