[CWB] Error in sql-lib.php

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon May 20 01:07:02 CEST 2019


This warning is not an error. The code it refers to is not actually used (it’s been put in place for the next version).

The 3 bugs you reported in the corpus admin gizmos are now fixed. Thanks for spotting them!

best

Andrew.



From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Scott Sadowsky
Sent: 18 May 2019 09:51
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Error in sql-lib.php

On Fri, May 17, 2019 at 4:46 PM Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> wrote:

Hi Andrew,

Thanks – this was a glitch I should have caught (the word “float” got pasted, somehow, at the end of a line where it should not have been), fixed now.

There appears to be a new problem with that file. It now throws this error:

PHP Warning:  usort() expects parameter 2 to be a valid callback, class 'SqlMbCollation' not found in /var/www/html/cqpweb/lib/sql-lib.php on line 1081

Cheers,
Scott


From: cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it> <cwb-bounces at sslmit.unibo.it<mailto:cwb-bounces at sslmit.unibo.it>> On Behalf Of Scott Sadowsky
Sent: 17 May 2019 00:08
To: Open source development of the Corpus WorkBench <CWB at liste.sslmit.unibo.it<mailto:CWB at liste.sslmit.unibo.it>>
Subject: Re: [CWB] Error in sql-lib.php

Sorry for replying to my own post, but I just tried copying revision 1204 of the Subversion repo (1205 is the current), and this solves the problem.

Cheers,
Scott

On Thu, May 16, 2019 at 7:02 PM Scott Sadowsky <ssadowsky at gmail.com<mailto:ssadowsky at gmail.com>> wrote:
Hi all,

When running sudo php autosetup.php, I'm now getting this error:

PHP Parse error:  syntax error, unexpected '$string' (T_VARIABLE) in /var/www/html/cqpweb/lib/sql-lib.php on line 1115

(Line 1115 seems to be the line that calls php autosetup.php in the script I'm working on).

I've been installing CWB, CQPweb and such from a script many times on various OSes over the last few days, and I haven't touched the CQPweb installation code, so I have to assume something happened to sql-lib.php.

Cheers,
Scott


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190519/4aa26309/attachment.html>


More information about the CWB mailing list