[CWB] [CQPweb] Can't install new corpora

Hardie, Andrew a.hardie at lancaster.ac.uk
Sat Jun 22 00:42:39 CEST 2019


This one…

>>] PHP Warning:  chmod(): Operation not permitted

… indicates that the Apache user may not have full ownership of the main web folder. But that’s not the main error.

This one, >> PHP Notice:  Trying to get property 'indexing_notes' of non-object

and this one >> Core critical error: invalid corpus handle submitted to database

are both effects of the database not having an entry for the corpus you created.  So that’s the problem.

I don’t know what has happened here. Is there anything else informative in the log?

Andrew.


From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Scott Sadowsky
Sent: 21 June 2019 09:59
To: Open source development of the Corpus WorkBench <CWB at liste.sslmit.unibo.it>
Subject: [CWB] [CQPweb] Can't install new corpora

This seems to have cropped up between 1249 (or perhaps a bit earlier) and 1253. When I do...

Corpora > Install new corpus > Click here to install a corpus you have already indexed in CWB > [FILL IN FIELDS] > Install corpus with settings above

...the operation is far too fast, and the following errors pop up in my Apache log:

[Fri Jun 21 04:43:21.226946 2019] [php7:warn] [pid 883] [client 192.168.0.1:33476<http://192.168.0.1:33476>] PHP Warning:  chmod(): Operation not permitted in /var/www/html/cqpweb/lib/admin-install-lib.php on line 530, referer: http://192.168.0.1/adm/index.php?ui=installCorpusIndexed

[Fri Jun 21 04:43:21.256755 2019] [php7:notice] [pid 883] [client 192.168.0.1:33476] PHP Notice:  Trying to get property 'indexing_notes' of non-object in /var/www/html/cqpweb/lib/html-lib.php on line 1251, referer: http://192.168.0.1/adm/index.php?ui=installCorpusIndexed

If I then proceed to Design and insert a text-metadata table for the corpus, I get this error: "Core critical error: invalid corpus handle submitted to database."

Everything I do before adding the Corpus to CQPweb is done through scripts, including setting permissions, so the cause really shouldn't be something I'm doing.

Best,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190621/f6c80378/attachment-0001.html>


More information about the CWB mailing list