<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin: 0;"><br></p><div style="margin: 0;">Hi, Andrew,</div><div style="margin: 0;">Yes, I did. I changed this setting at&nbsp; managing annotation but it remains ineffective in the CQP syntax mode. I got the following error prompt:</div><div style="margin: 0;">************************************</div><div style="margin: 0;">[Wed Oct 20 15:22:33.618213 2021] [php7:error] [pid 186581] [client 127.0.0.1:45324] PHP Fatal error:&nbsp; Uncaught Error: Call to undefined function mb_strlen() in /var/www/html/nuist/lib/general-lib.php:709\nStack trace:\n#0 /var/www/html/nuist/lib/cache-lib.php(1644): utf8_strlen()\n#1 /var/www/html/nuist/lib/concordance-ui.php(599): QueryRecord-&gt;print_query_search_term()\n#2 /var/www/html/nuist/exe/concordance.php(1): require('/var/www/html/n...')\n#3 {main}\n&nbsp; thrown in /var/www/html/nuist/lib/general-lib.php on line 709, referer: http://localhost/nuist/ciiss_en/<br></div><div style="margin: 0;">************************************</div><div style="margin: 0;">Many thanks and best wishes,</div><div style="margin: 0;">David<br></div><p style="margin: 0;"><br></p><br><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><pre><br>At 2021-10-18 10:01:24, cwb-request@sslmit.unibo.it wrote:
&gt;Send CWB mailing list submissions to
&gt;        cwb@sslmit.unibo.it
&gt;
&gt;To subscribe or unsubscribe via the World Wide Web, visit
&gt;        http://liste.sslmit.unibo.it/mailman/listinfo/cwb
&gt;or, via email, send a message with subject or body 'help' to
&gt;        cwb-request@sslmit.unibo.it
&gt;
&gt;You can reach the person managing the list at
&gt;        cwb-owner@sslmit.unibo.it
&gt;
&gt;When replying, please edit your Subject line so it is more specific
&gt;than "Re: Contents of CWB digest..."
&gt;
&gt;
&gt;Today's Topics:
&gt;
&gt;   1. Re: CQPweb does not return results but blank  page (Yu Yuan)
&gt;   2. Re: CQPweb does not return results but blank  page
&gt;      (Hardie, Andrew)
&gt;
&gt;
&gt;----------------------------------------------------------------------
&gt;
&gt;Message: 1
&gt;Date: Mon, 18 Oct 2021 08:58:41 +0800 (CST)
&gt;From: "Yu Yuan" &lt;yuyuan97@163.com&gt;
&gt;To: "cwb@sslmit.unibo.it" &lt;cwb@sslmit.unibo.it&gt;
&gt;Subject: Re: [CWB] CQPweb does not return results but blank  page
&gt;Message-ID: &lt;460c8698.695.17c90e863a8.Coremail.yuyuan97@163.com&gt;
&gt;Content-Type: text/plain; charset="gbk"
&gt;
&gt;Hi, Andrew,
&gt;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:
&gt;
&gt;
&gt;***************************************
&gt;[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: http://localhost/nuist/ciiss_en/
&gt;
&gt;***************************************
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;Best wishes,
&gt;David
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;At 2021-10-17 18:00:01, cwb-request@sslmit.unibo.it wrote:
&gt;&gt;Send CWB mailing list submissions to
&gt;&gt;        cwb@sslmit.unibo.it
&gt;&gt;
&gt;&gt;To subscribe or unsubscribe via the World Wide Web, visit
&gt;&gt;        http://liste.sslmit.unibo.it/mailman/listinfo/cwb
&gt;&gt;or, via email, send a message with subject or body 'help' to
&gt;&gt;        cwb-request@sslmit.unibo.it
&gt;&gt;
&gt;&gt;You can reach the person managing the list at
&gt;&gt;        cwb-owner@sslmit.unibo.it
&gt;&gt;
&gt;&gt;When replying, please edit your Subject line so it is more specific
&gt;&gt;than "Re: Contents of CWB digest..."
&gt;&gt;
&gt;&gt;
&gt;&gt;Today's Topics:
&gt;&gt;
&gt;&gt;   1. Re: CQPweb does not return results but blank  page
&gt;&gt;      (Hardie, Andrew)
&gt;&gt;
&gt;&gt;
&gt;&gt;----------------------------------------------------------------------
&gt;&gt;
&gt;&gt;Message: 1
&gt;&gt;Date: Sat, 16 Oct 2021 22:18:59 +0000
&gt;&gt;From: "Hardie, Andrew" &lt;a.hardie@lancaster.ac.uk&gt;
&gt;&gt;To: Open source development of the Corpus WorkBench
&gt;&gt;        &lt;cwb@sslmit.unibo.it&gt;
&gt;&gt;Subject: Re: [CWB] CQPweb does not return results but blank  page
&gt;&gt;Message-ID:
&gt;&gt;        &lt;LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM&gt;
&gt;&gt;        
&gt;&gt;Content-Type: text/plain; charset="iso-2022-jp"
&gt;&gt;
&gt;&gt;Hi David,
&gt;&gt;
&gt;&gt;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.
&gt;&gt;
&gt;&gt;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
&gt;&gt;
&gt;&gt;best
&gt;&gt;
&gt;&gt;Andrew.
&gt;&gt;
&gt;&gt;________________________________
&gt;&gt;From: cwb-bounces@sslmit.unibo.it &lt;cwb-bounces@sslmit.unibo.it&gt; on behalf of ?? &lt;yuyuan97@163.com&gt;
&gt;&gt;Sent: Friday, October 15, 2021 2:35:29 PM
&gt;&gt;To: cwb@sslmit.unibo.it &lt;cwb@sslmit.unibo.it&gt;
&gt;&gt;Subject: [CWB] CQPweb does not return results but blank page
&gt;&gt;
&gt;&gt;Dear All,
&gt;&gt;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?).
&gt;&gt;
&gt;&gt;Best wishes,
&gt;&gt;David
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;-------------- next part --------------
&gt;&gt;An HTML attachment was scrubbed...
&gt;&gt;URL: &lt;http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html&gt;
&gt;&gt;
&gt;&gt;------------------------------
&gt;&gt;
&gt;&gt;_______________________________________________
&gt;&gt;CWB mailing list
&gt;&gt;CWB@sslmit.unibo.it
&gt;&gt;http://liste.sslmit.unibo.it/mailman/listinfo/cwb
&gt;&gt;
&gt;&gt;
&gt;&gt;End of CWB Digest, Vol 175, Issue 2
&gt;&gt;***********************************
&gt;-------------- next part --------------
&gt;An HTML attachment was scrubbed...
&gt;URL: &lt;http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211018/3550af60/attachment-0001.html&gt;
&gt;
&gt;------------------------------
&gt;
&gt;Message: 2
&gt;Date: Mon, 18 Oct 2021 02:01:16 +0000
&gt;From: "Hardie, Andrew" &lt;a.hardie@lancaster.ac.uk&gt;
&gt;To: Open source development of the Corpus WorkBench
&gt;        &lt;cwb@sslmit.unibo.it&gt;
&gt;Subject: Re: [CWB] CQPweb does not return results but blank  page
&gt;Message-ID:
&gt;        &lt;LO4P265MB3485E5E396F265C0DEC7133CCBBC9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM&gt;
&gt;        
&gt;Content-Type: text/plain; charset="us-ascii"
&gt;
&gt;Hi David,
&gt;
&gt;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.
&gt;
&gt;To test this, try doing a query in "CQP syntax" mode. If I'm correct, it will work fine.
&gt;
&gt;best
&gt;
&gt;Andrew.
&gt;
&gt;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.
&gt;
&gt;From: cwb-bounces@sslmit.unibo.it &lt;cwb-bounces@sslmit.unibo.it&gt; On Behalf Of Yu Yuan
&gt;Sent: 18 October 2021 01:59
&gt;To: cwb@sslmit.unibo.it
&gt;Subject: Re: [CWB] CQPweb does not return results but blank page
&gt;
&gt;Hi, Andrew,
&gt;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:
&gt;
&gt;***************************************
&gt;[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: http://localhost/nuist/ciiss_en/
&gt;***************************************
&gt;
&gt;
&gt;Best wishes,
&gt;David
&gt;
&gt;
&gt;
&gt;
&gt;At 2021-10-17 18:00:01, cwb-request@sslmit.unibo.it&lt;mailto:cwb-request@sslmit.unibo.it&gt; wrote:
&gt;
&gt;&gt;Send CWB mailing list submissions to
&gt;
&gt;&gt;       cwb@sslmit.unibo.it&lt;mailto:cwb@sslmit.unibo.it&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;To subscribe or unsubscribe via the World Wide Web, visit
&gt;
&gt;&gt;       http://liste.sslmit.unibo.it/mailman/listinfo/cwb
&gt;
&gt;&gt;or, via email, send a message with subject or body 'help' to
&gt;
&gt;&gt;       cwb-request@sslmit.unibo.it&lt;mailto:cwb-request@sslmit.unibo.it&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;You can reach the person managing the list at
&gt;
&gt;&gt;       cwb-owner@sslmit.unibo.it&lt;mailto:cwb-owner@sslmit.unibo.it&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;When replying, please edit your Subject line so it is more specific
&gt;
&gt;&gt;than "Re: Contents of CWB digest..."
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;Today's Topics:
&gt;
&gt;&gt;
&gt;
&gt;&gt;   1. Re: CQPweb does not return results but blank  page
&gt;
&gt;&gt;      (Hardie, Andrew)
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;----------------------------------------------------------------------
&gt;
&gt;&gt;
&gt;
&gt;&gt;Message: 1
&gt;
&gt;&gt;Date: Sat, 16 Oct 2021 22:18:59 +0000
&gt;
&gt;&gt;From: "Hardie, Andrew" &lt;a.hardie@lancaster.ac.uk&lt;mailto:a.hardie@lancaster.ac.uk&gt;&gt;
&gt;
&gt;&gt;To: Open source development of the Corpus WorkBench
&gt;
&gt;&gt;       &lt;cwb@sslmit.unibo.it&lt;mailto:cwb@sslmit.unibo.it&gt;&gt;
&gt;
&gt;&gt;Subject: Re: [CWB] CQPweb does not return results but blank  page
&gt;
&gt;&gt;Message-ID:
&gt;
&gt;&gt;       &lt;LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM&lt;mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;Content-Type: text/plain; charset="iso-2022-jp"
&gt;
&gt;&gt;
&gt;
&gt;&gt;Hi David,
&gt;
&gt;&gt;
&gt;
&gt;&gt;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.
&gt;
&gt;&gt;
&gt;
&gt;&gt;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
&gt;
&gt;&gt;
&gt;
&gt;&gt;best
&gt;
&gt;&gt;
&gt;
&gt;&gt;Andrew.
&gt;
&gt;&gt;
&gt;
&gt;&gt;________________________________
&gt;
&gt;&gt;From: cwb-bounces@sslmit.unibo.it&lt;mailto:cwb-bounces@sslmit.unibo.it&gt; &lt;cwb-bounces@sslmit.unibo.it&lt;mailto:cwb-bounces@sslmit.unibo.it&gt;&gt; on behalf of ?? &lt;yuyuan97@163.com&lt;mailto:yuyuan97@163.com&gt;&gt;
&gt;
&gt;&gt;Sent: Friday, October 15, 2021 2:35:29 PM
&gt;
&gt;&gt;To: cwb@sslmit.unibo.it&lt;mailto:cwb@sslmit.unibo.it&gt; &lt;cwb@sslmit.unibo.it&lt;mailto:cwb@sslmit.unibo.it&gt;&gt;
&gt;
&gt;&gt;Subject: [CWB] CQPweb does not return results but blank page
&gt;
&gt;&gt;
&gt;
&gt;&gt;Dear All,
&gt;
&gt;&gt;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?).
&gt;
&gt;&gt;
&gt;
&gt;&gt;Best wishes,
&gt;
&gt;&gt;David
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;-------------- next part --------------
&gt;
&gt;&gt;An HTML attachment was scrubbed...
&gt;
&gt;&gt;URL: &lt;http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;------------------------------
&gt;
&gt;&gt;
&gt;
&gt;&gt;_______________________________________________
&gt;
&gt;&gt;CWB mailing list
&gt;
&gt;&gt;CWB@sslmit.unibo.it&lt;mailto:CWB@sslmit.unibo.it&gt;
&gt;
&gt;&gt;http://liste.sslmit.unibo.it/mailman/listinfo/cwb
&gt;
&gt;&gt;
&gt;
&gt;&gt;
&gt;
&gt;&gt;End of CWB Digest, Vol 175, Issue 2
&gt;
&gt;&gt;***********************************
&gt;
&gt;
&gt;
&gt;
&gt;
&gt;-------------- next part --------------
&gt;An HTML attachment was scrubbed...
&gt;URL: &lt;http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211018/e0a17f7a/attachment.html&gt;
&gt;
&gt;------------------------------
&gt;
&gt;_______________________________________________
&gt;CWB mailing list
&gt;CWB@sslmit.unibo.it
&gt;http://liste.sslmit.unibo.it/mailman/listinfo/cwb
&gt;
&gt;
&gt;End of CWB Digest, Vol 175, Issue 3
&gt;***********************************
</pre></div><br><br><span title="neteasefooter"><p>&nbsp;</p></span>