<div dir="ltr"><div><div><div><div><div>Hi Andrew,<br><br></div>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.<br><br></div>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.<br></div>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.<br><br></div>Bests,<br><br></div>Jorge<div class="gmail_extra"><br><div class="gmail_quote">2017-07-26 10:22 GMT+02:00 Hardie, Andrew <span dir="ltr">&lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-GB">
<div class="m_1560621951439290829WordSection1">
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><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,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">Open admin-lib.inbc.php<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">Go to line 644<u></u><u></u></span></p>
<p class="MsoNormal"><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_1560621951439290829si"><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_1560621951439290829s2"><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_1560621951439290829si"><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_1560621951439290829s2"><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"><u></u><u></u></span></p>
<p class="MsoNormal"><a name="m_1560621951439290829__MailEndCompose"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></a></p>
<p class="MsoNormal"><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_1560621951439290829s2"><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_1560621951439290829si"><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_1560621951439290829s2"><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_1560621951439290829si"><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_1560621951439290829s2"><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_1560621951439290829si"><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_1560621951439290829s2"><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:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal" style="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_<wbr>cwb); exiterror(&quot;abort&quot;); }<u></u><u></u></span></b></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><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:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">before
</span><span class="m_1560621951439290829nb"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">before
</span><span class="m_1560621951439290829nb"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><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_1560621951439290829nb"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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_1560621951439290829nv"><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_1560621951439290829p"><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;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">before
</span><span class="m_1560621951439290829p"><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_1560621951439290829cm"><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><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">Hope this helps<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">best<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1f497d">Andrew.<u></u><u></u></span></p>
<div><div><div><div><div><div><div><div><div><div><div><div><div><div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div><br></blockquote></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>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>+34 93 542 2332<br><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div>