[CWB] Bug in CQPweb 3.2.6 Revision 765

Jörg Knappen j.knappen at mx.uni-saarland.de
Thu Feb 18 10:55:58 CET 2016


Thank you, Andrew, for the patch.


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

> 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....)

Somehow there are security fixes in SLES 11 even to very old and  
outdated packages. But we seriously consider re-building our servers  
on a less conservative Linux platform.

> 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.

Thanks for the patch again, it works flawlessly (I have applied and  
tested it).

Greetings,

Jörg

> 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
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://devel.sslmit.unibo.it/mailman/listinfo/cwb





More information about the CWB mailing list