[CWB] [CQPweb]: optional configuration variables not working
Hardie, Andrew
a.hardie at lancaster.ac.uk
Thu Jan 30 05:05:38 CET 2014
You need semi-colons at the end of each assignment.
best
Andrew.
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Markus Killer
Sent: 29 January 2014 22:27
To: cwb at sslmit.unibo.it
Subject: [CWB] [CQPweb]: optional configuration variables not working
Hi Andrew,
I've been trying out some of the optional configuration variables (CQPweb 3.1.1, @rev518)
$path_to_cwb, $path_to_perl and $homepage_logo_left seem to work as expected.
But when I set the following variables in lib/config.inc.php, I get a PHP Parse error:
//$homepage_welcome_message = 'WELCOME to CQPweb at langui.ch<mailto:CQPweb at langui.ch>'
//$searchpage_corpus_name_suffix = 'powered by CQPweb at langui.ch<mailto:CQPweb at langui.ch>'
//$cqpweb_root_url = 'http://at.langui.ch/CQPweb-beta'
//$cqpweb_email_from_address = 'CQPweb at langui.ch'
//$allow_account_self_registration = false
//$account_create_contact = "<a href=\"mailto:CQPweb at langui.ch\">CQPweb at langui.ch</a<mailto:CQPweb at langui.ch%3c/a>>"
I've tested them individually, commenting out all but one at a time, each of them causes the browser to display an empty page. As soon as all of them are commented out, the main page is displayed correctly.
[/var/log/apache2/error.log]
[Wed Jan 29 23:02:37 2014] [error] [client 127.0.0.1] PHP Parse error: syntax error, unexpected T_VARIABLE in /opt/cl/cwb-dev/cqpweb/lib/config.inc.php on line 44, referer: http://localhost/CQPweb-dev/adm/index.php?thisF=manageProcesses&uT=y
Best wishes,
Markus
project webpage: http://langui.ch<http://langui.ch/> /'læŋgwɪdʒ/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140130/9e64c118/attachment.html>
More information about the CWB
mailing list