[CWB] [CQPweb] Install error: sql-definitions.inc.php nowhere to be found

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed May 8 07:55:04 CEST 2019


That’s very peculiar… I’m not aware of any script that references that file. Certainly I don’t believe it’s mentioned in autosetup. Is there any more to the error message?

Andrew.

From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Scott Sadowsky
Sent: 07 May 2019 23:23
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] [CQPweb] Install error: sql-definitions.inc.php nowhere to be found

Thanks very much, Andrew -- that solved the problem!

However, I'm now getting a similar error with /var/www/html/cqpweb/lib/template.config.inc.php not existing (revision 1180). Could you have a look at that, please?

Best wishes,
Scott



On Tue, May 7, 2019 at 3:59 PM Hardie, Andrew <a.hardie at lancaster.ac.uk<mailto:a.hardie at lancaster.ac.uk>> wrote:
Hi Scott,

Thanks for the bug report. Fixed in repo.

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: 07 May 2019 18:01
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it<mailto:cwb at sslmit.unibo.it>>
Subject: [CWB] [CQPweb] Install error: sql-definitions.inc.php nowhere to be found

Hi all,

In installing the latest CQPweb, I'm getting an error when running /var/www/html/cqplib/bin/autosetup.php:

PHP Warning:  require(../lib/sql-definitions.inc.php): failed to open stream: No such file or directory in /var/www/html/cqpweb/bin/autosetup.php on line 38
PHP Fatal error: require(): Failed opening required '../lib/sql-definitions.inc.php' (include_path='.:/usr/share/php') in /var/www/html/cqpweb/bin/autosetup.php on line 38.

Like the script, I would expect sql-definitions.inc.php to be in /var/www/html/cqplib/lib/, but it's not -- though the tantalizingly similar sql-definitions.php is there. Furthermore, locate reveals that there is no sql-definitions.inc.php anywhere on my system, in spite of having done svn co and svn up multiple times, deleted everything and started over, etc. And it's not in the repo<http://svn.code.sf.net/p/cwb/code/gui/cqpweb/trunk/lib/>, either, so I'm at a loss.

Any ideas?

Cheers,
Scott

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20190508/30900627/attachment-0001.html>


More information about the CWB mailing list