<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* 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;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {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 Andrés,<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">This is due to a change in the default behaviour of the MySQL server which affect what is and is not accepted as a valid time value.<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">To fix it, I added a workaround to the function mysql_global_connect(). IE this line:<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" style="text-indent:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">do_mysql_query(&quot;set sql_mode = \&quot;\&quot;&quot;);<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">As for the other error messages, 3.2.6 is now very old and I am afraid I can’t go ddigging for the bugs it has that are now fixed…<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"><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>&quot;Andrés Chandía&quot;<br>
<b>Sent:</b> 12 May 2017 14:43<br>
<b>To:</b> Open source development of the Corpus WorkBench<br>
<b>Subject:</b> Re: [CWB] Getting error on autosetup<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I decided to try the stable branch:<br>
<code><span style="font-size:10.0pt"><a href="http://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2.11">http://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2.11</a></span></code><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"><br>
<code>but still I get an error that was present also at the 3.2.6 version:</code><br>
<br>
<code>A mySQL query did not run successfully!</code><br>
<code>Original query: </code><br>
<code>CREATE TABLE `user_info` (</code><br>
<code>......</code><br>
<code>Error # 1067: Invalid default value for 'last_seen_time' </code><br>
<br>
<br>
</span><br>
El Vie, 12 de Mayo de 2017, 14:30, &quot;Andrés Chandía&quot; escribió:<br>
It only solved the first line of the problem, that one saying &quot;PHP Notice: Undefined variable: 6 in ...bin/autosetup.php on line 75&quot;<br>
the rest remains the same<br>
<br>
El Vie, 12 de Mayo de 2017, 14:23, &quot;Andrés Chandía&quot; escribió:<br>
Well, I have found that line 75 of autosetup.php is like this:<br>
<br>
$Config-&gt;default_calc_stat = $$default_colloc_calc_stat;<br>
<br>
I think the double $ is the problem<br>
<br>
<br>
El Vie, 12 de Mayo de 2017, 14:18, &quot;Andrés Chandía&quot; escribió:<br>
CQPweb v3.2.6<br>
<br>
PHP Notice: Undefined variable: 6 in ...bin/autosetup.php on line 75<br>
<br>
Installing database structure; please wait.<br>
PHP Notice: Undefined property: stdClass::$debug_messages_textonly in ...lib/exiterror.inc.php on line 88<br>
PHP Notice: Undefined property: stdClass::$debug_messages_textonly in ...lib/exiterror.inc.php on line 89<br>
PHP Notice: Undefined property: stdClass::$debug_messages_textonly in ...lib/exiterror.inc.php on line 91<br>
A mySQL query did not run successfully!<br>
<br>
Original query: <br>
<br>
CREATE TABLE `user_info .......<br>
.....<br>
Error # 1067: Invalid default value for 'last_seen_time'<br>
<br>
<br>
PHP Notice: Undefined property: stdClass::$all_users_see_backtrace in ...lib/exiterror.inc.php on line 113<br>
PHP Notice: Undefined property: stdClass::$debug_messages_textonly in ...lib/exiterror.inc.php on line 140<br>
PHP Fatal error: Uncaught Error: Call to undefined function print_html_footer() in ...lib/exiterror.inc.php:159<br>
Stack trace:<br>
#0 ...lib/exiterror.inc.php(300): exiterror_endpage()<br>
#1 ...lib/library.inc.php(262): exiterror_mysqlquery(1067, 'Invalid default...', 'CREATE TABLE `u...')<br>
#2 ...lib/admin-lib.inc.php(1170): do_mysql_query('CREATE TABLE `u...')<br>
#3 ...bin/autosetup.php(82): cqpweb_mysql_total_reset()<br>
#4 {main}<br>
thrown in ...lib/exiterror.inc.php on line 159<br>
<br>
Any advice?<br>
<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank" title="Este enlace externo se abrirá en
una nueva ventana"><span style="text-decoration:none"><img border="0" id="_x0000_i1025" src="../images/spacer.png" alt="chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank" title="Este enlace externo se
abrirá en una nueva ventana"><span style="text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1026" src="../images/spacer.png"></span></a><br>
<a href="http://chandia.net/content/nmt" target="_blank" title="Este enlace externo se
abrirá en una nueva ventana">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana">
Dungupeyem</a> | <a href="http://corlexim.cl" target="_blank" title="Este enlace
externo se abrirá en una nueva ventana">
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana">Parles.upf</a> |
<a href="http://amindterapia.com" target="_blank" title="Este enlace
externo se abrirá en una nueva ventana">
Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="Este enlace externo se abrirá en
una nueva ventana">
ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P</span> <span style="font-size:10.0pt;color:#4F6228">
No imprima innecesariamente. ¡Cuide el medio ambiente!</span> <br>
<br>
<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana"><span style="text-decoration:none"><img border="0" id="_x0000_i1027" src="../images/spacer.png" alt="chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana"><span style="text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1028" src="../images/spacer.png"></span></a><br>
<a href="http://chandia.net/content/nmt" target="_blank" title="Este enlace externo se abrirá en
una nueva ventana">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Dungupeyem</a> | <a href="http://corlexim.cl" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Parles.upf</a> |
<a href="http://amindterapia.com" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="Este enlace
externo se abrirá en una nueva ventana">
Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana">
Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank" title="Este enlace externo se abrirá en
una nueva ventana">
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P</span> <span style="font-size:10.0pt">
No imprima innecesariamente. ¡Cuide el medio ambiente!</span> <br>
<br>
<br>
_______________________<br>
andrés chandía<br>
<a href="http://www.chandia.net" target="_blank" title="Este enlace externo se abrirá en una
nueva ventana"><span style="text-decoration:none"><img border="0" id="_x0000_i1029" src="../images/spacer.png" alt="chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank" title="Este enlace externo se abrirá
en una nueva ventana"><span style="text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1030" src="../images/spacer.png"></span></a><br>
<a href="http://chandia.net/content/nmt" target="_blank" title="Este enlace externo se abrirá en una nueva
ventana">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" target="_blank" title="Este
enlace externo se abrirá en una nueva ventana">
Dungupeyem</a> | <a href="http://corlexim.cl" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">Parles.upf</a> |
<a href="http://amindterapia.com" target="_blank" title="Este enlace externo se abrirá en una
nueva ventana">
Amind terapia</a> | <a href="http://koyaktumapuche.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando" target="_blank" title="Este enlace externo se
abrirá en una nueva ventana">
Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net" target="_blank" title="Este enlace externo se abrirá
en una nueva ventana">
ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net" target="_blank" title="Este enlace externo se abrirá en una nueva ventana">
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P</span> <span style="font-size:10.0pt;color:#4F6228">
No imprima innecesariamente. ¡Cuide el medio ambiente!</span> <br>
<br>
<br>
_______________________<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andrés chandía<br>
<a href="http://www.chandia.net" target="_blank"><span style="text-decoration:none"><img border="0" id="_x0000_i1031" src="http://mail.chandia.net/images/chandia_net.png" alt="chandia.net"></span></a><a href="https://twitter.com/andreschandia" target="_blank"><span style="text-decoration:none"><img border="0" width="20" height="20" id="_x0000_i1032" src="http://mail.chandia.net/images/ico_tw.png"></span></a><br>
<a href="http://chandia.net/content/nmt" title="Unificador ortogràfico de mapudungun">NMT</a> |
<a href="http://chandia.net/content/dungupeyem" title="Analizador y generador mofológico de
mapudungun">
Dungupeyem</a> | <a href="http://corlexim.cl" title="Corpus lexicográfico de
mapudungun">
Corlexim</a><br>
<br>
administrador de:<br>
<a href="http://parles.upf.edu">Parles.upf</a> | <a href="http://amindterapia.com">
Amind terapia</a> | <a href="http://koyaktumapuche.net">Mapuche koyaktu</a> | <a href="http://parles.upf.edu/llocs/nocando">
Nocando</a> |<br>
mail: <a href="http://mail.corporacionkoyaktu.net">ONG Mapuche koyaktu</a> | <a href="http://mail.psicoaching.net">
Psicoaching</a> |<br>
<span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P</span> <span style="font-size:10.0pt">
No imprima innecesariamente. ¡Cuide el medio ambiente!</span><o:p></o:p></p>
</div>
</body>
</html>