[CWB] Error with simple queries only in cqpweb 3.3.17, tertiary annotation may be a problem
Jörg Knappen
j.knappen at mx.uni-saarland.de
Wed Jan 4 16:39:04 CET 2023
A happy new year to all.
A user reported an error on our cqpweb installation. It occurs with
simple queries on some corpora and may have something to do with the
existence of a tertiary annotation.
The corpus in question has a tertiary annotation, but a Tertiary
Annotation Mapping Table is not in use for this corpus.
Any simple query just fails, giving the end user a white frame on the
screen and throwing an internal server error (500) in the Apache2 log.
In the error log I find the following message:
PHP Fatal error: Uncaught TypeError: get_tertiary_mapping_table():
Argument #1 ($mapping_table_handle) must be of type string, null given,
called in /var/www/html/cqpweb/lib/query-lib.php on line 428 and defined
in /var/www/html/cqpweb/lib/query-lib.php:678\nStack trace:\n#0
/var/www/html/cqpweb/lib/query-lib.php(428):
get_tertiary_mapping_table()\n#1
/var/www/html/cqpweb/lib/query-lib.php(369):
process_simple_query_new()\n#2
/var/www/html/cqpweb/lib/concordance-ui.php(319):
process_simple_query()\n#3 /var/www/html/cqpweb/exe/concordance.php(1):
require('...')\n#4 {main}\n thrown in
/var/www/html/cqpweb/lib/query-lib.php on line 678, referer:
https://corpora.clarin-d.uni-saarland.de/cqpweb/epic_uds_en_alig_pos/
CQP queries work just fine and don't have the problem.
Greetings from Saarbrücken,
Jörg Knappen
More information about the CWB
mailing list