<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@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:"\@MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        mso-fareast-language:EN-GB;}
span.m3969953063457349663m-7218544763997407141k
        {mso-style-name:m_3969953063457349663m-7218544763997407141k;}
span.m3969953063457349663m-7218544763997407141nf
        {mso-style-name:m_3969953063457349663m-7218544763997407141nf;}
span.m3969953063457349663m-7218544763997407141p
        {mso-style-name:m_3969953063457349663m-7218544763997407141p;}
span.m3969953063457349663m-7218544763997407141nv
        {mso-style-name:m_3969953063457349663m-7218544763997407141nv;}
span.m3969953063457349663m-7218544763997407141o
        {mso-style-name:m_3969953063457349663m-7218544763997407141o;}
span.m3969953063457349663m-7218544763997407141nx
        {mso-style-name:m_3969953063457349663m-7218544763997407141nx;}
span.m3969953063457349663m-7218544763997407141s2
        {mso-style-name:m_3969953063457349663m-7218544763997407141s2;}
span.m3969953063457349663m-7218544763997407141si
        {mso-style-name:m_3969953063457349663m-7218544763997407141si;}
span.m3969953063457349663m-7218544763997407141nb
        {mso-style-name:m_3969953063457349663m-7218544763997407141nb;}
span.EmailStyle30
        {mso-style-type:personal-reply;
        font-family:"Verdana",sans-serif;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@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">
<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, this one has taken a while to work out.<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">There are two distinct errors here (repeated in the log). Each affects a stage in frequency list setup such that all subsequent phases
 fail. Here’s the first:<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" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">[Mon Jun 25 04:56:37.677126 2018] [core:notice] [pid 1397] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">Problem: No output generated -- no items?<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">/var/cqpweb/index/canton1__freq/__freq.hcd: No such file or directory<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">ERROR: reading /var/cqpweb/index/canton1__freq/__freq.hcd failed. Aborted.<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">This means that the encoding of the CWB frequency data has failed. Possible cause: www-data doesn’t have write permission for your
 data directory. OR, the encoding / indexing of the original corpus failed. Check the contents of your “/var/cqpweb/index” folder to find out which!<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">(You can also look at the “indexing_notes” column in the corpus_info table in the MySQL database for possible errors.)<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">And here’s the other error:<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"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">::1 - - [25/Jun/2018:05:03:20 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y
 HTTP/1.1&quot; 500 185 &quot;http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">[Mon Jun 25 05:03:20.068066 2018] [:error] [pid 2262] [client ::1:43456]
<b>PHP Fatal error:&nbsp; Call to undefined method CQP::get_corpus_tokens()</b> in /var/www/html/cqpweb/lib/metadata.inc.php on line 418, referer: http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y<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">This suggests that some of your code files are out of sync. The function get_corpus_tokens() IS in the CQP object
<i>if</i> it is at the same version as the other code files. &nbsp;try updating just cqp.inc.php to the latest version.<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">Generally – to &nbsp;be clearer about what stage the error occurs at, try running the commandline script for frequency list setup. This
 will print the error messages (plus progress info) direct to the terminal. This ought to be easier to diagnose than the Aapche error log.
<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">Alternatively, edit your PHP config file to contain the line<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" style="text-indent:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D;mso-fareast-language:EN-US">display_errors = On<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">which will send error messages &nbsp;to the browser, instead of the apache log.<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">hope this helps<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>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>Hermann Lai<br>
<b>Sent:</b> 04 July 2018 19:57<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;cwb@sslmit.unibo.it&gt;<br>
<b>Subject:</b> Re: [CWB] Incorrect total words count in a Traditional Chinese corpus on CQPweb<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Sorry for late reply.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">These logs are in&nbsp;/var/log/apache2<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">error.log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:37.677092 2018] [mpm_prefork:notice] [pid 1397] AH00163: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:37.677126 2018] [core:notice] [pid 1397] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Problem: No output generated -- no items?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/var/cqpweb/index/canton1__freq/__freq.hcd: No such file or directory<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ERROR: reading /var/cqpweb/index/canton1__freq/__freq.hcd failed. Aborted.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:35.306755 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:35.306961 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:35.306975 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:35.307085 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:35.307196 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:39.142641 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y">
http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:39.142845 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y">
http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:39.142860 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y">
http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:02:39.143014 2018] [:error] [pid 2258] [client ::1:43448] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y">
http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:03:05.137906 2018] [:error] [pid 2261] [client ::1:43454] PHP Notice:&nbsp; Undefined variable: primary_classification in /var/www/html/cqpweb/lib/metadata-admin.inc.php on line 134, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:03:11.973121 2018] [:error] [pid 2261] [client ::1:43454] PHP Fatal error:&nbsp; Call to undefined method CQP::get_corpus_tokens() in /var/www/html/cqpweb/lib/metadata.inc.php on line 418, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Problem: No output generated -- no items?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/var/cqpweb/index/canton1__freq/__freq.hcd: No such file or directory<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ERROR: reading /var/cqpweb/index/canton1__freq/__freq.hcd failed. Aborted.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:03:20.068066 2018] [:error] [pid 2262] [client ::1:43456] PHP Fatal error:&nbsp; Call to undefined method CQP::get_corpus_tokens() in /var/www/html/cqpweb/lib/metadata.inc.php on line 418, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 05:03:37.731910 2018] [:error] [pid 2259] [client ::1:43460] PHP Fatal error:&nbsp; Call to undefined method CQP::get_corpus_tokens() in /var/www/html/cqpweb/lib/metadata.inc.php on line 418, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Wed Jul 04 19:46:02.460824 2018] [mpm_prefork:notice] [pid 1413] AH00163: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Wed Jul 04 19:46:02.476985 2018] [core:notice] [pid 1413] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">error.log.1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">[Sun Jun 24 10:59:49.540267 2018] [mpm_prefork:notice] [pid 1415] AH00163: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Sun Jun 24 10:59:49.540300 2018] [core:notice] [pid 1415] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Sun Jun 24 19:20:47.348163 2018] [mpm_prefork:notice] [pid 1442] AH00163: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Sun Jun 24 19:20:47.383451 2018] [core:notice] [pid 1442] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Sun Jun 24 19:29:43.586913 2018] [:error] [pid 1470] [client ::1:45934] PHP Notice:&nbsp; Undefined variable: primary_classification in /var/www/html/cqpweb/lib/metadata-admin.inc.php on line 134, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Problem: No output generated -- no items?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">/var/cqpweb/index/canton1__freq/__freq.hcd: No such file or directory<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ERROR: reading /var/cqpweb/index/canton1__freq/__freq.hcd failed. Aborted.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Sun Jun 24 20:01:54.009133 2018] [mpm_prefork:notice] [pid 1671] AH00163: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Sun Jun 24 20:01:54.026868 2018] [core:notice] [pid 1671] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:37:37.219278 2018] [mpm_prefork:notice] [pid 1397] AH00163: Apache/2.4.12 (Ubuntu) configured -- resuming normal operations<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:37:37.312244 2018] [core:notice] [pid 1397] AH00094: Command line: '/usr/sbin/apache2'<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:09.637419 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined property: CQPwebEnvConfig::$rss_feed_available in /var/www/html/cqpweb/lib/library.inc.php on line 1307, referer:
<a href="http://localhost/">http://localhost/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:13.821643 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:13.821844 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:13.821860 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:13.821972 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:13.822084 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined variable: visible_options in /var/www/html/cqpweb/lib/indexforms-adminhome.inc.php on line 102, referer:
<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:16.759475 2018] [:error] [pid 1426] [client ::1:43414] PHP Notice:&nbsp; Undefined property: CQPwebEnvConfig::$rss_feed_available in /var/www/html/cqpweb/lib/library.inc.php on line 1307, referer:
<a href="http://localhost/cqpweb/adm/">http://localhost/cqpweb/adm/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:27.389770 2018] [:error] [pid 1426] [client ::1:43414] PHP Fatal error:&nbsp; Call to undefined method CQP::get_corpus_tokens() in /var/www/html/cqpweb/lib/metadata.inc.php on line 418, referer:
<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[Mon Jun 25 04:56:37.643089 2018] [mpm_prefork:notice] [pid 1397] AH00171: Graceful restart requested, doing restart<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">access.log<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:16 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=make_cwb_freq_index&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 286 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:17 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2636 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:18 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=corpus_make_freqtables&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:18 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2636 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:22 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y HTTP/1.1&quot; 200 2144 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:52 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 2522 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:58:59 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2637 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:35 &#43;0100] &quot;GET /cqpweb/adm/ HTTP/1.1&quot; 200 2665 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot; &quot;Mozilla/5.0
 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:36 &#43;0100] &quot;GET /cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y HTTP/1.1&quot; 200 1848 &quot;<a href="http://localhost/cqpweb/adm/">http://localhost/cqpweb/adm/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
 rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:38 &#43;0100] &quot;GET /cqpweb/adm/index.php?sureyouwantto=yes&amp;admFunction=deleteCorpus&amp;corpus=canton1&amp;uT=y HTTP/1.1&quot; 302 254 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:39 &#43;0100] &quot;GET /cqpweb/adm/index.php HTTP/1.1&quot; 200 2574 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=deleteCorpus&amp;corpus=canton1&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:41 &#43;0100] &quot;GET /cqpweb/adm/index.php?thisF=installCorpus&amp;uT=y HTTP/1.1&quot; 200 4878 &quot;<a href="http://localhost/cqpweb/adm/index.php">http://localhost/cqpweb/adm/index.php</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
 rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:42 &#43;0100] &quot;GET /cqpweb/adm/index.php?thisF=installCorpusIndexed&amp;uT=y HTTP/1.1&quot; 200 2646 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=installCorpus&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=installCorpus&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:49 &#43;0100] &quot;GET /cqpweb/adm/index.php?corpus_cwb_name=canton1&amp;corpus_description=Cantonese1&amp;corpus_useDefaultRegistry=1&amp;corpus_cwb_registry_folder=&amp;cssCustom=0&amp;cssBuiltIn=CQPweb-aqua.css&amp;cssCustomUrl=&amp;admFunction=installCorpusIndexed&amp;uT=y
 HTTP/1.1&quot; 302 313 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=installCorpusIndexed&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=installCorpusIndexed&amp;uT=y</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:49 &#43;0100] &quot;GET /cqpweb/adm/index.php?thisF=installCorpusDone&amp;newlyInstalledCorpus=canton1&amp;uT=y HTTP/1.1&quot; 200 1853 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=installCorpusIndexed&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=installCorpusIndexed&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:53 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 4161 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=installCorpusDone&amp;newlyInstalledCorpus=canton1&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=installCorpusDone&amp;newlyInstalledCorpus=canton1&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:02:56 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 4161 &quot;<a href="http://localhost/cqpweb/adm/index.php?thisF=installCorpusDone&amp;newlyInstalledCorpus=canton1&amp;uT=y">http://localhost/cqpweb/adm/index.php?thisF=installCorpusDone&amp;newlyInstalledCorpus=canton1&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:05 &#43;0100] &quot;GET /cqpweb/canton1/metadata-admin.php?dataFile=canton1.meta&amp;useMetadataTemplate=%7E%7EcustomMetadata&amp;fieldHandle1=texttype&amp;fieldDescription1=Text&#43;type&amp;fieldType1=1&amp;fieldHandle2=&amp;fieldDescription2=&amp;fieldType2=1&amp;fieldHandle3=&amp;fieldDescription3=&amp;fieldType3=1&amp;fieldHandle4=&amp;fieldDescription4=&amp;fieldType4=1&amp;fieldHandle5=&amp;fieldDescription5=&amp;fieldType5=1&amp;createMetadataRunFullSetupAfter=0&amp;mdAction=createMetadataFromFile&amp;fieldCount=5&amp;corpus=canton1&amp;uT=y
 HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:05 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 2521 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:09 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2659 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:11 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 500 185 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:14 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=metadata_calculate_category_sizes&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 286 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:14 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2673 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:15 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=make_cwb_freq_index&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:16 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2683 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:18 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=corpus_make_freqtables&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:18 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2676 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:20 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 500 185 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:24 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y HTTP/1.1&quot; 200 2157 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:32 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 2522 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:34 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2676 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:05:03:37 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 500 185 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">access.log.1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:19 &#43;0100] &quot;GET /favicon.ico HTTP/1.1&quot; 404 501 &quot;-&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:19 &#43;0100] &quot;GET /favicon.ico HTTP/1.1&quot; 404 501 &quot;-&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:24 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y HTTP/1.1&quot; 200 2365 &quot;<a href="http://localhost/cqpweb/canton1/">http://localhost/cqpweb/canton1/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
 rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:29 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 2521 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:36 &#43;0100] &quot;GET /cqpweb/canton1/metadata-admin.php?clearMetadataAreYouReallySure=yesYesYes&amp;mdAction=clearMetadataTable&amp;corpus=canton1&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:37 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 4161 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:43 &#43;0100] &quot;GET /cqpweb/canton1/metadata-admin.php?dataFile=canton1.meta&amp;useMetadataTemplate=%7E%7EcustomMetadata&amp;fieldHandle1=&amp;fieldDescription1=&amp;fieldType1=1&amp;fieldHandle2=&amp;fieldDescription2=&amp;fieldType2=1&amp;fieldHandle3=&amp;fieldDescription3=&amp;fieldType3=1&amp;fieldHandle4=&amp;fieldDescription4=&amp;fieldType4=1&amp;fieldHandle5=&amp;fieldDescription5=&amp;fieldType5=1&amp;createMetadataRunFullSetupAfter=0&amp;mdAction=createMetadataFromFile&amp;fieldCount=5&amp;corpus=canton1&amp;uT=y
 HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:43 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y HTTP/1.1&quot; 200 2521 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:47 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2617 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageMetadata&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:49 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:49 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2633 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:50 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=make_cwb_freq_index&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:51 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2645 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:52 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=corpus_make_freqtables&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 302 285 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [24/Jun/2018:19:29:52 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2636 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:54:49 &#43;0100] &quot;GET /favicon.ico HTTP/1.1&quot; 404 501 &quot;-&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:07 &#43;0100] &quot;GET / HTTP/1.1&quot; 200 705 &quot;-&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:09 &#43;0100] &quot;GET /cqpweb/ HTTP/1.1&quot; 200 1791 &quot;<a href="http://localhost/">http://localhost/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:09 &#43;0100] &quot;GET /jsc/wz_tooltip.js HTTP/1.1&quot; 404 506 &quot;<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:09 &#43;0100] &quot;GET /jsc/wz_tooltip.js HTTP/1.1&quot; 404 506 &quot;<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:13 &#43;0100] &quot;GET /cqpweb/adm/ HTTP/1.1&quot; 200 2664 &quot;<a href="http://localhost/cqpweb/">http://localhost/cqpweb/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:16 &#43;0100] &quot;GET /cqpweb/canton1/ HTTP/1.1&quot; 200 3027 &quot;<a href="http://localhost/cqpweb/adm/">http://localhost/cqpweb/adm/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:20 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=corpusMetadata&amp;uT=y HTTP/1.1&quot; 200 2144 &quot;<a href="http://localhost/cqpweb/canton1/">http://localhost/cqpweb/canton1/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
 rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:25 &#43;0100] &quot;GET /cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y HTTP/1.1&quot; 200 2636 &quot;<a href="http://localhost/cqpweb/canton1/">http://localhost/cqpweb/canton1/</a>&quot; &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64;
 rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">::1 - - [25/Jun/2018:04:56:27 &#43;0100] &quot;GET /cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y HTTP/1.1&quot; 500 185 &quot;<a href="http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y">http://localhost/cqpweb/canton1/index.php?thisQ=manageFreqLists&amp;uT=y</a>&quot;
 &quot;Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0&quot;<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">2018-06-25 16:57 GMT&#43;08:00 Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">OK, so the problem is other than what I thought it was.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">When you get that blank page, is there a PHP error in the httpd log? IF so, can you copy-paste it in
 a reply? Thanks.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<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>]
<b>On Behalf Of </b>Hermann Lai<br>
<b>Sent:</b> 25 June 2018 05:05</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
<b>Subject:</b> Re: [CWB] Incorrect total words count in a Traditional Chinese corpus on CQPweb<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I am sorry. The new version does not help.&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">After I replace the old version with the new version. I go to &quot;Corpus frequency list controls&quot; and try to &quot;Update CWB text-position records&quot;. It redirect me to&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a href="http://localhost/cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y" target="_blank">http://localhost/cqpweb/canton1/execute.php?function=populate_corpus_cqp_positions&amp;args=canton1&amp;locationAfter=index.php%3FthisQ%3DmanageFreqLists%26uT%3Dy&amp;uT=y</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">with a blank page.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">However, &quot;Recreate CWB frequency table&quot; and &quot;Recreate frequency tables&quot; redirect me to &quot;Corpus frequency list controls&quot;.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I try to reinstall the corpus again but the blank page problem is still there.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Lai<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2018-06-21 21:10 GMT&#43;08:00 Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;:<o:p></o:p></p>
<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">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Hmm. I think this is a bug already fixed after 3.2.11.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">The culprit is, if I recall correctly the function “update_corpus_sizes” – to be found in the file
 metadata.inc.php.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Old version:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<pre style="vertical-align:baseline"><span class="m3969953063457349663m-7218544763997407141k"><b><span style="font-size:10.5pt;color:green;border:none windowtext 1.0pt;padding:0cm">function</span></b></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141nf"><span style="font-size:10.5pt;color:blue;border:none windowtext 1.0pt;padding:0cm">update_corpus_size</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141o"><span style="font-size:10.5pt;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141k"><b><span style="font-size:10.5pt;color:green;border:none windowtext 1.0pt;padding:0cm">NULL</span></b></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">)</span></span><o:p></o:p></pre>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">{</span><o:p></o:p></p>
<pre style="vertical-align:baseline"><span style="font-size:10.5pt;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141o"><span style="font-size:10.5pt;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span></span><span style="font-size:10.5pt;color:#555555"> <span class="m3969953063457349663m-7218544763997407141nx"><span style="border:none windowtext 1.0pt;padding:0cm">safe_specified_or_global_corpus</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="border:none windowtext 1.0pt;padding:0cm">(</span></span></span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></span><o:p></o:p></pre>
<pre style="vertical-align:baseline"><span style="font-size:10.5pt;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$result</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141o"><span style="font-size:10.5pt;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span></span><span style="font-size:10.5pt;color:#555555"> <span class="m3969953063457349663m-7218544763997407141nx"><span style="border:none windowtext 1.0pt;padding:0cm">do_mysql_query</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="border:none windowtext 1.0pt;padding:0cm">(</span></span></span><span class="m3969953063457349663m-7218544763997407141s2"><span style="font-size:10.5pt;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">&quot;select sum(words), count(*) from text_metadata_for_</span></span><span class="m3969953063457349663m-7218544763997407141si"><b><span style="font-size:10.5pt;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$corpus</span></b></span><span class="m3969953063457349663m-7218544763997407141s2"><span style="font-size:10.5pt;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">&quot;</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></span><o:p></o:p></pre>
<pre style="vertical-align:baseline"><span style="font-size:10.5pt;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span class="m3969953063457349663m-7218544763997407141k"><b><span style="font-size:10.5pt;color:green;border:none windowtext 1.0pt;padding:0cm">list</span></b></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$ntok</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$ntext</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">)</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141o"><span style="font-size:10.5pt;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141nb"><span style="font-size:10.5pt;color:green;border:none windowtext 1.0pt;padding:0cm">mysql_fetch_row</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$result</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></span><o:p></o:p></pre>
<pre style="vertical-align:baseline"><span style="font-size:10.5pt;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="m3969953063457349663m-7218544763997407141nx"><span style="border:none windowtext 1.0pt;padding:0cm">do_mysql_query</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="border:none windowtext 1.0pt;padding:0cm">(</span></span></span><span class="m3969953063457349663m-7218544763997407141s2"><span style="font-size:10.5pt;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">&quot;update corpus_info set size_tokens = </span></span><span class="m3969953063457349663m-7218544763997407141si"><b><span style="font-size:10.5pt;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$ntok</span></b></span><span class="m3969953063457349663m-7218544763997407141s2"><span style="font-size:10.5pt;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">, size_texts = </span></span><span class="m3969953063457349663m-7218544763997407141si"><b><span style="font-size:10.5pt;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$ntext</span></b></span><span class="m3969953063457349663m-7218544763997407141s2"><span style="font-size:10.5pt;color:#BA2121;border:none windowtext 1.0pt;padding:0cm"> where corpus = '</span></span><span class="m3969953063457349663m-7218544763997407141si"><b><span style="font-size:10.5pt;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$corpus</span></b></span><span class="m3969953063457349663m-7218544763997407141s2"><span style="font-size:10.5pt;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">'&quot;</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></span><o:p></o:p></pre>
<pre style="vertical-align:baseline"><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">}</span></span><o:p></o:p></pre>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">New version:</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<pre style="vertical-align:baseline"><span class="m3969953063457349663m-7218544763997407141k"><b><span style="font-size:10.5pt;color:green;border:none windowtext 1.0pt;padding:0cm">function</span></b></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141nf"><span style="font-size:10.5pt;color:blue;border:none windowtext 1.0pt;padding:0cm">update_corpus_size</span></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m3969953063457349663m-7218544763997407141nv"><span style="font-size:10.5pt;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141o"><span style="font-size:10.5pt;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span></span><span style="font-size:10.5pt;color:#555555"> </span><span class="m3969953063457349663m-7218544763997407141k"><b><span style="font-size:10.5pt;color:green;border:none windowtext 1.0pt;padding:0cm">NULL</span></b></span><span class="m3969953063457349663m-7218544763997407141p"><span style="font-size:10.5pt;color:#555555;border:none windowtext 1.0pt;padding:0cm">)</span></span><o:p></o:p></pre>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">{</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
<span style="border:none windowtext 1.0pt;padding:0cm">safe_specified_or_global_corpus(</span></span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$result</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
<span style="border:none windowtext 1.0pt;padding:0cm">do_mysql_query(</span></span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">&quot;select count(*) from text_metadata_for_</span><b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$corpus</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">&quot;</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">list</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$ntext</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">)</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">mysql_fetch_row</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$result</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$info</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
<span style="border:none windowtext 1.0pt;padding:0cm">get_corpus_info(</span></span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$corpus</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">global</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$cqp</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">if</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
<span style="border:none windowtext 1.0pt;padding:0cm">(</span></span><b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">empty</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$cqp</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">))</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span style="border:none windowtext 1.0pt;padding:0cm">connect_global_cqp();</span></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$cqp</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">-&gt;</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#7D9029;border:none windowtext 1.0pt;padding:0cm">set_corpus</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$info</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">-&gt;</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#7D9029;border:none windowtext 1.0pt;padding:0cm">cqp_name</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$ntok</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">=</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">
</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$cqp</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#666666;border:none windowtext 1.0pt;padding:0cm">-&gt;</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#7D9029;border:none windowtext 1.0pt;padding:0cm">get_corpus_tokens</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">();</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="border:none windowtext 1.0pt;padding:0cm">
do_mysql_query(</span></span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">&quot;update corpus_info set size_tokens =
</span><b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$ntok</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">, size_texts
 = </span><b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$ntext</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm"> where
 corpus = '</span><b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$corpus</span></b><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">'&quot;</span><span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;vertical-align:baseline">
<span style="font-size:10.5pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">}</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Can I suggest that you replace the “old version” in your code with the “new version”, and redo frequency
 list setup?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">That may well fix the issue. But if not, let me know…</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">
<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>]
<b>On Behalf Of </b>Hermann Lai<br>
<b>Sent:</b> 19 June 2018 20:10</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
<b>Subject:</b> Re: [CWB] Incorrect total words count in a Traditional Chinese corpus on CQPweb<o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">No, I didn't get any messages when I use the&nbsp;frequency list controls.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I am using CQPwebinabox&nbsp;<span style="font-family:&quot;Verdana&quot;,sans-serif;color:black">Esmeralda (CQPweb 3.2.11) and CWB 3.4.8(checked by using &quot;cqb -v&quot;).</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:&quot;Verdana&quot;,sans-serif;color:black">Regards,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-family:&quot;Verdana&quot;,sans-serif;color:black">Lai</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2018-06-19 23:06 GMT&#43;08:00 Hardie, Andrew &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;:<o:p></o:p></p>
<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">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Did you get any odd messages when you ran the frequency-list setup on CQPweb?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">If not – what version of the code do you have?</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,sans-serif;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US">From:</span></b><span lang="EN-US">
<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>]
<b>On Behalf Of </b>Hermann Lai<br>
<b>Sent:</b> 19 June 2018 11:32<br>
<b>To:</b> Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
<b>Subject:</b> Re: [CWB] Incorrect total words count in a Traditional Chinese corpus on CQPweb</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">part of the output of &quot;cwb-decode -C CANTON1 -ALL | less&quot;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&lt;s&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&lt;text&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&lt;text_id T01&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">中環</span><span style="font-size:10.5pt">&nbsp; &nbsp; N&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">中環</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">保育</span><span style="font-size:10.5pt">&nbsp; &nbsp; V&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">保育</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">奇觀</span><span style="font-size:10.5pt">&nbsp; &nbsp; N&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">奇觀</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">:</span><span style="font-size:10.5pt">&nbsp; &nbsp; &nbsp; PU&nbsp; &nbsp; &nbsp;
</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">:</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">孫中山</span><span style="font-size:10.5pt">&nbsp; N&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">孫中山</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">史蹟</span><span style="font-size:10.5pt">&nbsp; &nbsp; N&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">史蹟</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">徑</span><span style="font-size:10.5pt">&nbsp; &nbsp; &nbsp; N&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">徑</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">至</span><span style="font-size:10.5pt">&nbsp; &nbsp; &nbsp; CONJ&nbsp; &nbsp;
</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">至</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">大館</span><span style="font-size:10.5pt">&nbsp; &nbsp; N&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="font-size:10.5pt;font-family:&quot;MS Gothic&quot;">大館</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&lt;/text_id&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&lt;/text&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&lt;/s&gt;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.5pt">part of the&nbsp;output of &quot;cwb-described-corpus -s CANTON1&quot;</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">============================================================<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Corpus: CANTON1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">============================================================<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">description:&nbsp; &nbsp;&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">registry file:&nbsp; /usr/local/share/cwb/registry/canton1<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">home directory: /usr/local/corpora/data/canton1/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">info file:&nbsp; &nbsp; &nbsp; /usr/local/corpora/data/canton1/.info<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">size (tokens):&nbsp; 23<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp; 3 positional attributes<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp; 3 structural attributes<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp; 0 alignment&nbsp; attributes<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">p-ATT word&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;23 tokens,&nbsp; &nbsp; &nbsp; &nbsp;22 types<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">p-ATT pos&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 23 tokens,&nbsp; &nbsp; &nbsp; &nbsp; 8 types<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">p-ATT lemma&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 23 tokens,&nbsp; &nbsp; &nbsp; &nbsp;22 types<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">s-ATT s&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 regions<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">s-ATT text&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 2 regions<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">s-ATT text_id&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;2 regions (with annotations)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">It seems that CWB can recognize the number of words but CQPweb doesn't.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Lai<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">2018-06-19 15:43 GMT&#43;08:00 Stefan Evert &lt;<a href="mailto:stefanML@collocations.de" target="_blank">stefanML@collocations.de</a>&gt;:<o:p></o:p></p>
<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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">What does the corpus look like if you decode it from the CWB index with the following command?<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; cwb-decode -C CANTON1 -ALL | less<br>
<br>
Can you show us part of the output?&nbsp; It would also be useful to see the output of<br>
<br>
&nbsp; &nbsp; &nbsp; &nbsp; cwb-described-corpus -s CANTON1<br>
<br>
<br>
One possibility I can think of is that your linebreaks are messed up so that CWB treats everything within the text region as a single long line.
<br>
<br>
Best,<br>
Stefan<br>
<br>
<br>
&gt; On 19 Jun 2018, at 09:26, Hermann Lai &lt;<a href="mailto:halflifelai@gmail.com" target="_blank">halflifelai@gmail.com</a>&gt; wrote:<br>
&gt; <br>
&gt; I am using CQPwebinabox and I have indexed a Traditonal Chinese corpus called &quot;canton1&quot; by using two commands:<br>
&gt; <br>
&gt; sudo cwb-encode -d /usr/local/corpora/data/canton1 -f /home/user/Desktop/corpora/canton1/canton1.vrt -R /usr/local/share/cwb/registry/canton1 -c utf8 -xsB -P pos -P lemma -S s:0 -S text:0&#43;id<br>
&gt; <br>
&gt; sudo cwb-make -V CANTON1<br>
&gt; <br>
&gt; After that, I install the corpus onto CQPweb. Most of the thing are correct. However, the total number of corpus texts is as same as the total words in all corpus texts.<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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
<div>
<div>
<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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span style="font-size:13.5pt">Gaspard Germannson</span></i><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
<div>
<div>
<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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span style="font-size:13.5pt">Gaspard Germannson</span></i><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
<div>
<div>
<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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><i><span style="font-size:13.5pt">Gaspard Germannson</span></i><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><i><span style="font-size:13.5pt">Gaspard Germannson</span></i><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</body>
</html>