[CWB] Error in sql-lib.php
Hardie, Andrew
a.hardie at lancaster.ac.uk
Tue May 21 12:17:47 CEST 2019
Punctuation error bug. Now fixed. – A
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Scott Sadowsky
Sent: 21 May 2019 03:05
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] Error in sql-lib.php
Thanks for all your work, as always, Andrew.
I'm on a fresh install of revision 1208 and those errors no longer pop up. I am getting a new one, though:
PHP Fatal error: 'goto' to undefined label 'jump_over_inactive_code' in /var/www/html/cqpweb/lib/sql-definitions.php on line 100
And this one seems to cause real problems -- the default web page now throws the following error:
CQPweb encountered an error and could not continue.
An SQL query did not run successfully!
Original query: select * from corpus_info where `owner` IS NULL order by corpus asc /* from User: ??? | Function: get_all_corpora_info() | 2019-May-20 23:03 */
Error # 1146: Table 'cqpweb.corpus_info' doesn't exist
Cheers,
Scott
On Sun, May 19, 2019 at 7:07 PM Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> wrote:
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<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: 18 May 2019 09:51
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it<mailto: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
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it<mailto:CWB at sslmit.unibo.it>
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
--
Dr. Scott Sadowsky
Profesor Asistente de Lingüística
Pontificia Universidad Católica de Chile
ssadowsky gmail com
scsadowsky uc cl
http://sadowsky.cl/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190521/7c94ceeb/attachment-0001.html>
More information about the CWB
mailing list