<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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        mso-fareast-language:EN-GB;}
span.m-8872073725250630602gmail-m8244709421751099306m1560621951439290829si
        {mso-style-name:m_-8872073725250630602gmail-m_8244709421751099306m1560621951439290829si;}
span.m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2
        {mso-style-name:m_-8872073725250630602gmail-m_8244709421751099306m1560621951439290829s2;}
span.m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nb
        {mso-style-name:m_-8872073725250630602gmail-m_8244709421751099306m1560621951439290829nb;}
span.m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p
        {mso-style-name:m_-8872073725250630602gmail-m_8244709421751099306m1560621951439290829p;}
span.m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv
        {mso-style-name:m_-8872073725250630602gmail-m_8244709421751099306m1560621951439290829nv;}
span.m-8872073725250630602gmail-m8244709421751099306m1560621951439290829cm
        {mso-style-name:m_-8872073725250630602gmail-m_8244709421751099306m1560621951439290829cm;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-GB;}
span.EmailStyle28
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.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;,&quot;sans-serif&quot;;color:#1F497D">Hi Jorge,<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">(sorry for delayed reply)<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">There is no really super-satisfactory way to deal with this in CQPweb. CWB
<i>really</i> doesn’t like self-nestings of the same XML element. S-attributes are designed &nbsp;to represent disjunct non-overlapping regions; thus, pseudo-XML rather than actual XML. (Of course the design of CWB long predates XML, and at the time even SGML was
 in its early days I believe.) This is one of the things that the new Ziggurat engine will fix when Stefan and I finally get to it, incidentally.
<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">At present you have a choice of 3 bodges available in command-line cwb-encode: (a) with &#43;<i>N</i>, to automatically rename nested elements so you get tag1,
 tag2, tag3 as your attributes; (b) with no &#43;<i>N</i>, to treat every new &lt;tag&gt; as the beginning of a new non-nested region even if the previous one is unclosed; (c) with &#43;0, to totally ignore nested regions.<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">Since these are all bodges, and the situation is going to change in the reasonably near future, I did not make any of these methods transparent in the CQPweb
 interface. If you want to use them, create the corpus manually with cwb-encode, then insert it as an already-indexed corpus in CQPweb.<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">best<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>
<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"><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"><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"><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"><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"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it]
<b>On Behalf Of </b>VIVALDI PALATRESI, JORGE<br>
<b>Sent:</b> 27 July 2017 08:53<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] Unable to index a corpus<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<p class="MsoNormal">Hi Andrew,<o:p></o:p></p>
</div>
<p class="MsoNormal">As you suggest, if the &quot;Feature set&quot; box<span lang="EN"> is not set the process continues but now the browser indicates a new error:</span><o:p></o:p></p>
<pre>--&gt;$&lt;--<o:p></o:p></pre>
<pre>array(7137) {<o:p></o:p></pre>
<pre>&nbsp; [0]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(442) &quot;/usr/local/cwb-3.4.12/bin/cwb-encode -xsB -c utf8 -d /var/local/CQPweb/index/iulact_ca -f /var/local/CQPweb/upload/ca_allDocsReduced.cqp -R &quot;/var/local/CQPweb/registry/iulact_ca&quot;&nbsp; -P lemma -P pos -P token -S text&#43;id -S txt -S p -S s -S head -S hi -S abbr -S name -S loc -S na -S num -S date -S foreign -S ptr -S div1 -S div2 -S div3 -S div4 -S div5 -S div6 -S div7 -S div8 -S list -S note -S figure -S table -S row -S item -S cell -S gap 2&gt;&amp;1&quot;<o:p></o:p></pre>
<pre>&nbsp; [1]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(117) &quot;Close tag&nbsp; without matching open tag ignored (file /var/local/CQPweb/upload/ca_allDocsReduced.cqp, line #3470).&quot;<o:p></o:p></pre>
<pre>&nbsp; [2]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(117) &quot;Close tag&nbsp; without matching open tag ignored (file /var/local/CQPweb/upload/ca_allDocsReduced.cqp, line #3971).&quot;<o:p></o:p></pre>
<pre>&nbsp; [3]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(117) &quot;Close tag&nbsp; without matching open tag ignored (file /var/local/CQPweb/upload/ca_allDocsReduced.cqp, line #6713).&quot;<br>... <br>&nbsp;&nbsp;[7133]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(120) &quot;Close tag&nbsp; without matching open tag ignored (file /var/local/CQPweb/upload/ca_allDocsReduced.cqp, line #4991289).&quot;<o:p></o:p></pre>
<pre>&nbsp; [7134]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(53) &quot;Warning: missing&nbsp; tag inserted at end of input.&quot;<o:p></o:p></pre>
<pre>&nbsp; [7135]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(53) &quot;Warning: missing&nbsp; tag inserted at end of input.&quot;<o:p></o:p></pre>
<pre>&nbsp; [7136]=&gt;<o:p></o:p></pre>
<pre>&nbsp; string(87) &quot;/usr/local/cwb-3.4.12/bin/cwb-makeall -r &quot;/var/local/CQPweb/registry&quot; -V IULACT_CA 2&gt;&amp;1&quot;<o:p></o:p></pre>
<pre>}<o:p></o:p></pre>
<div>
<p class="MsoNormal">My test corpus include some nested tags and I think that this may be the cause of the error.&nbsp; The
<span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:black;background:white">
&quot;CWB Encoding Tutorial</span>&quot; indicates that in this case the cwb-encode should be called with the parameter -S &lt;tag&gt;:0. Where &lt;tag&gt; indicates tags which are nested. This situation repeats quite often in my corpora so I need to fin a solution. Therefore, my
 questions are:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">- Is there any way to indicate to CQPweb this situation?<br>
- how do I force to CQPweb to invoke cwb-encode with parameter updated?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">- this parameter includes &quot;:0&quot;, this &quot;0&quot; must replaced by the maximum nested level?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Any suggestion to solve this question is very welcomed.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thank you in advance,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Jorge<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">PD. Perhaps I should open a new thread in CWB list<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><br>
2017-07-26 14:51 GMT&#43;02: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>
<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;,&quot;sans-serif&quot;;color:#1F497D">Hi Jorge,</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">As suspected, seeing a few of the error messages makes it clear what is happening.</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">“is not a valid feature set” is thee error message. You are getting one per POS tag in the corpus
 (since your POS tags aren’t feature sets). One error message per POS tag in the corpus exhausts the available RAM. &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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">The answer is simple: don’t tick the “Feature set?” box when your tags aren’t actually feature sets.</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">To read about what feature sets are / aren’t in CWB/CQPweb, have a look at the CWB Encoding Tutorial
 (search for the word “feature” in the PDF to find the relevant section.)</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;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:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<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>VIVALDI PALATRESI, JORGE<br>
<b>Sent:</b> 26 July 2017 12:23<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] Unable to index a corpus</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Hi Andrew,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">I made the suggested modifications in the file lib/admin-install.inc.php without any positive result the browser always becomes blank with a similar messages in the file error.log.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Then, I reduced the size of corpus to a 20% of the original. Then some messages appeared on the browser, but after a while the browser crashes. Anyway I captured the included screenshot.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">It seems to be a problem related to the cwb-encode and the POS tags (N5-FS, JQ--FS, P, ...).
<br>
As I mention in a previous message the corpus (and its POS tags) is the same used with a previous version of CQP and CQPweb.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt">Bests,<o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Jorge<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">2017-07-26 10:22 GMT&#43;02: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>
<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;,&quot;sans-serif&quot;;color:#1F497D">As I noted before, the problem is actually error messages. Line 644 simply collects error messages
 – so an out-of-memory error here indicates you have generated &gt; 4GB of error messages.</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">I suggested increasing the memory previously because it would let you see the problem – but actually,
 with 4GB of error messages, I’d suggest that doing that is not likely to help much,</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">So what I would suggest instead is hacking the code to find out the error message.</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">Open admin-lib.inbc.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;,&quot;sans-serif&quot;;color:#1F497D">Go to line 644</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;,&quot;sans-serif&quot;;color:#1F497D">Find the line nearby that says
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829si"><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$output_lines_from_cwb</span></b></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">
 = array(</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829si"><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$encode_command</span></b></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">);</span></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><a name="m_-8872073725250630602_m_824470942175109"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span></a><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;,&quot;sans-serif&quot;;color:#1F497D">AFTER THAT LINE, but before the line that says
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">exec(</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829si"><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$encode_command</span></b></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">,
</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829si"><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$output_lines_from_cwb</span></b></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">,
</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829si"><b><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BB6688;border:none windowtext 1.0pt;padding:0cm">$exit_status_from_cwb</span></b></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829s2"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#BA2121;border:none windowtext 1.0pt;padding:0cm">);
</span></span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">add the following:</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;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:36.0pt">
<b><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">if (count($output_lines_from_cwb) &gt; 1000) {show_var($output_lines_from_cwb); exiterror(&quot;abort&quot;); }</span></b><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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">What this line does is make things abort if it detects too many error messages.</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">If you then get a readable error message, that might give you a hint what the real problem is. If
 not, try again moving the location o fthe hack line down the file, before the following lines:</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">before
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nb"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">exec</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$makeall_command</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$output_lines_from_cwb</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$exit_status_from_cwb</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></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;,&quot;sans-serif&quot;;color:#1F497D">before
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nb"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">exec</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$compress_command</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$compression_output</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$exit_status_from_cwb</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></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;,&quot;sans-serif&quot;;color:#1F497D">before the second example fo
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nb"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:green;border:none windowtext 1.0pt;padding:0cm">exec</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">(</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$makeall_command</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$output_lines_from_cwb</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">,</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829nv"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#19177C;border:none windowtext 1.0pt;padding:0cm">$exit_status_from_cwb</span></span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">);</span></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;,&quot;sans-serif&quot;;color:#1F497D">before
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829p"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;border:none windowtext 1.0pt;padding:0cm">}</span></span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#555555;background:#FFFF99">
</span><span class="m-8872073725250630602gmail-m8244709421751099306m1560621951439290829cm"><i><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#408080;border:none windowtext 1.0pt;padding:0cm">/* end else (from if cwb index already exists) */</span></i></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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">Hopefully, as I say, doing this will get you a gimpse of the first 1,000 lines of erro, which may
 tell you what the underlying problem is.</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">Hope this helps</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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;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;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br clear="all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Jorge Vivaldi Palatresi<br>
Institut Universitari de Lingüística Aplicada<br>
Universitat Pompeu Fabra<br>
C/ Roc Boronat, 138<br>
08018 Barcelona<br>
Espanya<br>
<br>
<a href="tel:&#43;34%20935%2042%2023%2032" target="_blank">&#43;34 93 542 2332</a><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>