[CWB] Error updating cqpweb

Jörg Knappen j.knappen at mx.uni-saarland.de
Tue Jan 7 17:56:15 CET 2020


I tried to update our cqpweb installation to the most recent developer 
version (revision 1406) and got the following error:

sudo php bin/upgrade-database.php
PHP Parse error:  syntax error, unexpected ']', expecting '-' or 
identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) 
in /data2/htdocs/cqpweb/bin/upgrade-database.php on line 321


Trying to run it without database upgrade produced a similar runtime 
error from a different code location:

[Tue Jan 07 17:47:08.603359 2020] [php7:emerg] [pid 2503] [client 
xxx.yyy.zzz.aaa:49958] PHP Parse error:  syntax error, unexpected '' 
(T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or 
variable (T_VARIABLE) or number (T_NUM_STRING) in 
/data2/htdocs/cqpweb/lib/sql-lib.php on line 2128

--Jörg Knappen




More information about the CWB mailing list