<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 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Done now &amp; in svn,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;mso-fareast-language:EN-GB"> cwb-bounces@sslmit.unibo.it
 [mailto:cwb-bounces@sslmit.unibo.it] <b>On Behalf Of </b>Hardie, Andrew<br>
<b>Sent:</b> 02 June 2016 10:32<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] Word lookup and collocation tool errors<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Umut,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">These errors seem to arise from the fact that you are the first person to run CQPweb on top of PHP v 7. (Which in turn is due to your Ubuntu version: I’ve updated
 my home computer to Ubuntu 16.04 but not done much testing yet). Although, in theory, it ought to work unproblematically, you have fallen into the gap between theory and practice!
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">I can see what the errors are likely to have been caused by, and will attempt fixes in v3.2.16.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;mso-fareast-language:EN-GB"> cwb-bounces@sslmit.unibo.it
 [mailto:cwb-bounces@sslmit.unibo.it] <b>On Behalf Of </b>Umut Demirhan<br>
<b>Sent:</b> 02 June 2016 09:16<br>
<b>To:</b> cwb@sslmit.unibo.it<br>
<b>Subject:</b> [CWB] Word lookup and collocation tool errors</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Dear Andrew and all,</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I am having some problems with the generation of concordance lines of the results displayed in word lookup and collocation tools.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Whenever I use both tools, the very first results are shown properly.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">In word lookup tool, for instance, when I generate all the word forms starting with the word &quot;chat&quot;, CQPweb interface perfectly generates entries such as &quot;chat, Chateauroux, Chatman&quot; and so on.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">However, when I click on one of the items in the list, the interface shows a blank screen.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">The apache error log messages regarding to this problem are as follows.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">[Thu Jun 02 10:47:45.436982 2016] [:error] [pid 22283] [client 3.3.3.3:40386] PHP Notice:&nbsp; Undefined index: lookupShowWithTags in /var/www/html/cqpwebnew/lib/wordlookup.inc.php on line 66, referer:
<a href="http://1.1.1.1/cqpwebnew/tenmillionfornewcqp/index.php?thisQ=lookup&amp;uT=y">
http://1.1.1.1/cqpwebnew/tenmillionfornewcqp/index.php?thisQ=lookup&amp;uT=y</a></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">[Thu Jun 02 10:48:45.156013 2016] [:error] [pid 21350] [client 3.3.3.3:40396] PHP Fatal error:&nbsp; Uncaught Error: Call to undefined function mysql_unbuffered_query() in /var/www/html/cqpwebnew/lib/library.inc.php:344\nStack
 trace:\n#0 /var/www/html/cqpwebnew/lib/cache.inc.php(758): do_mysql_outfile_query('SELECT beginPos...', '/usr/local/shar...')\n#1 /var/www/html/cqpwebnew/lib/cache.inc.php(637): QueryRecord-&gt;do_postprocess_item(Object(CQPwebPostprocess), Object(QueryRecord))\n#2
 /var/www/html/cqpwebnew/lib/concordance.inc.php(569): QueryRecord-&gt;do_postprocess(Object(CQPwebPostprocess))\n#3 /var/www/html/cqpwebnew/exe/concordance.php(1): require('/var/www/html/c...')\n#4 {main}\n&nbsp; thrown in /var/www/html/cqpwebnew/lib/library.inc.php
 on line 344, referer: <a href="http://1.1.1.1/cqpwebnew/tenmillionfornewcqp/redirect.php?redirect=concBreakdownWords&amp;qname=f4gxfnt65k&amp;pp=50&amp;uT=y">
http://1.1.1.1/cqpwebnew/tenmillionfornewcqp/redirect.php?redirect=concBreakdownWords&amp;qname=f4gxfnt65k&amp;pp=50&amp;uT=y</a></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Secondly, in order to generate the collocates of the node word &quot;chat&quot;, I use concordance tool at first. The concordance tool perfectly lists all the concordance lines, and then collocation tool properly lists all the
 collocates of the node; however, to see the concordance lines of the node with its collocation (i.e. chat rooms), I click on the links under &quot;Observed collocate frequency pane&quot;, but the interface similarly generates a blank screen with the apache error log
 message below.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">[Thu Jun 02 10:57:36.001810 2016] [:error] [pid 21980] [client 3.3.3.3:40444] PHP Fatal error:&nbsp; Uncaught Error: Call to undefined function mysql_unbuffered_query() in /var/www/html/cqpwebnew/lib/library.inc.php:344\nStack
 trace:\n#0 /var/www/html/cqpwebnew/lib/cache.inc.php(730): do_mysql_outfile_query('SELECT beginPos...', '/usr/local/shar...')\n#1 /var/www/html/cqpwebnew/lib/cache.inc.php(637): QueryRecord-&gt;do_postprocess_coll(Object(CQPwebPostprocess), Object(QueryRecord))\n#2
 /var/www/html/cqpwebnew/lib/concordance.inc.php(569): QueryRecord-&gt;do_postprocess(Object(CQPwebPostprocess))\n#3 /var/www/html/cqpwebnew/exe/concordance.php(1): require('/var/www/html/c...')\n#4 {main}\n&nbsp; thrown in /var/www/html/cqpwebnew/lib/library.inc.php
 on line 344, referer: <a href="http://1.1.1.1/cqpwebnew/tenmillionfornewcqp/collocation.php?maxCollocSpan=5&amp;qname=f4gxl90u5f&amp;uT=y">
http://1.1.1.1/cqpwebnew/tenmillionfornewcqp/collocation.php?maxCollocSpan=5&amp;qname=f4gxl90u5f&amp;uT=y</a></span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">My system specifications are as follows:</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">CQPweb v3.2.15 - SVN revision number 835 </span>
<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Ubuntu X64 16.04</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">PHP 7.0.4</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">MySQL 5.7.12</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Apache 2.4.18</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thanks for your help.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Umut</span><o:p></o:p></p>
</div>
</body>
</html>