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

Markus Killer markus.killer at uzh.ch
Thu Jan 30 07:10:43 CET 2014


Aaaargh, stupid me!! (plus, I'm really, really short-sighted ;-) )
 
The last variable doesn't need a semi-colon for it to work and I copied the last one ... 
 
Thanks!
Markus 
 

 
From: a.hardie at lancaster.ac.uk
To: cwb at sslmit.unibo.it
Date: Thu, 30 Jan 2014 04:05:38 +0000
Subject: Re: [CWB] [CQPweb]: optional configuration variables not working









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'



//$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ʒ/


 








_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140130/049c75b3/attachment-0001.html>


More information about the CWB mailing list