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

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

Return to bug 20428