[CWB] Trouble Designing Subcorpora – Blank Page

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Nov 2 02:32:30 CET 2015


This is a bug, thanks - I had a note of this as something that *might* cause an issue but had not established that it actually *would*.

This will be fixed in my next commit, but if you want it patched now, find the following line in subcorpus-admin.inc.php:

  require('../lib/queryhome.inc.php');

and replace it with this:

  header('Location: ' . url_absolutify('index.php?thisQ=subcorpus&subcorpusFunction=list_of_files&uT=y'));

best

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Silvio Fuchs
Sent: 30 October 2015 07:21
To: cwb at sslmit.unibo.it
Subject: [CWB] Trouble Designing Subcorpora – Blank Page

Hi Andrew

Thank you for the hint, there is something indeed:

[Fri Oct 30 07:13:33.808369 2015] [:error] [pid 3138] [client ::1:58401] PHP Notice:  Undefined index: action in /var/www/html/cqpweb/lib/subcorpus-admin.inc.php on line 70, referer: http://localhost/cqpweb/politcorp/index.php?subcorpusCreateMethod=metadata_scan&subcorpusFunction=define_subcorpus&thisQ=subcorpus&uT=y
[Fri Oct 30 07:13:33.810681 2015] [:error] [pid 3138] [client ::1:58401] PHP Fatal error:  Cannot redeclare class CQPwebEnvConfig in /var/www/html/cqpweb/lib/environment.inc.php on line 169, referer: http://localhost/cqpweb/politcorp/index.php?subcorpusCreateMethod=metadata_scan&subcorpusFunction=define_subcorpus&thisQ=subcorpus&uT=y


I looked at those lines in the files, however, I don’t really know what to do about it.

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


More information about the CWB mailing list