<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
1406 was a commit to the trunk. The trunk is still thoroughly broken until v3.3.0 is finished! The 3.2 branch works.</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
Andrew.</div>
<div id="ms-outlook-mobile-signature" data-ogsc="" style="text-align: left;" dir="auto">
<div><br>
</div>
</div>
<div id="id-b1cc88b3-957d-44c1-8072-c80aab87cfbc" class="ms-outlook-mobile-reference-message" data-ogsc="" style="">
<div style="font-family: sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg"><strong>From:</strong> cwb-bounces@sslmit.unibo.it <cwb-bounces@sslmit.unibo.it> on behalf of Jörg Knappen <j.knappen@mx.uni-saarland.de><br>
<strong>Sent:</strong> Tuesday, 7 January 2020, 5:03 pm<br>
<strong>To:</strong> cwb@sslmit.unibo.it<br>
<strong>Subject:</strong> [CWB] Error updating cqpweb<br>
</div>
<br>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
I tried to update our cqpweb installation to the most recent developer<br>
version (revision 1406) and got the following error:<br>
<br>
sudo php bin/upgrade-database.php<br>
PHP Parse error: syntax error, unexpected ']', expecting '-' or<br>
identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)<br>
in /data2/htdocs/cqpweb/bin/upgrade-database.php on line 321<br>
<br>
<br>
Trying to run it without database upgrade produced a similar runtime<br>
error from a different code location:<br>
<br>
[Tue Jan 07 17:47:08.603359 2020] [php7:emerg] [pid 2503] [client<br>
xxx.yyy.zzz.aaa:49958] PHP Parse error: syntax error, unexpected ''<br>
(T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or<br>
variable (T_VARIABLE) or number (T_NUM_STRING) in<br>
/data2/htdocs/cqpweb/lib/sql-lib.php on line 2128<br>
<br>
--Jörg Knappen<br>
<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
CWB@sslmit.unibo.it<br>
<a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;data=02%7C01%7Ca.hardie%40lancaster.ac.uk%7C31f839722e0d424c711508d793938773%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C1%7C637140134170197160&amp;sdata=LHgMxQmA3xxLLPI0OUMik1mys8zcPZr646YFbflo8xE%3D&amp;reserved=0" data-ogsc="" style="">https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;data=02%7C01%7Ca.hardie%40lancaster.ac.uk%7C31f839722e0d424c711508d793938773%7C9c9bcd11977a4e9ca9a0bc734090164a%7C1%7C1%7C637140134170197160&amp;sdata=LHgMxQmA3xxLLPI0OUMik1mys8zcPZr646YFbflo8xE%3D&amp;reserved=0</a></div>
</span></font><br>
</div>
</body>
</html>