<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">OK, that rules out the reg being wrongly specified. Next thing to check: is the registry file &#8220;elfdestages&#8221; actually in /var/cqpweb/registry
 ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">I&#8217;ve also noted you mentioned using Docker. I&#8217;m afraid I know absolutely nothing about docker, and how it might / might not be involved
 in these issues &#8211; but if something happens to paths to translate them depending whether they are inside/outside Docker, maybe that has some effect?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">best<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Gregor Mitzka &lt;gregor.mitzka@tu-dresden.de&gt;
<br>
<b>Sent:</b> 26 September 2022 21:57<br>
<b>To:</b> Hardie, Andrew &lt;a.hardie@lancaster.ac.uk&gt;<br>
<b>Cc:</b> Open source development of the Corpus WorkBench &lt;cwb@sslmit.unibo.it&gt;; Simon Meier-Vieracker &lt;simon.meier-vieracker@tu-dresden.de&gt;<br>
<b>Subject:</b> Re: [CWB] CQPweb error: CQP error CORPUS is undefined<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">Hi Andrew,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">I don't think that we misconfigured CQPWeb. Anyway, I send you some more information about our setup. Maybe you can spot where we made the mistake that breaks our server.<o:p></o:p></p>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Thanks so far for your support!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Gregor<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Am Mo., 26. Sept. 2022 um 20:06&nbsp;Uhr schrieb Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:4.8pt">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 ...)<br>
<br>
best<br>
<br>
Andrew. <br>
<br>
-----Original Message-----<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt; On Behalf Of Simon Meier-Vieracker<br>
Sent: 26 September 2022 13:17<br>
To: Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
Cc: Gregor Mitzka &lt;<a href="mailto:gregor.mitzka@mailbox.tu-dresden.de" target="_blank">gregor.mitzka@mailbox.tu-dresden.de</a>&gt;<br>
Subject: [CWB] CQPweb error: CQP error CORPUS is undefined<br>
<br>
<br>
Hi,<br>
<br>
we tried to setup CQPweb on our new server with Docker.<br>
<br>
CWB 3.5.0<br>
CQPweb 3.2.43<br>
<br>
CQPweb works, as we can access the start page, the corpora pages etc., and we even can call frequency lists.<br>
<br>
However, when executing the standard query (<a href="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%7Cff4d96b5d576451bdef908daa001b726%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637998227215103299%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000%7C%7C%7C&amp;sdata=Ne7SGLnunymEdkHaMae4Af6yVnDeMZ3D%2FrOoICzSO98%3D&amp;reserved=0" target="_blank">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;amp;data=05%7C01%7Chardiea%40live.lancs.ac.uk%7Cb947004391ba46b0361a08da9fb925cb%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637997914921089658%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=NXLO28bBGtBY1kmJoQ6Sto1XO1Q4ncnbyPOvtCiikBk%3D&amp;amp;reserved=0</a>),
 we get the error<br>
<br>
&gt; CQP reports an error! The CQP program sent back these error messages:<br>
&gt;<br>
&gt; **** CQP ERROR ****<br>
&gt;<br>
&gt; CQP Error:<br>
&gt;<br>
&gt; Corpus ``ELFDESTAGES'' is undefined<br>
<br>
as well as the PHP debugging backtrace attached.<br>
<br>
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.<br>
<br>
Any suggestions what we could check?<br>
<br>
Best, Simon<o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</body>
</html>