[CWB] Error in sql-lib.php

Scott Sadowsky ssadowsky at gmail.com
Sat May 18 10:51:28 CEST 2019


On Fri, May 17, 2019 at 4:46 PM Hardie, Andrew <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 <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>
> *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>
> 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/20190518/d388eff2/attachment-0001.html>


More information about the CWB mailing list