[CWB] CQPweb error: CQP error CORPUS is undefined

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Sep 26 20:06:38 CEST 2022


Sounds like your config.php file is not specifying the corpus registry correctly (or something else is going wrong with the specification to CQPweb of the registry path ...)

best

Andrew. 

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Simon Meier-Vieracker
Sent: 26 September 2022 13:17
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Cc: Gregor Mitzka <gregor.mitzka at mailbox.tu-dresden.de>
Subject: [CWB] CQPweb error: CQP error CORPUS is undefined


Hi,

we tried to setup CQPweb on our new server with Docker.

CWB 3.5.0
CQPweb 3.2.43

CQPweb works, as we can access the start page, the corpora pages etc., and we even can call frequency lists.

However, when executing the standard query (https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2Felfdestages%2Fconcordance.php%3FtheData%3Daber%26qmode%3Dsq_nocase%26pp%3D50%26del%3Dbegin%26t%3D%26del%3Dend&amp;data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cb947004391ba46b0361a08da9fb925cb%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637997914921089658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=NXLO28bBGtBY1kmJoQ6Sto1XO1Q4ncnbyPOvtCiikBk%3D&amp;reserved=0), we get the error

> CQP reports an error! The CQP program sent back these error messages:
>
> **** CQP ERROR ****
>
> CQP Error:
>
> Corpus ``ELFDESTAGES'' is undefined

as well as the PHP debugging backtrace attached.

This is strange because when we call cqp manually, everything works. We logged every command that was passed to cqp and checked manually if it would work on the command line, and it did. But still CQPweb runs into this error.

Any suggestions what we could check?

Best, Simon


More information about the CWB mailing list