<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi Andrew,<br><br>I edited the two php files in my /usr/local/apache2/htdocs/cqp/lib directory and here is the output after pressing the button "Creat user account" under the banner of "Create new user (or reset user password)":<br><br>--&gt;$&lt;--<br>string(9) "anonymous"<br><br>--&gt;$&lt;--<br>string(9) "anonymous"<br><br>--&gt;$&lt;--<br>object(apache_htaccess)#2 (8) {<br>&nbsp; ["AuthName:private"]=&gt;<br>&nbsp; string(6) "CQPweb"<br>&nbsp; ["path_to_apache_password_utility_directory:private"]=&gt;<br>&nbsp; string(22) "/usr/local/apache2/bin"<br>&nbsp; ["path_to_groups_file:private"]=&gt;<br>&nbsp; string(43) "/usr/local/apache2/cqpweb_aux/user/.htgroup"<br>&nbsp; ["path_to_password_file:private"]=&gt;<br>&nbsp; string(44) "/usr/local/apache2/cqpweb_aux/user/.htpasswd"<br>&nbsp; ["path_to_web_directory:private"]=&gt;<br>&nbsp; string(6) "nopath"<br>&nbsp; ["permitted_users:private"]=&gt;<br>&nbsp; NULL<br>&nbsp; ["permitted_groups:private"]=&gt;<br>&nbsp; NULL<br>&nbsp; ["extra_directives:private"]=&gt;<br>&nbsp; NULL<br>}<br><br>--&gt;$&lt;--<br>string(36) "Calling new user, printing retval..."<br><br>--&gt;$&lt;--<br>int(0)<br><br>About to run the following MySQL query:<br><br>SELECT * from user_settings WHERE username = 'anonymous'<br><br><br>The query ran successfully in 0 seconds.<br><br><br>About to run the following MySQL query:<br><br>INSERT INTO user_settings (<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; username,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; realname,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; conc_kwicview,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; conc_corpus_order,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; cqp_syntax,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; context_with_tags,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; use_tooltips,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; thin_default_reproducible,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; coll_statistic,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; coll_freqtogether,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; coll_freqalone,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; coll_from,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; coll_to,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; max_dbsize,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; linefeed<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; )<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; VALUES<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; (<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'anonymous',<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'unknown person',<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 0,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 6,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 5,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 5,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; -3,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 3,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 1000000,<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 'au')<br><br>The query ran successfully in 0 seconds.<br><br>About to run the following MySQL query:<br><br>SELECT * from user_settings WHERE username = 'anonymous'<br><br>The query ran successfully in 0 seconds.<br><br>--&gt;$&lt;--<br>string(17) "The profile is..."<br><br>--&gt;$&lt;--<br>object(stdClass)#3 (17) {<br>&nbsp; ["username"]=&gt;<br>&nbsp; string(9) "anonymous"<br>&nbsp; ["password"]=&gt;<br>&nbsp; NULL<br>&nbsp; ["realname"]=&gt;<br>&nbsp; string(14) "unknown person"<br>&nbsp; ["email"]=&gt;<br>&nbsp; NULL<br>&nbsp; ["conc_kwicview"]=&gt;<br>&nbsp; string(1) "1"<br>&nbsp; ["conc_corpus_order"]=&gt;<br>&nbsp; string(1) "1"<br>&nbsp; ["cqp_syntax"]=&gt;<br>&nbsp; string(1) "0"<br>&nbsp; ["context_with_tags"]=&gt;<br>&nbsp; string(1) "0"<br>&nbsp; ["use_tooltips"]=&gt;<br>&nbsp; string(1) "1"<br>&nbsp; ["thin_default_reproducible"]=&gt;<br>&nbsp; string(1) "1"<br>&nbsp; ["coll_statistic"]=&gt;<br>&nbsp; string(1) "6"<br>&nbsp; ["coll_freqtogether"]=&gt;<br>&nbsp; string(1) "5"<br>&nbsp; ["coll_freqalone"]=&gt;<br>&nbsp; string(1) "5"<br>&nbsp; ["coll_from"]=&gt;<br>&nbsp; string(2) "-3"<br>&nbsp; ["coll_to"]=&gt;<br>&nbsp; string(1) "3"<br>&nbsp; ["max_dbsize"]=&gt;<br>&nbsp; string(7) "1000000"<br>&nbsp; ["linefeed"]=&gt;<br>&nbsp; string(2) "au"<br>}<br><br>--&gt;$password_more_security&lt;--<br>bool(false)<br><br>About to run the following MySQL query:<br><br>UPDATE user_settings SET password = 'anonymous' WHERE username = 'anonymous'<br><br><br>The query ran successfully in 0 seconds.<br><br><br>--&gt;$&lt;--<br>string(16) "Email to update?"<br><br>--&gt;$&lt;--<br>string(0) ""<br><br>About to run the following MySQL query:<br><br>UPDATE user_settings SET email = '' WHERE username = 'anonymous'<br><br>The query ran successfully in 0 seconds.<br><br>Best,<br>Ray<br><br><br>At 2012-05-22 04:17:28,"Hardie,&nbsp;Andrew"&nbsp;&lt;a.hardie@lancaster.ac.uk&gt; wrote:<br> <blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">



<style></style>


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Hi Ray,<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">I am still a bit stumped; I cannot reproduce this bug. So I need you to hack your code again! Can I suggest that you try the following.<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="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">(1)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><!--[endif]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">replace the complete
<b>function add_new_user() { ...&nbsp;&nbsp;&nbsp; }</b> (lines 179-203) as follows:<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;Courier New&quot;">function add_new_user($username, $password, $email = NULL)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $apache = get_apache_object('nopath');<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$username = preg_replace('/\W/', '', $username);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $password = preg_replace('/\W/', '', $password);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $vv="Initialisation variables:";<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; show_var($username); show_var($password);show_var($apache);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ($username === '' || $password === '')<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; exiterror_fullpage("Usernames and passwords can only contain letters, numbers and underscores.",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __FILE__, __LINE__);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $vv = "Calling new user, printing retval..."; show_var($vv);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $dd = $apache-&gt;new_user($username, $password); show_var($dd);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* start by creating a blank entry for the user (or, retrieving an existing entry) */<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $profile = get_all_user_settings($username);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $vv = "The profile is...";show_var($vv);show_var($profile);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/* then, overwrite the password as stored in the database */<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; global $password_more_security;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; show_var($password_more_security);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $db_password = ($password_more_security ? $apache-&gt;get_user_hashword($username) : $password);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update_user_setting($username, 'password', $db_password);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $vv = "Email to update?";show_var($vv);&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /* and if email has been passed into the function, likewise overwrite it */<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (isset($email))<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; show_var($email);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; update_user_setting($username, 'email', mysql_real_escape_string($email));<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?&gt;<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">(2)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><!--[endif]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">add the following line to your config.inc.php file.<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:13.5pt;font-family:&quot;Courier New&quot;;color:#19177C;background:white">$print_debug_messages = true;</span><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><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="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">(3)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><!--[endif]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Try again to create a user.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style="mso-list:Ignore">(4)<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><!--[endif]--><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Send me the resulting text output.<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">Hopefully this time we’ll nail it.<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> 21 May 2012 01:49<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> 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" style="margin-bottom:12.0pt"><span style="font-size:10.5pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:black">Hi Andrew,<br>
<br>
I tried your update and here is my report.<br>
<br>
Re: OK, I have solved the freq table issue I think – it was a bug due to me supplying the wrong argument format to the PHP function is_writable(). Update to svn commit 318 and you should be good to go on that front.<br>
You are a genius! It rocks! <br>
<br>
Re: For the user creation issue: can I suggest you temporarily change line 190 of admin-lib.inc.php as follows: from
<br>
$apache-&gt;new_user($username, $password); to<br>
$dd = $apache-&gt;new_user($username, $password); show_var($dd);<br>
and try creating a user to see what happens?<br>
<br>
Pressing "Creat user account", yields --&gt;$&lt;--int(0) ;<br>
Pressing "Create a batch of user accounts" yields no output.<br>
Newly created users appear in "Delete a user account" but not in "Set user's maximum database size"<br>
<br>
Best,<br>
Ray<br>
<br>
<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>