[CWB] CQPweb installation / POS frequencies

Graham Ranger -- UAPV graham.ranger at univ-avignon.fr
Sun Oct 9 18:40:39 CEST 2016


OK, thanks for this, Andrew. It was the technical staff at the 
university who installed 3.2.11, probably just from the sourceforge page.
Will report back if and when things sort themselves out, with the hope 
that this might help other users.
Best,
Graham.

Le 09/10/2016 18:18, Hardie, Andrew a écrit :
> You're on 3.2.11? That might explain a certain amount. It's 7 months old and contains now-fixed bugs (like the one that caused that error message, actually).
>
> best
>
> Andrew.
>
> -----Original Message-----
> From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Graham Ranger -- UAPV
> Sent: 09 October 2016 17:16
> To: Open source development of the Corpus WorkBench
> Subject: Re: [CWB] CQPweb installation / POS frequencies
>
> Thanks for this, Andrew. I think the error in the Apache server log is:
> "PHP Catchable fatal error:  Object of class DbType could not be
> converted to string in /var/www/html/CQPweb-3.2.11/lib/db.inc.php on
> line 600, referer:
> http://cqpweb.univ-avignon.fr/flaubert_romans/concordance.php?theData=est&qmode=sq_nocase&pp=50&del=begin&t=&del=end&uT=y"
> I've changed various permissions, etc. but I think I'll have to talk
> this through with the server administrator tomorrow before I can move
> forward!
> Best,
> Graham.
>
>
> Le 09/10/2016 17:26, Hardie, Andrew a écrit :
>> All these functions go through the script "exe/redirect.php"
>>
>> Each corpus' web-folder "name_of_corpus" is a symlink to "exe"
>>
>> And the actual link from the concordance menu is then to "name_of_corpus/redirect.php"
>>
>> So, if you can't get to "name_of_corpus/redirect.php" it does indeed suggest that something is wrong with your symlink.
>>
>> Again, there *should* be a message in your server log explaining what the cause of the blank screen was. It will probably be some kind of file-not-found message, due to the above.
>>
>> Hope this helps,
>>
>> best
>>
>> Andrew.
>>
>>
>> -----Original Message-----
>> From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Graham Ranger -- UAPV
>> Sent: 09 October 2016 16:20
>> To: cwb at sslmit.unibo.it
>> Subject: Re: [CWB] CQPweb installation / POS frequencies
>>
>> A quick update: I was needlessly specific in the last message. In fact
>> none of the drop-down menu options for Frequency, Distribution, Sort and
>> Collocations work (leading to a blank page), whether on part-of-speech
>> searches or on word tokens. The same queries work fine on the local
>> machine, so could this be a result of the symlink I created to work
>> around the permissions question?
>> Best,
>> Graham.
>>
>> Le 09/10/2016 16:53, Graham Ranger -- UAPV a écrit :
>>> Many thanks for this, Andrew. Yes, that appeared to be the problem. I
>>> sudoed into the machine, created a symlink pointing to the php
>>> scripts, and that seemed to fix things.
>>> Everything now appears to be up and running... except for frequency
>>> queries.
>>> A query for _ADJ will give me all the adjectives in the corpus, in the
>>> corpus order. A subsequent query for "Frequency breakdowns" leads
>>> however to an empty page. I've tried deleting and recreating frequency
>>> tables, deleting the cache, etc. but to no avail.
>>> Again, any help anybody might like to suggest would be appreciated.
>>> Best,
>>> Graham.
>>>
>>>
>>> Le 09/10/2016 14:02, Hardie, Andrew a écrit :
>>>> The most likely explanation is that your web daemon does not have the
>>>> appropriate permission to create the folder " flaubert_romans "
>>>> (actually a symlink) in the main CQPweb directory.
>>>>
>>>> There would indeed have been a message earlier, but it would most
>>>> likely appear in your server's error log.
>>>>
>>>> best
>>>>
>>>> Andrew.
>>>>
>>>> -----Original Message-----
>>>> From: cwb-bounces at sslmit.unibo.it
>>>> [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Graham Ranger -- UAPV
>>>> Sent: 09 October 2016 11:21
>>>> To: cwb at sslmit.unibo.it
>>>> Subject: [CWB] CQPweb installation
>>>>
>>>> Hello all,
>>>> I'm trying to set up a French language corpus on CQPweb and am running
>>>> into problems at "Design and insert a text-metadata table...".
>>>> I did a dry run first, on CQPweb-in-a-box and managed a full
>>>> installation but on CQPweb I'm getting the following error message
>>>>
>>>> "The requested URL /flaubert_romans/index.php was not found on this
>>>> server."
>>>>
>>>> It looks like it might be a permissions problem, but then I would have
>>>> expected a message earlier.
>>>> As always, any help will be very gratefully received!
>>>> Best wishes,
>>>> Graham.
>>>>
>>>> _______________________________________________
>>>> CWB mailing list
>>>> CWB at sslmit.unibo.it
>>>> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>>>> _______________________________________________
>>>> CWB mailing list
>>>> CWB at sslmit.unibo.it
>>>> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>>> _______________________________________________
>>> CWB mailing list
>>> CWB at sslmit.unibo.it
>>> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb



More information about the CWB mailing list