<div dir="ltr"><div dir="ltr">Hi David,<div><br></div><div>Have you also enabled the mbstring extension in the server?</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 20 Oct 2021 at 11:03, Yu Yuan <<a href="mailto:yuyuan97@163.com">yuyuan97@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="font-family:微软雅黑,Verdana,"Microsoft Yahei",SimSun,sans-serif;font-size:14px;line-height:1.6">
<div></div><div>
<div>Hi Andrew,</div><div>The same error persists despite that I have installed php-mbstring and regenerated the builtin mapping table. It won't go away :(.</div><div><br></div><div>Best,</div><div>David</div><div id="gmail-m_849312126375083435ntes-pcmac-signature" style="font-family:微软雅黑"><div style="font-size:14px;padding:0px;margin:0px">
</div>
</div>
</div><div style="background-color:rgb(242,242,242);color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:微软雅黑">
<div style="font-size:12px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On <span>10/20/2021 09:04</span>,<a style="text-decoration:none;color:rgb(42,131,242)" href="mailto:cwb-request@sslmit.unibo.it" target="_blank"><cwb-request@sslmit.unibo.it></a> wrote: </div>
</div>
<blockquote id="gmail-m_849312126375083435ntes-pcmail-quote" style="margin:0px;padding:0px;font-size:14px;font-family:微软雅黑">
Send CWB mailing list submissions to<br>        <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>        <a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>or, via email, send a message with subject or body 'help' to<br>        <a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><br><br>You can reach the person managing the list at<br>        <a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of CWB digest..."<br><br><br>Today's Topics:<br><br> 1. Re: CQPweb does not return results but blank page<br> (Hardie, Andrew)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 20 Oct 2021 08:03:52 +0000<br>From: "Hardie, Andrew" <<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>><br>To: Open source development of the Corpus WorkBench<br>        <<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>><br>Subject: Re: [CWB] CQPweb does not return results but blank page<br>Message-ID:<br>        <<a href="mailto:LO4P265MB3485EA9A86813401E119B51FCBBE9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB3485EA9A86813401E119B51FCBBE9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a>><br>        <br>Content-Type: text/plain; charset="us-ascii"<br><br>That's a different issue. This problem is that you don't have the mbstring extension installed in PHP, but you need it! If you install the php-mbstring package and try again, that will deal with that issue.<br><br>If you then get the earlier error again, here's something that may well fix it: go into the admin control panel, to the mapping tables option, and regenerate the built-in mapping tables.<br><br>best<br><br>Andrew.<br><br>From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> <<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>> On Behalf Of Yu Yuan<br>Sent: 20 October 2021 08:33<br>To: <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><br>Subject: [External] Re: [CWB] CQPweb does not return results but blank page<br><br><br><br>Hi, Andrew,<br>Yes, I did. I changed this setting at managing annotation but it remains ineffective in the CQP syntax mode. I got the following error prompt:<br>************************************<br>[Wed Oct 20 15:22:33.618213 2021] [php7:error] [pid 186581] [client <a href="http://127.0.0.1:45324" target="_blank">127.0.0.1:45324</a>] PHP Fatal error: 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->print_query_search_term()\n#2 /var/www/html/nuist/exe/concordance.php(1): require('/var/www/html/n...')\n#3 {main}\n thrown in /var/www/html/nuist/lib/general-lib.php on line 709, referer: <a href="http://localhost/nuist/ciiss_en/" target="_blank">http://localhost/nuist/ciiss_en/</a><br>************************************<br>Many thanks and best wishes,<br>David<br><br><br><br><br><br><br>At 2021-10-18 10:01:24, <a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>> wrote:<br><br><blockquote>Send CWB mailing list submissions to<br></blockquote><br> <blockquote><a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>><br></blockquote><br><blockquote><br></blockquote><br><blockquote>To subscribe or unsubscribe via the World Wide Web, visit<br></blockquote><br> <blockquote><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br></blockquote><br><blockquote>or, via email, send a message with subject or body 'help' to<br></blockquote><br> <blockquote><a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>><br></blockquote><br><blockquote><br></blockquote><br><blockquote>You can reach the person managing the list at<br></blockquote><br> <blockquote><a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a>><br></blockquote><br><blockquote><br></blockquote><br><blockquote>When replying, please edit your Subject line so it is more specific<br></blockquote><br><blockquote>than "Re: Contents of CWB digest..."<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>Today's Topics:<br></blockquote><br><blockquote><br></blockquote><br> <blockquote>1. Re: CQPweb does not return results but blank page (Yu Yuan)<br></blockquote><br> <blockquote>2. Re: CQPweb does not return results but blank page<br></blockquote><br> <blockquote>(Hardie, Andrew)<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>----------------------------------------------------------------------<br></blockquote><br><blockquote><br></blockquote><br><blockquote>Message: 1<br></blockquote><br><blockquote>Date: Mon, 18 Oct 2021 08:58:41 +0800 (CST)<br></blockquote><br><blockquote>From: "Yu Yuan" <<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a><mailto:<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a>>><br></blockquote><br><blockquote>To: "<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>>" <<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>>><br></blockquote><br><blockquote>Subject: Re: [CWB] CQPweb does not return results but blank page<br></blockquote><br><blockquote>Message-ID: <<a href="mailto:460c8698.695.17c90e863a8.Coremail.yuyuan97@163.com" target="_blank">460c8698.695.17c90e863a8.Coremail.yuyuan97@163.com</a><mailto:<a href="mailto:460c8698.695.17c90e863a8.Coremail.yuyuan97@163.com" target="_blank">460c8698.695.17c90e863a8.Coremail.yuyuan97@163.com</a>>><br></blockquote><br><blockquote>Content-Type: text/plain; charset="gbk"<br></blockquote><br><blockquote><br></blockquote><br><blockquote>Hi, Andrew,<br></blockquote><br><blockquote>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:<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>***************************************<br></blockquote><br><blockquote>[Mon Oct 18 08:47:13.623391 2021] [php7:error] [pid 142109] [client <a href="http://127.0.0.1:35296" target="_blank">127.0.0.1:35296</a>] 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: <a href="http://localhost/nuist/ciiss_en/" target="_blank">http://localhost/nuist/ciiss_en/</a><br></blockquote><br><blockquote><br></blockquote><br><blockquote>***************************************<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>Best wishes,<br></blockquote><br><blockquote>David<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>At 2021-10-17 18:00:01, <a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>> wrote:<br></blockquote><br><blockquote><blockquote>Send CWB mailing list submissions to<br></blockquote></blockquote><br> <blockquote><blockquote><a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>To subscribe or unsubscribe via the World Wide Web, visit<br></blockquote></blockquote><br> <blockquote><blockquote><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br></blockquote></blockquote><br><blockquote><blockquote>or, via email, send a message with subject or body 'help' to<br></blockquote></blockquote><br> <blockquote><blockquote><a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>You can reach the person managing the list at<br></blockquote></blockquote><br> <blockquote><blockquote><a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a>><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>When replying, please edit your Subject line so it is more specific<br></blockquote></blockquote><br><blockquote><blockquote>than "Re: Contents of CWB digest..."<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Today's Topics:<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br> <blockquote><blockquote>1. Re: CQPweb does not return results but blank page<br></blockquote></blockquote><br> <blockquote><blockquote>(Hardie, Andrew)<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>----------------------------------------------------------------------<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Message: 1<br></blockquote></blockquote><br><blockquote><blockquote>Date: Sat, 16 Oct 2021 22:18:59 +0000<br></blockquote></blockquote><br><blockquote><blockquote>From: "Hardie, Andrew" <<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a><mailto:<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>>><br></blockquote></blockquote><br><blockquote><blockquote>To: Open source development of the Corpus WorkBench<br></blockquote></blockquote><br> <blockquote><blockquote><<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>>><br></blockquote></blockquote><br><blockquote><blockquote>Subject: Re: [CWB] CQPweb does not return results but blank page<br></blockquote></blockquote><br><blockquote><blockquote>Message-ID:<br></blockquote></blockquote><br> <blockquote><blockquote><<a href="mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a><mailto:<a href="mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a>>><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Content-Type: text/plain; charset="iso-2022-jp"<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Hi David,<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>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.<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>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<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>best<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Andrew.<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>________________________________<br></blockquote></blockquote><br><blockquote><blockquote>From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>> <<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>>> on behalf of ?? <<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a><mailto:<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a>>><br></blockquote></blockquote><br><blockquote><blockquote>Sent: Friday, October 15, 2021 2:35:29 PM<br></blockquote></blockquote><br><blockquote><blockquote>To: <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>> <<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>>><br></blockquote></blockquote><br><blockquote><blockquote>Subject: [CWB] CQPweb does not return results but blank page<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Dear All,<br></blockquote></blockquote><br><blockquote><blockquote>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?).<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>Best wishes,<br></blockquote></blockquote><br><blockquote><blockquote>David<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>-------------- next part --------------<br></blockquote></blockquote><br><blockquote><blockquote>An HTML attachment was scrubbed...<br></blockquote></blockquote><br><blockquote><blockquote>URL: <<a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html" target="_blank">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html</a>><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>------------------------------<br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>_______________________________________________<br></blockquote></blockquote><br><blockquote><blockquote>CWB mailing list<br></blockquote></blockquote><br><blockquote><blockquote><a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><mailto:<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a>><br></blockquote></blockquote><br><blockquote><blockquote><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><blockquote>End of CWB Digest, Vol 175, Issue 2<br></blockquote></blockquote><br><blockquote><blockquote>***********************************<br></blockquote></blockquote><br><blockquote>-------------- next part --------------<br></blockquote><br><blockquote>An HTML attachment was scrubbed...<br></blockquote><br><blockquote>URL: <<a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211018/3550af60/attachment-0001.html" target="_blank">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211018/3550af60/attachment-0001.html</a>><br></blockquote><br><blockquote><br></blockquote><br><blockquote>------------------------------<br></blockquote><br><blockquote><br></blockquote><br><blockquote>Message: 2<br></blockquote><br><blockquote>Date: Mon, 18 Oct 2021 02:01:16 +0000<br></blockquote><br><blockquote>From: "Hardie, Andrew" <<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a><mailto:<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>>><br></blockquote><br><blockquote>To: Open source development of the Corpus WorkBench<br></blockquote><br> <blockquote><<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>>><br></blockquote><br><blockquote>Subject: Re: [CWB] CQPweb does not return results but blank page<br></blockquote><br><blockquote>Message-ID:<br></blockquote><br> <blockquote><<a href="mailto:LO4P265MB3485E5E396F265C0DEC7133CCBBC9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB3485E5E396F265C0DEC7133CCBBC9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a><mailto:<a href="mailto:LO4P265MB3485E5E396F265C0DEC7133CCBBC9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB3485E5E396F265C0DEC7133CCBBC9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a>>><br></blockquote><br><blockquote><br></blockquote><br><blockquote>Content-Type: text/plain; charset="us-ascii"<br></blockquote><br><blockquote><br></blockquote><br><blockquote>Hi David,<br></blockquote><br><blockquote><br></blockquote><br><blockquote>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.<br></blockquote><br><blockquote><br></blockquote><br><blockquote>To test this, try doing a query in "CQP syntax" mode. If I'm correct, it will work fine.<br></blockquote><br><blockquote><br></blockquote><br><blockquote>best<br></blockquote><br><blockquote><br></blockquote><br><blockquote>Andrew.<br></blockquote><br><blockquote><br></blockquote><br><blockquote>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.<br></blockquote><br><blockquote><br></blockquote><br><blockquote>From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>> <<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>>> On Behalf Of Yu Yuan<br></blockquote><br><blockquote>Sent: 18 October 2021 01:59<br></blockquote><br><blockquote>To: <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>><br></blockquote><br><blockquote>Subject: Re: [CWB] CQPweb does not return results but blank page<br></blockquote><br><blockquote><br></blockquote><br><blockquote>Hi, Andrew,<br></blockquote><br><blockquote>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:<br></blockquote><br><blockquote><br></blockquote><br><blockquote>***************************************<br></blockquote><br><blockquote>[Mon Oct 18 08:47:13.623391 2021] [php7:error] [pid 142109] [client <a href="http://127.0.0.1:35296" target="_blank">127.0.0.1:35296</a>] 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: <a href="http://localhost/nuist/ciiss_en/" target="_blank">http://localhost/nuist/ciiss_en/</a><br></blockquote><br><blockquote>***************************************<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>Best wishes,<br></blockquote><br><blockquote>David<br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>At 2021-10-17 18:00:01, <a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb-request@sslmit.unibo.it" target="_blank">3cmailto:cwb-request@sslmit.unibo.it</a>>> wrote:<br></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Send CWB mailing list submissions to<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote><a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb@sslmit.unibo.it" target="_blank">3cmailto:cwb@sslmit.unibo.it</a>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>To subscribe or unsubscribe via the World Wide Web, visit<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>or, via email, send a message with subject or body 'help' to<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote><a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb-request@sslmit.unibo.it" target="_blank">3cmailto:cwb-request@sslmit.unibo.it</a>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>You can reach the person managing the list at<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote><a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb-owner@sslmit.unibo.it" target="_blank">3cmailto:cwb-owner@sslmit.unibo.it</a>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>When replying, please edit your Subject line so it is more specific<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>than "Re: Contents of CWB digest..."<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Today's Topics:<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote>1. Re: CQPweb does not return results but blank page<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote>(Hardie, Andrew)<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>----------------------------------------------------------------------<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Message: 1<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Date: Sat, 16 Oct 2021 22:18:59 +0000<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>From: "Hardie, Andrew" <<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a><mailto:<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a><mailto:<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>%<a href="mailto:3cmailto%3Aa.hardie@lancaster.ac.uk" target="_blank">3cmailto:a.hardie@lancaster.ac.uk</a>>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>To: Open source development of the Corpus WorkBench<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote><<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb@sslmit.unibo.it" target="_blank">3cmailto:cwb@sslmit.unibo.it</a>>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Subject: Re: [CWB] CQPweb does not return results but blank page<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Message-ID:<br></blockquote></blockquote><br><blockquote><br></blockquote><br> <blockquote><blockquote><<a href="mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a><mailto:<a href="mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a><mailto:<a href="mailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a>%<a href="mailto:3cmailto%3ALO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM" target="_blank">3cmailto:LO4P265MB34856FD450732BBEFE2CB297CBBA9@LO4P265MB3485.GBRP265.PROD.OUTLOOK.COM</a>>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Content-Type: text/plain; charset="iso-2022-jp"<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Hi David,<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>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.<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>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<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>best<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Andrew.<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>________________________________<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb-bounces@sslmit.unibo.it" target="_blank">3cmailto:cwb-bounces@sslmit.unibo.it</a>>> <<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a><mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb-bounces@sslmit.unibo.it" target="_blank">3cmailto:cwb-bounces@sslmit.unibo.it</a>>>> on behalf of ?? <<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a><mailto:<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a><mailto:<a href="mailto:yuyuan97@163.com" target="_blank">yuyuan97@163.com</a>%<a href="mailto:3cmailto%3Ayuyuan97@163.com" target="_blank">3cmailto:yuyuan97@163.com</a>>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Sent: Friday, October 15, 2021 2:35:29 PM<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>To: <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb@sslmit.unibo.it" target="_blank">3cmailto:cwb@sslmit.unibo.it</a>>> <<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><mailto:<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3Acwb@sslmit.unibo.it" target="_blank">3cmailto:cwb@sslmit.unibo.it</a>>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Subject: [CWB] CQPweb does not return results but blank page<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Dear All,<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>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?).<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>Best wishes,<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>David<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>-------------- next part --------------<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>An HTML attachment was scrubbed...<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>URL: <<a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html" target="_blank">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211016/45397858/attachment-0001.html</a>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>------------------------------<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>_______________________________________________<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>CWB mailing list<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><mailto:<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><mailto:<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a>%<a href="mailto:3cmailto%3ACWB@sslmit.unibo.it" target="_blank">3cmailto:CWB@sslmit.unibo.it</a>>><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote><br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>End of CWB Digest, Vol 175, Issue 2<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><blockquote>***********************************<br></blockquote></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>-------------- next part --------------<br></blockquote><br><blockquote>An HTML attachment was scrubbed...<br></blockquote><br><blockquote>URL: <<a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211018/e0a17f7a/attachment.html" target="_blank">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211018/e0a17f7a/attachment.html</a>><br></blockquote><br><blockquote><br></blockquote><br><blockquote>------------------------------<br></blockquote><br><blockquote><br></blockquote><br><blockquote>_______________________________________________<br></blockquote><br><blockquote>CWB mailing list<br></blockquote><br><blockquote><a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><mailto:<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a>><br></blockquote><br><blockquote><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br></blockquote><br><blockquote><br></blockquote><br><blockquote><br></blockquote><br><blockquote>End of CWB Digest, Vol 175, Issue 3<br></blockquote><br><blockquote>***********************************<br></blockquote><br><br><br><br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211020/2014e5ba/attachment.html" target="_blank">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20211020/2014e5ba/attachment.html</a>><br><br>------------------------------<br><br>_______________________________________________<br>CWB mailing list<br><a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br><a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br><br><br>End of CWB Digest, Vol 175, Issue 5<br>***********************************<br></blockquote>
</div>
</div>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
</blockquote></div>