[CWB] Errors in the auto-setup file of CQPweb

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Jul 29 12:38:53 CEST 2015


Hi Xiaoyan,

Which SVN version is this?

Please bear in mind my warning from a few weeks ago that the version of CQPweb in the most current repo is *broken* while I manage the transition from 3.1.16 to 3.2.0.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Xiaoyan Tang
Sent: 29 July 2015 07:28
To: cwb at sslmit.unibo.it
Subject: [CWB] Errors in the auto-setup file of CQPweb

Dear All,

I got the following error when I tried to install CQPweb using the auto-setup script.

PHP Fatal error:  Call to undefined function print_html_footer() in /var/www/html/CQPweb/lib/exiterror.inc.php on line 159

But I found that the problem was not the function, but in the file /CQPweb/lib/admin-lib.inc.php.

1. Line 1325

`access_statement` TEXT default NULL

A comma should be added to the end of this line.

`access_statement` TEXT default NULL,

2. Line 1513

`text_list`,

The name of the column was not followed by a data type. I changed it to

`text_list` varchar(255),

After modifying these two lines, I can successfully install CQPweb using the script.
If you encounter the same problem, my solutions may help.

Best,

Xiaoyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20150729/316d2e9e/attachment.html>


More information about the CWB mailing list