[CWB] CQPweb 3.2.22-Concordance tool issue

Hardie, Andrew a.hardie at lancaster.ac.uk
Fri Aug 5 10:03:13 CEST 2016


Hi Umut,

You are exactly right: the cause is a PHP construction that was dodgy in v5 and flat out breaks in v7.

It is now fixed in svn.

best

Andrew.

From: cwb-bounces at liste.sslmit.unibo.it [mailto:cwb-bounces at liste.sslmit.unibo.it] On Behalf Of Umut Demirhan
Sent: 05 August 2016 07:51
To: cwb at sslmit.unibo.it
Subject: [CWB] CQPweb 3.2.22-Concordance tool issue

Dear Andrew,

I am having some problems with the generation of concordance lines after the subversion repository update and database upgrade.

The interface is shown properly; however, when I use concordance tool, it only generates  the information which consists of the number of hits returned, the total number of words in a corpus etc. without showing any concordance lines (see Capture.PNG).

A couple of months ago, I sent a message to discussion list concerning concordance lines of the words in the Word List Tool, and the reason of my problem was the PHP 7.0.
I suspect that this issue is somehow related to PHP 7.0.8-0ubuntu0.16.04.2.

I’m sending the Apache’s error log message below:

[Fri Aug 05 09:26:24.608288 2016] [:error] [pid 11174] [client 3.3.3.3:11505] PHP Fatal error:  Uncaught Error: Call to undefined method CQPwebEnvCorpus::visualise_gloss_in_concordance() in /var/www/html/cqpweb/lib/concordance-lib.inc.php:1253\nStack trace:\n#0 /var/www/html/cqpweb/lib/concordance-lib.inc.php(981): extract_cqp_word_and_tag('istedi\\xC4\\x9Fi', false, false)\n#1 /var/www/html/cqpweb/lib/concordance-lib.inc.php(828): concordance_line_blobprocess('  istedi\\xC4\\x9Fi bi\\xC3...', 'left', 100013, false)\n#2 /var/www/html/cqpweb/lib/concordance.inc.php(820): print_concordance_line('  istedi\\xC4\\x9Fi bi\\xC3...', Array)\n#3 /var/www/html/cqpweb/exe/concordance.php(1): require('/var/www/html/c...')\n#4 {main}\n  thrown in /var/www/html/cqpweb/lib/concordance-lib.inc.php on line 1253, referer: http://XXX.XXX.XXX.XX/cqpwebnew/tnc/


Thanks in advance,
Umut

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


More information about the CWB mailing list