<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:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:ZH-CN;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
span.EmailStyle21
        {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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Hi David,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Based on this error message, I believe the problem is that you have declared a tertiary annotation, but not specified a mapping table,
in this corpus.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">To test this, try doing a query in “CQP syntax” mode. If I’m correct, it will work fine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",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:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",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:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US">PS. changing from weakly typed to strongly typed function parameters and return values was one of the big changes made in v 3.3.0 .
I am reasonably certain the bugs from that changeover are pretty well shaken out.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </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" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it>
<b>On Behalf Of </b>Yu Yuan<br>
<b>Sent:</b> 18 October 2021 01:59<br>
<b>To:</b> cwb@sslmit.unibo.it<br>
<b>Subject:</b> Re: [CWB] CQPweb does not return results but blank page<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Hi, Andrew,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Thanks for the help. I looked into the error log and it appears to be some variable type delcaration problem to me as I compared the "query-lib.php" file with its
early 3.2.43 version and found you reengineered the code a bit and had all the variable type declaration (e.g. string, bool) removed. Could this be the cause of problem? I pasted the error below for your reference:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">***************************************<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">[Mon Oct 18 08:47:13.623391 2021] [php7:error] [pid 142109] [client 127.0.0.1:35296] PHP Fatal error: Uncaught TypeError: Argument 1 passed to get_tertiary_mapping_table()
must be of the type string, null given, called in /var/www/html/nuist/lib/query-lib.php on line 426 and defined in /var/www/html/nuist/lib/query-lib.php:676\nStack trace:\n#0 /var/www/html/nuist/lib/query-lib.php(426): get_tertiary_mapping_table()\n#1 /var/www/html/nuist/lib/query-lib.php(367):
process_simple_query_new()\n#2 /var/www/html/nuist/lib/concordance-ui.php(319): process_simple_query()\n#3 /var/www/html/nuist/exe/concordance.php(1): require('/var/www/html/n...')\n#4 {main}\n thrown in /var/www/html/nuist/lib/query-lib.php on line 676,
referer: </span><a href="http://localhost/nuist/ciiss_en/"><span style="font-size:10.5pt;font-family:"Arial",sans-serif">http://localhost/nuist/ciiss_en/</span></a><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">***************************************<o:p></o:p></span></p>
</div>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Best wishes,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">David<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
<pre><span style="color:black"><br>At 2021-10-17 18:00:01, </span><a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><span style="color:black"> wrote:<o:p></o:p></span></pre>
<pre><span style="color:black">>Send CWB mailing list submissions to<o:p></o:p></span></pre>
<pre><span style="color:black">> </span><a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><span style="color:black"><o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>To subscribe or unsubscribe via the World Wide Web, visit<o:p></o:p></span></pre>
<pre><span style="color:black">> </span><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><span style="color:black"><o:p></o:p></span></pre>
<pre><span style="color:black">>or, via email, send a message with subject or body 'help' to<o:p></o:p></span></pre>
<pre><span style="color:black">> </span><a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><span style="color:black"><o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>You can reach the person managing the list at<o:p></o:p></span></pre>
<pre><span style="color:black">> </span><a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><span style="color:black"><o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>When replying, please edit your Subject line so it is more specific<o:p></o:p></span></pre>
<pre><span style="color:black">>than "Re: Contents of CWB digest..."<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>Today's Topics:<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">> 1. Re: CQPweb does not return results but blank page<o:p></o:p></span></pre>
<pre><span style="color:black">> (Hardie, Andrew)<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>----------------------------------------------------------------------<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>Message: 1<o:p></o:p></span></pre>
<pre><span style="color:black">>Date: Sat, 16 Oct 2021 22:18:59 +0000<o:p></o:p></span></pre>
<pre><span style="color:black">>From: "Hardie, Andrew" <</span><a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a><span style="color:black">><o:p></o:p></span></pre>
<pre><span style="color:black">>To: Open source development of the Corpus WorkBench<o:p></o:p></span></pre>
<pre><span style="color:black">> <</span><a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><span style="color:black">><o:p></o:p></span></pre>
<pre><span style="color:black">>Subject: Re: [CWB] CQPweb does not return results but blank page<o:p></o:p></span></pre>
<pre><span style="color:black">>Message-ID:<o:p></o:p></span></pre>
<pre><span style="color:black">> <</span><a href="mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM">LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a><span style="color:black">><o:p></o:p></span></pre>
<pre><span style="color:black">> <o:p></o:p></span></pre>
<pre><span style="color:black">>Content-Type: text/plain; charset="iso-2022-jp"<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>Hi David,<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>in case of a blank screen, almost certainly there is an error, but it has been printed to your server log instead of to the browser.<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>there is a PHP ini setting you can adjust for this -- search for "error" in php.ini . or have a look at your log file -- if you are using Apache it will be something like /var/log/apache2/error.log<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>best<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>Andrew.<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>________________________________<o:p></o:p></span></pre>
<pre><span style="color:black">>From: </span><a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a><span style="color:black"> <</span><a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a><span style="color:black">> on behalf of ?? <</span><a href="mailto:yuyuan97@163.com">yuyuan97@163.com</a><span style="color:black">><o:p></o:p></span></pre>
<pre><span style="color:black">>Sent: Friday, October 15, 2021 2:35:29 PM<o:p></o:p></span></pre>
<pre><span style="color:black">>To: </span><a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><span style="color:black"> <</span><a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><span style="color:black">><o:p></o:p></span></pre>
<pre><span style="color:black">>Subject: [CWB] CQPweb does not return results but blank page<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>Dear All,<o:p></o:p></span></pre>
<pre><span style="color:black">>I recently installed CWB and CQPweb on a Ubuntu desktop for demo purpose. It seems that there are no glitches at all from the beginning to the end until I started query after the installation of a preindexed corpus. There was no response but a blank page, showing no errors too. The preindexed corpus was taken from my server that was taken offline. It was supposed to work well with CQPweb. I met the same problem when I tried the sample Dickens corpus. I am using CWB 3.4.33 and CQPweb 3.3.10. My corpus was indexed with an earlier version of CWB (should this be an issue?).<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>Best wishes,<o:p></o:p></span></pre>
<pre><span style="color:black">>David<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>-------------- next part --------------<o:p></o:p></span></pre>
<pre><span style="color:black">>An HTML attachment was scrubbed...<o:p></o:p></span></pre>
<pre><span style="color:black">>URL: <</span><a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html</a><span style="color:black">><o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>------------------------------<o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>_______________________________________________<o:p></o:p></span></pre>
<pre><span style="color:black">>CWB mailing list<o:p></o:p></span></pre>
<pre><span style="color:black">></span><a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><span style="color:black"><o:p></o:p></span></pre>
<pre><span style="color:black">></span><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><span style="color:black"><o:p></o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">><o:p> </o:p></span></pre>
<pre><span style="color:black">>End of CWB Digest, Vol 175, Issue 2<o:p></o:p></span></pre>
<pre><span style="color:black">>***********************************<o:p></o:p></span></pre>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<p> <o:p></o:p></p>
</div>
</div>
</body>
</html>