[CWB] [CQPweb]: optional configuration variables not working

Markus Killer markus.killer at uzh.ch
Wed Jan 29 23:26:49 CET 2014




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'//$searchpage_corpus_name_suffix = 'powered by 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>"
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 /'læŋgwɪdʒ/

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140129/799e278b/attachment.html>


More information about the CWB mailing list