[CWB] CQPweb Autosetup Warning

Frenken, Florian florian.frenken at ifaar.rwth-aachen.de
Tue May 19 19:13:36 CEST 2020


Hi again,


After your last email (again, thanks for the quick advice!) I figured it'd be a better idea to just install CQPweb manually instead of trying to fix an outdated version. By jumping to the trunk repository, I was now a bit overambitious perhaps. While I managed to fix two prior errors, I am now stuck on the following message when running the autosetup script:


"PHP Warning:  mysqli::escape_string(): Couldn't fetch mysqli in /var/www/html/cqpweb/lib/sql-lib.php on line 352
PHP Warning:  mysqli::escape_string(): Couldn't fetch mysqli in /var/www/html/cqpweb/lib/sql-lib.php on line 352
PHP Warning:  mysqli::escape_string(): Couldn't fetch mysqli in /var/www/html/cqpweb/lib/sql-lib.php on line 352

Invalid user name specified at database level"

Not sure whether this could be a permission issue, since the user name should be unproblematic. It seems like the program fails on the "cqpweb_startup_environment(CQPWEB_STARTUP_DONT_CONNECT_CQP , RUN_LOCATION_CLI); line, but I have no idea what causes it.

As for the other two other problems I encountered, I don't know if they're already known, but just in case they are of interest to you:

  1.  The "default_keyness_calc_stat" is not assigned to the global Config variable in autosetup.php which led to an SQL error when setting the user_info in useracct-lib.php. Adding it fixed the issue.
  2.  The "n_texts" field in sql-definitions.php for create the text_metadata_values table contained some additional whitespace which, again, led to an SQL error. Removing it also solved that problem.

Best,
Florian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20200519/066a355b/attachment.html>


More information about the CWB mailing list