<div dir="ltr">I&#39;m trying to install the new 3.2 latest branch of CQPweb, and I&#39;ve run into a bunch of SQL errors (see below).<div><br></div><div>Just in case it&#39;s relevant, I&#39;m using the CQPweb repo  here...</div><div><ul><li><font face="courier new, monospace"><a href="https://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2-latest">https://svn.code.sf.net/p/cwb/code/gui/cqpweb/branches/3.2-latest</a></font></li></ul><div>...but the CQP, CQP-DOC and CQP-PERL repos here...<br></div><ul><li><font face="courier new, monospace"><a href="http://svn.code.sf.net/p/cwb/code/cwb/trunk">http://svn.code.sf.net/p/cwb/code/cwb/trunk</a> cwb<br></font></li><li><font face="courier new, monospace"><a href="http://svn.code.sf.net/p/cwb/code/doc">http://svn.code.sf.net/p/cwb/code/doc</a> cwb-doc</font></li><li><font face="courier new, monospace"><a href="http://svn.code.sf.net/p/cwb/code/perl/trunk">http://svn.code.sf.net/p/cwb/code/perl/trunk</a> cwb-perl</font></li></ul></div><div>Best wishes,</div><div>Scott</div><div><br></div><div>The error follows:<br></div><div><br></div><div><font face="courier new, monospace">Now finalising setup for this installation of CQPweb....<br>Installing database structure; please wait.<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined offset: 3 in /var/www/html/cqpweb/lib/sql-lib.php on line 167<br>PHP Notice:  Undefined property: NotAFullConfig::$Api in /var/www/html/cqpweb/lib/exiterror-lib.php on line 262<br>An SQL query did not run successfully!<br>Original query: <br>CREATE TABLE `user_info` (<br>`id`                         int unsigned NOT NULL AUTO_INCREMENT,<br>`username`                   varchar(64)   CHARSET ascii COLLATE ascii_bin NOT NULL,<br>`realname`                   varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`email`                      varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`affiliation`                varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`country`                    char(2)  CHARSET ascii COLLATE ascii_bin default &#39;00&#39;,<br>`passhash`                   char(61) CHARSET ascii COLLATE ascii_bin default &#39;&#39;,<br>`acct_status`                tinyint(2) unsigned NOT NULL default 0, <br>`verify_key`                 varchar(32) CHARSET ascii COLLATE ascii_bin default NULL,<br>`expiry_time`                int unsigned NOT NULL default 0,<br>`password_locked`            tinyint(1) NOT NULL default 0,<br>`password_expiry_time`       int unsigned NOT NULL default 0,<br>`last_seen_time`             timestamp NOT NULL default &quot;1970-01-01 00:00:00&quot;,  ### TODO  rename to date_last_visited<br>`acct_create_time`           timestamp NOT NULL default CURRENT_TIMESTAMP,   ### TODO  rename to date_acct_created<br>`conc_kwicview`              tinyint(1) NOT NULL default 1,<br>`conc_corpus_order`          tinyint(1) NOT NULL default 1,<br>`cqp_syntax`                 tinyint(1) NOT NULL default 0,<br>`context_with_tags`          tinyint(1) NOT NULL default 0,<br>`use_tooltips`               tinyint(1) NOT NULL default 1,<br>`css_monochrome`             tinyint(1) NOT NULL default 0,<br>`thin_default_reproducible`  tinyint(1) NOT NULL default 1,<br>`coll_statistic`             tinyint(2) unsigned NOT NULL default 0, <br>##TODO,`key_statistic`   tinyint(2) unsigned NOT NULL default 0<br>## the collocation prefs default to 0 because their defaults are set in config.php, and imported into new user records. <br>`coll_freqtogether`          smallint unsigned NOT NULL default 0, <br>`coll_freqalone`             smallint unsigned NOT NULL default 0, <br>`coll_from`                  tinyint NOT NULL default 0,<br>`coll_to`                    tinyint NOT NULL default 0,<br>`max_dbsize`                 int unsigned default NULL,<br>`freqlist_altstyle`          tinyint(1) NOT NULL default 0, <br>`linefeed`                   enum (&quot;au&quot;, &quot;a&quot;, &quot;d&quot;, &quot;da&quot;) NOT NULL,<br>unique key (`username`),<br>primary key (`id`)<br>) ENGINE=InnoDB  <br>/* from User: ??? | In file:  @ line  | 2019-Jul-09 11:38 */<br>Error # 1067: Invalid default value for &#39;last_seen_time&#39;<br>PHP debugging backtrace<br>=======================<br>array(4) {<br>[1]=&gt;<br>array(4) {<br>[&quot;file&quot;]=&gt;<br>string(42) &quot;/var/www/html/cqpweb/lib/exiterror-lib.php&quot;<br>[&quot;line&quot;]=&gt;<br>int(367)<br>[&quot;function&quot;]=&gt;<br>string(9) &quot;exiterror&quot;<br>[&quot;args&quot;]=&gt;<br>array(3) {<br>[0]=&gt;<br>array(3) {<br>[0]=&gt;<br>string(38) &quot;An SQL query did not run successfully!&quot;<br>[1]=&gt;<br>string(2543) &quot;Original query: <br>CREATE TABLE `user_info` (<br>`id`                         int unsigned NOT NULL AUTO_INCREMENT,<br>`username`                   varchar(64)   CHARSET ascii COLLATE ascii_bin NOT NULL,<br>`realname`                   varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`email`                      varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`affiliation`                varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`country`                    char(2)  CHARSET ascii COLLATE ascii_bin default &#39;00&#39;,<br>`passhash`                   char(61) CHARSET ascii COLLATE ascii_bin default &#39;&#39;,<br>`acct_status`                tinyint(2) unsigned NOT NULL default 0, <br>`verify_key`                 varchar(32) CHARSET ascii COLLATE ascii_bin default NULL,<br>`expiry_time`                int unsigned NOT NULL default 0,<br>`password_locked`            tinyint(1) NOT NULL default 0,<br>`password_expiry_time`       int unsigned NOT NULL default 0,<br>`last_seen_time`             timestamp NOT NULL default &quot;1970-01-01 00:00:00&quot;,  ### TODO  rename to date_last_visited<br>`acct_create_time`           timestamp NOT NULL default CURRENT_TIMESTAMP,   ### TODO  rename to date_acct_created<br>`conc_kwicview`              tinyint(1) NOT NULL default 1,<br>`conc_corpus_order`          tinyint(1) NOT NULL default 1,<br>`cqp_syntax`                 tinyint(1) NOT NULL default 0,<br>`context_with_tags`          tinyint(1) NOT NULL default 0,<br>`use_tooltips`               tinyint(1) NOT NULL default 1,<br>`css_monochrome`             tinyint(1) NOT NULL default 0,<br>`thin_default_reproducible`  tinyint(1) NOT NULL default 1,<br>`coll_statistic`             tinyint(2) unsigned NOT NULL default 0, <br>##TODO,`key_statistic`   tinyint(2) unsigned NOT NULL default 0<br>## the collocation prefs default to 0 because their defaults are set in config.php, and imported into new user records. <br>`coll_freqtogether`          smallint unsigned NOT NULL default 0, <br>`coll_freqalone`             smallint unsigned NOT NULL default 0, <br>`coll_from`                  tinyint NOT NULL default 0,<br>`coll_to`                    tinyint NOT NULL default 0,<br>`max_dbsize`                 int unsigned default NULL,<br>`freqlist_altstyle`          tinyint(1) NOT NULL default 0, <br>`linefeed`                   enum (&quot;au&quot;, &quot;a&quot;, &quot;d&quot;, &quot;da&quot;) NOT NULL,<br>unique key (`username`),<br>primary key (`id`)<br>) ENGINE=InnoDB  <br>/* from User: ??? | In file:  @ line  | 2019-Jul-09 11:38 */<br>&quot;<br>[2]=&gt;<br>string(57) &quot;Error # 1067: Invalid default value for &#39;last_seen_time&#39; &quot;<br>}<br>[1]=&gt;<br>NULL<br>[2]=&gt;<br>NULL<br>}<br>}<br>[2]=&gt;<br>array(4) {<br>[&quot;file&quot;]=&gt;<br>string(36) &quot;/var/www/html/cqpweb/lib/sql-lib.php&quot;<br>[&quot;line&quot;]=&gt;<br>int(213)<br>[&quot;function&quot;]=&gt;<br>string(18) &quot;exiterror_sqlquery&quot;<br>[&quot;args&quot;]=&gt;<br>array(3) {<br>[0]=&gt;<br>int(1067)<br>[1]=&gt;<br>string(42) &quot;Invalid default value for &#39;last_seen_time&#39;&quot;<br>[2]=&gt;<br>string(2523) &quot;CREATE TABLE `user_info` (<br>`id`                         int unsigned NOT NULL AUTO_INCREMENT,<br>`username`                   varchar(64)   CHARSET ascii COLLATE ascii_bin NOT NULL,<br>`realname`                   varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`email`                      varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`affiliation`                varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`country`                    char(2)  CHARSET ascii COLLATE ascii_bin default &#39;00&#39;,<br>`passhash`                   char(61) CHARSET ascii COLLATE ascii_bin default &#39;&#39;,<br>`acct_status`                tinyint(2) unsigned NOT NULL default 0, <br>`verify_key`                 varchar(32) CHARSET ascii COLLATE ascii_bin default NULL,<br>`expiry_time`                int unsigned NOT NULL default 0,<br>`password_locked`            tinyint(1) NOT NULL default 0,<br>`password_expiry_time`       int unsigned NOT NULL default 0,<br>`last_seen_time`             timestamp NOT NULL default &quot;1970-01-01 00:00:00&quot;,  ### TODO  rename to date_last_visited<br>`acct_create_time`           timestamp NOT NULL default CURRENT_TIMESTAMP,   ### TODO  rename to date_acct_created<br>`conc_kwicview`              tinyint(1) NOT NULL default 1,<br>`conc_corpus_order`          tinyint(1) NOT NULL default 1,<br>`cqp_syntax`                 tinyint(1) NOT NULL default 0,<br>`context_with_tags`          tinyint(1) NOT NULL default 0,<br>`use_tooltips`               tinyint(1) NOT NULL default 1,<br>`css_monochrome`             tinyint(1) NOT NULL default 0,<br>`thin_default_reproducible`  tinyint(1) NOT NULL default 1,<br>`coll_statistic`             tinyint(2) unsigned NOT NULL default 0, <br>##TODO,`key_statistic`   tinyint(2) unsigned NOT NULL default 0<br>## the collocation prefs default to 0 because their defaults are set in config.php, and imported into new user records. <br>`coll_freqtogether`          smallint unsigned NOT NULL default 0, <br>`coll_freqalone`             smallint unsigned NOT NULL default 0, <br>`coll_from`                  tinyint NOT NULL default 0,<br>`coll_to`                    tinyint NOT NULL default 0,<br>`max_dbsize`                 int unsigned default NULL,<br>`freqlist_altstyle`          tinyint(1) NOT NULL default 0, <br>`linefeed`                   enum (&quot;au&quot;, &quot;a&quot;, &quot;d&quot;, &quot;da&quot;) NOT NULL,<br>unique key (`username`),<br>primary key (`id`)<br>) ENGINE=InnoDB  <br>/* from User: ??? | In file:  @ line  | 2019-Jul-09 11:38 */&quot;<br>}<br>}<br>[3]=&gt;<br>array(4) {<br>[&quot;file&quot;]=&gt;<br>string(36) &quot;/var/www/html/cqpweb/lib/sql-lib.php&quot;<br>[&quot;line&quot;]=&gt;<br>int(1091)<br>[&quot;function&quot;]=&gt;<br>string(12) &quot;do_sql_query&quot;<br>[&quot;args&quot;]=&gt;<br>array(1) {<br>[0]=&gt;<br>string(2523) &quot;CREATE TABLE `user_info` (<br>`id`                         int unsigned NOT NULL AUTO_INCREMENT,<br>`username`                   varchar(64)   CHARSET ascii COLLATE ascii_bin NOT NULL,<br>`realname`                   varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`email`                      varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`affiliation`                varchar(255) CHARSET utf8 COLLATE utf8_general_ci default &#39;&#39;,<br>`country`                    char(2)  CHARSET ascii COLLATE ascii_bin default &#39;00&#39;,<br>`passhash`                   char(61) CHARSET ascii COLLATE ascii_bin default &#39;&#39;,<br>`acct_status`                tinyint(2) unsigned NOT NULL default 0, <br>`verify_key`                 varchar(32) CHARSET ascii COLLATE ascii_bin default NULL,<br>`expiry_time`                int unsigned NOT NULL default 0,<br>`password_locked`            tinyint(1) NOT NULL default 0,<br>`password_expiry_time`       int unsigned NOT NULL default 0,<br>`last_seen_time`             timestamp NOT NULL default &quot;1970-01-01 00:00:00&quot;,  ### TODO  rename to date_last_visited<br>`acct_create_time`           timestamp NOT NULL default CURRENT_TIMESTAMP,   ### TODO  rename to date_acct_created<br>`conc_kwicview`              tinyint(1) NOT NULL default 1,<br>`conc_corpus_order`          tinyint(1) NOT NULL default 1,<br>`cqp_syntax`                 tinyint(1) NOT NULL default 0,<br>`context_with_tags`          tinyint(1) NOT NULL default 0,<br>`use_tooltips`               tinyint(1) NOT NULL default 1,<br>`css_monochrome`             tinyint(1) NOT NULL default 0,<br>`thin_default_reproducible`  tinyint(1) NOT NULL default 1,<br>`coll_statistic`             tinyint(2) unsigned NOT NULL default 0, <br>##TODO,`key_statistic`   tinyint(2) unsigned NOT NULL default 0<br>## the collocation prefs default to 0 because their defaults are set in config.php, and imported into new user records. <br>`coll_freqtogether`          smallint unsigned NOT NULL default 0, <br>`coll_freqalone`             smallint unsigned NOT NULL default 0, <br>`coll_from`                  tinyint NOT NULL default 0,<br>`coll_to`                    tinyint NOT NULL default 0,<br>`max_dbsize`                 int unsigned default NULL,<br>`freqlist_altstyle`          tinyint(1) NOT NULL default 0, <br>`linefeed`                   enum (&quot;au&quot;, &quot;a&quot;, &quot;d&quot;, &quot;da&quot;) NOT NULL,<br>unique key (`username`),<br>primary key (`id`)<br>) ENGINE=InnoDB  <br>/* from User: ??? | In file:  @ line  | 2019-Jul-09 11:38 */&quot;<br>}<br>}<br>[4]=&gt;<br>array(4) {<br>[&quot;file&quot;]=&gt;<br>string(38) &quot;/var/www/html/cqpweb/bin/autosetup.php&quot;<br>[&quot;line&quot;]=&gt;<br>int(94)<br>[&quot;function&quot;]=&gt;<br>string(18) &quot;do_sql_total_reset&quot;<br>[&quot;args&quot;]=&gt;<br>array(0) {<br>}<br>}<br>}<br>PHP Notice:  Undefined property: NotAFullConfig::$Api in /var/www/html/cqpweb/lib/environment.php on line 1350<br>PHP Fatal error:  Uncaught Error: Call to undefined method NotAFullConfig::disconnect_slave_program() in /var/www/html/cqpweb/lib/environment.php:1354<br>Stack trace:<br>#0 /var/www/html/cqpweb/lib/exiterror-lib.php(284): cqpweb_shutdown_environment()<br>#1 /var/www/html/cqpweb/lib/exiterror-lib.php(367): exiterror(Array, NULL, NULL)<br>#2 /var/www/html/cqpweb/lib/sql-lib.php(213): exiterror_sqlquery(1067, &#39;Invalid default...&#39;, &#39;CREATE TABLE `u...&#39;)<br>#3 /var/www/html/cqpweb/lib/sql-lib.php(1091): do_sql_query(&#39;CREATE TABLE `u...&#39;)<br>#4 /var/www/html/cqpweb/bin/autosetup.php(94): do_sql_total_reset()<br>#5 {main}<br>thrown in /var/www/html/cqpweb/lib/environment.php on line 1354<br></font><div><br></div></div></div>