[CWB] Bug in CQPweb 3.2.6 Revision 765

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Feb 17 23:20:00 CET 2016


Well, 5.3 is obsolete and unsupported, so that's not good. (Note the 2012 data on the copyright line. You are running without the last 4 years of security fixes....)

I've amended the code to avoid the unsupported syntax. But sometime soon I am going to simply bump the minimum PHP requirement up to a still-supported version.

best

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Jörg Knappen
Sent: 17 February 2016 10:49
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] Bug in CQPweb 3.2.6 Revision 765

Hallo Andrew,

Zitat von "Hardie, Andrew" <a.hardie at lancaster.ac.uk>:

> What version of PHP are you running?

I am running

php --version
PHP 5.3.17 (cli)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

This is the newest php version supported by SLES 11 SP 3 (the  
operating system of our server).

--Jörg

>
> There is a syntax construction on that line that very old versions  
> do not support (array index applied to function return).
>
> http://php.net/supported-versions.php
>
> best
>
> Andrew.
>
> -----Original Message-----
> From: cwb-bounces at sslmit.unibo.it  
> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Jörg Knappen
> Sent: 17 February 2016 10:13
> To: cwb at sslmit.unibo.it
> Subject: [CWB] Bug in CQPweb 3.2.6 Revision 765
>
> Hallo,
>
> The following does not work:
>
> Select a corpus
> Query something, e.g. [word="word"]
> Klick on the query string in the KWIC view
>
> The output is nothing (in firefox, I see just a blank page)
>
> There is the following error message in error_log of the Apache 2.4  
> webserver:
>
> [Wed Feb 17 11:07:00.244465 2016] [fcgid:warn] [pid 50085:tid
> 140514590492416] [
> client 134.96.90.27:53453] mod_fcgid: stderr: PHP Parse error:  syntax
> error, un
> expected '[' in /data2/htdocs/cqpweb/lib/context.inc.php on line 185,
> referer: h
> ttp://test.clarin-d.uni-saarland.de/cqpweb/dascitex/concordance.php?theData=%5Bw
> ord%3D%22optics%22%5D&qmode=cqp&pp=50&del=begin&t=&del=end&uT=y
>
>
> Greetings from Saarbrücken,
>
> Jörg
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list