<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><p class="errormessage">Hi Andrew,<br></p><p class="errormessage">Same error as before: <br></p><p class="errormessage">A function was passed an invalid argument type!Argument value was /usr/local/apache2/cqpweb_aux/temp/____temporary_freq_corpus_test.tbl.utf8.tmp. Problem:</p><p class="errormessage">This path is not writable.</p><p class="errormessage">But I can see that CQPweb v3.0.7 © 2008-201. It seems the update is not recognized. <br></p><p class="errormessage">Best,</p><p class="errormessage">Ray<br></p><br><br><div id="divNeteaseMailCard"></div><br>在 2012-05-21 01:21:09,"Hardie,&nbsp;Andrew"&nbsp;&lt;a.hardie@lancaster.ac.uk&gt; 写道:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">



<style><!--

_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: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;}

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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
_page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Can you update from svn and then try “recreate frequency table” again? &nbsp;I have added a new error message check which might help diagnose.<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>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US"> <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>]
<b>On Behalf Of </b>Ray Wu<br>
<b>Sent:</b> 20 May 2012 18:02<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> RE: RE: RE: [CWB] Two issues regarding CQPweb revision 316<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Hi Andrew,<br>
<br>
I can only find the following information, hopefully it is what you needed.<br>
&nbsp;<br>
re: I spot one odd thing: you have .htaccess and .htgroup files in the cqpweb_aux directory, should they not be in the “user” subdirectory?<br>
I don't know when they were created but they are just there.<br>
/usr/local/apache2/cqpweb_aux$ cat .htpasswd <br>
cqpweb:38Pzi2lNByWHA<br>
/usr/local/apache2/cqpweb_aux$ cat .htgroup <br>
superusers: cqpweb<br>
<br>
re: What is the ls –al of the “user” subdirectory?<br>
/usr/local/apache2/cqpweb_aux/user$ ls -al<br>
drwxrwxr-x 2 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp; 4096 2012-05-21 00:12 .<br>
drwxrwxrwx 7 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp; 4096 2012-05-21 00:13 ..<br>
-rw-r--r-- 1 nobody 4294967295&nbsp;&nbsp;&nbsp; 4 2012-05-20 20:27 file_for_Check<br>
-rwxrwxr-x 1 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 88 2012-05-20 20:52 .htgroup<br>
-rwxrwxr-x 1 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 179 2012-05-20 20:46 .htpasswd<br>
<br>
/usr/local/apache2/cqpweb_aux/user$ cat .htgroup <br>
superusers: cqpweb<br>
guestgroup: demo user1 <br>
/usr/local/apache2/cqpweb_aux/user$ cat .htpasswd <br>
cqpweb:******************<br>
user1:siPxM76GQlqA2<br>
demo:vGyvnrMO11qXM<br>
<br>
re: And, what is the value of $cqpweb_accessdir in the config file?<br>
./lib/config.inc.php:$cqpweb_accessdir = 'usr/local/apache2/cqpweb_aux/user';<br>
./template.config.inc.php:$cqpweb_accessdir = '';<br>
<br>
re: On the other problem: what is the ls –al of the “cqpweb_aux/temp” subdirectory?<br>
ray@ray-laptop:/usr/local/apache2/cqpweb_aux/temp$ ls -al<br>
drwxrwxr-x 2 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 2012-05-20 20:34 .<br>
drwxrwxrwx 7 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4096 2012-05-21 00:13 ..<br>
-rwxrwxr-x 1 nobody cqpweb&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 92 2012-05-20 06:54 test:dt4em6acw0<br>
-rw-r--r-- 1 nobody 4294967295&nbsp;&nbsp; 104 2012-05-20 18:59 test:dt4zky5ilw<br>
-rw-r--r-- 1 nobody 4294967295&nbsp;&nbsp;&nbsp;&nbsp; 4 2012-05-20 20:27 file_for_Check<br>
-rw-r--r-- 1 nobody 4294967295 12136 2012-05-21 00:09 ____temporary_freq_corpus_test.tbl (manually created using sudo vi ____temporary_freq_corpus_test.tbl and then sudo chown nobody)<br>
<br>
re: On both, have you checked the value of the php.ini directive “open_basedir”? (This can also be set in httpd.conf or other Apache config file, see
<a href="http://www.php.net/manual/en/ini.core.php#ini.open-basedir">http://www.php.net/manual/en/ini.core.php#ini.open-basedir</a>)<br>
<br>
In httpd.conf, I cannot find such a directive. In /usr/local/lib/php.ini, open_basedir is commented out:<br>
;open_basedir =<br>
&nbsp;<br>
Best,<br>
Ray<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
</div>


</blockquote></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>