[CWB] Error creating new user

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Oct 17 04:48:25 CEST 2016


This error appears to arise from an empty variable being set for the initial collocation statistic variable. However, I am stumped as to how that might be – there is code in defaults.inc.php which supplies a default value if this variable is left empty.

What do you have in your config file for the variable $default_colloc_calc_stat ?

best

Andrew.

From: "Andrés Chandía" [mailto:andres at chandia.net]
Sent: 13 October 2016 09:35
To: Hardie, Andrew
Cc: Open source development of the Corpus WorkBench
Subject: Error creating new user

A MySQL query did not run successfully!



Original query: INSERT INTO user_info ( username, realname, email, passhash, acct_status, expiry_time, acct_create_time, conc_kwicview, conc_corpus_order, cqp_syntax, context_with_tags, use_tooltips, thin_default_reproducible, coll_statistic, coll_freqtogether, coll_freqalone, coll_from, coll_to, max_dbsize, linefeed ) VALUES ( 'jhuser', 'unknown person', 'jhuser at upf.edu', '$2a$11$......................yl0Kl8h3xhUATbrHP7sKOq.GXmLA0AS', 0, 0, CURRENT_TIMESTAMP, 1, 1, 0, 0, 1, 1, , 5, 5, -3, 3, 1000000, 'au' ) /* from User: admin | Function: do_append_mysql_comment() | 2016-Oct-13 08:30:56 */

Error # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 5, 5, -3, 3, 1000000, 'au' ) /* from User: admin | Function: do' at line 38

_______________________
            andrés chandía
NMT<http://chandia.net/content/nmt> | Dungupeyem<http://chandia.net/content/dungupeyem> | Corlexim<http://chandia.net/corlexim>

administrador de:
Parles.upf<http://parles.upf.edu> | Delingua<http://www.delingua.es> | Amind terapia<http://amindterapia.com> | Mapuche koyaktu<http://koyaktumapuche.net> | Nocando<http://parles.upf.edu/llocs/nocando> |
mail: ONG Mapuche koyaktu<http://mail.corporacionkoyaktu.net> | Psicoaching<http://mail.psicoaching.net> |

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20161017/73f908ab/attachment.html>


More information about the CWB mailing list