Hi Andrew,<div><br></div><div>I checked that to, and it seems everything is ok there too:</div><div><br></div><div><br></div><div><div>/* adminstrators&#39; usernames, separated by | */</div><div>/*$superuser_username = &#39;spintexweb|spintxweb&#39;;*/</div>

<div>$superuser_username = &#39;spintexweb&#39;;</div><div><br></div><div>The second line is because at some point I tried to use to the other user.</div><div><br></div><div>What shall I try no?</div><div><br></div><div>
a) reinstall CQPWeb from scratch?</div>
<div>b) try to debug php code?</div><div><br></div><div>Other alternatives?</div><div><br></div><div>Thanks in advance!</div><div>Martí</div><div><br></div><div><br></div><br><div class="gmail_quote">On Sun, Oct 7, 2012 at 1:57 PM,  <span dir="ltr">&lt;<a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send CWB mailing list submissions to<br>
        <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CWB digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: CQPweb (Hardie, Andrew)<br>
   2. Re: CQP: shared collocates (Aleksandar Trklja)<br>
   3. Re: CQPweb (Andr?s Chand?a)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 7 Oct 2012 12:51:12 +0000<br>
From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk">a.hardie@lancaster.ac.uk</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPweb<br>
Message-ID:<br>
        &lt;28078EC3FBF1B940A3EF3D0D19BE351D0D1A8D@EX-0-MB1.lancs.local&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi Mart?,<br>
<br>
This is not a problem with user permissions or the Apache logon, it is a problem within the CQPweb code itself.<br>
<br>
Find the file config.inc.php in the lib directory and check the line that declares the superuser. It should  look like this:<br>
<br>
$superuser_username = &#39;spintexweb&#39;;<br>
<br>
Does it?<br>
<br>
Since in your earlier mail you say that you mistyped the username first time round, I guess the problem is here.<br>
<br>
(IT?s best to avoid usernames with hyphens in them, by the way; and the absence of the CSS file has nothing to do with the issue!)<br>
<br>
best<br>
<br>
Andrew.<br>
<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>&gt; [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] On Behalf Of Mart? Quixal<br>


Sent: 07 October 2012 12:52<br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPweb<br>
<br>
Hi Andres, hi Andrew,<br>
<br>
I wrote a few hours ago, but it seems that my problem is similar to Andres&#39;, when he could log in with admin2. The difference is that I cannot log in even with admin (in my case called spintexweb)<br>
<br>
file .htgroup<br>
superusers: spintexweb<br>
<br>
file .htpasswd<br>
spintexweb:$apr1$JXkH5IeU$RnOa/bUHrsgV3ZqnRQhDc.<br>
<br>
file: ../adm/.htacces<br>
AuthUserFile ../AccessData/.htpasswd<br>
        AuthGroupFile ../AccessData/.htgroup<br>
        AuthName CQPweb<br>
        AuthType Basic<br>
        deny from all<br>
        require group superusers<br>
        satisfy any<br>
<br>
My problem is that <a href="http://localhost/spintx-web/adm/" target="_blank">http://localhost/spintx-web/adm/</a> does not load:<br>
<br>
<br>
CQPweb encountered an error and could not continue.<br>
<br>
You do not have permission to use this program.<br>
<br>
And in principle all user permissions are set ok for apache2&#39;s user as well as for mysql user (I created a group called cqpweb, which they all belong too):<br>
<br>
/Library/WebServer/Documents/spintx-web/adm<br>
<br>
sh-3.2# ls -l<br>
<br>
-rw-rw-r--  1 root       cqpweb  181 Oct  6 08:29 .htaccess<br>
<br>
-rw-rw-r--  1 spintxweb  cqpweb   51 Jun 11  2009 index.php<br>
<br>
-rw-rw-r--  1 spintxweb  cqpweb    9 Jun 11  2009 settings.inc.php<br>
<br>
Is there something you can suggest?<br>
<br>
Best<br>
<br>
mq<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121007/2a6295b2/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121007/2a6295b2/attachment-0001.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 7 Oct 2012 13:00:32 +0000<br>
From: Aleksandar Trklja &lt;<a href="mailto:AXT899@bham.ac.uk">AXT899@bham.ac.uk</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQP: shared collocates<br>
Message-ID:<br>
        &lt;<a href="mailto:A584B1A99417C443AD247357ADAEEE050A863AFE@mbx01.adf.bham.ac.uk">A584B1A99417C443AD247357ADAEEE050A863AFE@mbx01.adf.bham.ac.uk</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi Mart?,<br>
<br>
thank you for your reply. I&#39;m sorry my question was unclear.<br>
<br>
What I mean with &#39;shared collocates&#39; are the collocates that occur both with a word x and a word y. Say I want to find the collocates that &#39;almost&#39; and &#39;nearly&#39; share. The &#39;|&#39; function will show the collocates that occur with either of the two but not with both (e.g. &#39;almost&#39; occurs with &#39;certainly&#39; but not with &#39;nearly&#39;). So I guess I&#39;d need here something like an &#39;AND&#39; function instead of &#39;OR&#39;.<br>


<br>
Cheers<br>
Alex<br>
<br>
<br>
<br>
________________________________________<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>] on behalf of Mart? Quixal [<a href="mailto:marti.quixal@gmail.com">marti.quixal@gmail.com</a>]<br>


Sent: 07 October 2012 13:01<br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
Subject: Re: [CWB] CQP: shared collocates (Aleksandar Trklja)<br>
<br>
Hi Aleksander,<br>
<br>
I don&#39;t know if I understand your question, but do you mean this?<br>
<br>
DICKENS&gt; &quot;.*&quot; &quot;year|people&quot;;<br>
2077 matches. Use &#39;cat&#39; to show.<br>
DICKENS&gt; group Last match lemma;<br>
#---------------------------------------------------------------------<br>
(none)                        the                                  355<br>
                              of                                   168<br>
                              a                                    150<br>
                              other                                100<br>
                              some                                  65<br>
(...)<br>
<br>
For more on group check this:<br>
<a href="http://cwb.sourceforge.net/files/CQP_Tutorial/node20.html" target="_blank">http://cwb.sourceforge.net/files/CQP_Tutorial/node20.html</a><br>
<br>
Best<br>
mq<br>
On Sun, Oct 7, 2012 at 5:00 AM, &lt;<a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a>&gt;&gt; wrote:<br>
Send CWB mailing list submissions to<br>
        <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a>&gt;<br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb-owner@sslmit.unibo.it">cwb-owner@sslmit.unibo.it</a>&gt;<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CWB digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1.  CQP: shared collocates (Aleksandar Trklja)<br>
   2. Installing CQPWeb (Mart? Quixal)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 6 Oct 2012 09:12:46 +0000<br>
From: Aleksandar Trklja &lt;<a href="mailto:AXT899@bham.ac.uk">AXT899@bham.ac.uk</a>&lt;mailto:<a href="mailto:AXT899@bham.ac.uk">AXT899@bham.ac.uk</a>&gt;&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;&gt;<br>
Subject: [CWB]  CQP: shared collocates<br>
Message-ID:<br>
        &lt;<a href="mailto:A584B1A99417C443AD247357ADAEEE050A863A80@mbx01.adf.bham.ac.uk">A584B1A99417C443AD247357ADAEEE050A863A80@mbx01.adf.bham.ac.uk</a>&lt;mailto:<a href="mailto:A584B1A99417C443AD247357ADAEEE050A863A80@mbx01.adf.bham.ac.uk">A584B1A99417C443AD247357ADAEEE050A863A80@mbx01.adf.bham.ac.uk</a>&gt;&gt;<br>


Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Dear all,<br>
<br>
is it possible to produce with CQP a list that contains only shared collocates of two or more lexical items?<br>
<br>
Many thanks for your help.<br>
<br>
Best<br>
Alex<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 6 Oct 2012 21:48:22 -0500<br>
From: Mart? Quixal &lt;<a href="mailto:marti.quixal@gmail.com">marti.quixal@gmail.com</a>&lt;mailto:<a href="mailto:marti.quixal@gmail.com">marti.quixal@gmail.com</a>&gt;&gt;<br>
To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: [CWB] Installing CQPWeb<br>
Message-ID:<br>
        &lt;<a href="mailto:CAMtTwm8Nb5H4eHvtRPfvf%2B6qc%2BQSZSqMzRM%2B5%2B%2BRgvsSToGg9w@mail.gmail.com">CAMtTwm8Nb5H4eHvtRPfvf+6qc+QSZSqMzRM+5++RgvsSToGg9w@mail.gmail.com</a>&lt;mailto:<a href="mailto:CAMtTwm8Nb5H4eHvtRPfvf%252B6qc%252BQSZSqMzRM%252B5%252B%252BRgvsSToGg9w@mail.gmail.com">CAMtTwm8Nb5H4eHvtRPfvf%2B6qc%2BQSZSqMzRM%2B5%2B%2BRgvsSToGg9w@mail.gmail.com</a>&gt;&gt;<br>


Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Dear list members,<br>
<br>
I am installing CQPWeb, and everything seemed to be ok until I typed the<br>
url in my browser:<br>
<br>
<a href="http://localhost/spintx-web/adm" target="_blank">http://localhost/spintx-web/adm</a><br>
<br>
Then I got this message:<br>
<br>
CQPweb encountered an error and could not continue.<br>
You do not have permission to use this program.<br>
<br>
And then I looked into the apache error log and saw this other info:<br>
<br>
[Sat Oct 06 21:34:32 2012] [error] [client ::1] File does not exist:<br>
/Library/WebServer/Documents/spintx-web/css/CQPweb.css, referer:<br>
<a href="http://localhost/spintx-web/adm/" target="_blank">http://localhost/spintx-web/adm/</a><br>
<br>
My questions are:<br>
<br>
1) Could this missing css file be causing the problem? (sounds weird...)<br>
so...<br>
<br>
2) I used the automatic php configuration file and when the script asked<br>
for a user I gave a user that did not exist as a system user (I mistyped<br>
it, spintex-web instead of spintx-web). I added manually the system user I<br>
wanted to use, just in case, but this does not seem to improve anything.<br>
Then I had the impression that the user created with the automatic php<br>
config file is only a CQPWeb admin not a system user, am I wrong?<br>
<br>
So, do you have any recommendation? What else should I be looking to?<br>
<br>
I am running the whole thing (apache2, mysql, php, cwb tools, etc.) in the<br>
latest version (also CQPWeb from svn, not download link) on a Mac OSX<br>
10.7.5.<br>
<br>
- PHP 5.3.15 with Suhosin-Patch (cli) (built: Jul 31 2012 14:49:18)<br>
- Server version: 5.5.28 MySQL Community Server (GPL)<br>
- Server version: Apache/2.2.22 (Unix)<br>
-- Server built:   Jul 12 2012 15:11:26<br>
- CQP Version:   3.0.0<br>
(and latest versions of all perl modules as on the sourceforge page, except<br>
for CQPWeb, which is the svn version as recommended)<br>
<br>
Thanks in advance!<br>
<br>
--<br>
Mart? Quixal<br>
Computational Linguist &amp; Educational Technologist<br>
<a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121006/93b3087f/attachment-0001.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121006/93b3087f/attachment-0001.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>&lt;mailto:<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>&gt;<br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br>
<br>
End of CWB Digest, Vol 70, Issue 6<br>
**********************************<br>
<br>
<br>
<br>
--<br>
Mart? Quixal<br>
Computational Linguist &amp; Educational Technologist<br>
<a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 7 Oct 2012 20:57:18 +0200<br>
From: &quot;Andr?s Chand?a&quot; &lt;<a href="mailto:andres@chandia.net">andres@chandia.net</a>&gt;<br>
To: &quot;Open source development of the Corpus WorkBench&quot;<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPweb<br>
Message-ID:<br>
        &lt;<a href="mailto:bd370e665130096be1ff265c55b028f2.squirrel@mail.chandia.net">bd370e665130096be1ff265c55b028f2.squirrel@mail.chandia.net</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
<br>
Hi Mart? (Com va tot?)<br>
<br>
could you solve the issue following Andrew&#39;s<br>
advice<br>
the same happened to me ( silly of me), I cheked all except that file.<br>
<br>
<br>
<br>
El Dom, 7 de Octubre de 2012, 14:51, Hardie, Andrew escribi?:<br>
<br>
<br>
<br>
<br>
Hi<br>
Mart??,<br>
<br>
<br>
This<br>
is not a problem with user permissions or the Apache logon, it is a problem within the CQPweb<br>
code itself.<br>
<br>
<br>
Find<br>
the file config.inc.php in the lib directory and check the line that declares the superuser.<br>
It should  look like this:<br>
<br>
<br>
$superuser_username = &#39;spintexweb&#39;;<br>
<br>
<br>
Does<br>
it?<br>
<br>
<br>
Since<br>
in your earlier mail you say that you mistyped the username first time round, I guess the<br>
problem is here.<br>
<br>
<br>
<br>
(IT?&amp;euro;&amp;trade;s<br>
best to avoid usernames with hyphens in them, by the way; and the absence of the CSS file has<br>
nothing to do with the issue!)<br>
<br>
<br>
best<br>
<br>
<br>
Andrew.<br>
<br>
<br>
<br>
<br>
From:<br>
 <a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a> [mailto:<a href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>]<br>
<br>
On Behalf Of Mart?? Quixal<br>
 Sent: 07 October<br>
2012 12:52<br>
 To: <a href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
<br>
Subject: Re: [CWB] CQPweb<br>
<br>
<br>
<br>
<br>
Hi Andres, hi Andrew,<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
I wrote a few hours ago, but it seems that my problem is similar to<br>
Andres&#39;, when he could log in with admin2. The difference is that I cannot log in even with<br>
admin (in my case called spintexweb)<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
file .htgroup<br>
<br>
<br>
<br>
<br>
<br>
superusers: spintexweb<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
file .htpasswd<br>
<br>
<br>
<br>
<br>
<br>
spintexweb:$apr1$JXkH5IeU$RnOa/bUHrsgV3ZqnRQhDc.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
file: ../adm/.htacces<br>
<br>
<br>
<br>
<br>
<br>
AuthUserFile ../AccessData/.htpasswd<br>
<br>
<br>
<br>
<br>
<br>
        AuthGroupFile ../AccessData/.htgroup<br>
<br>
<br>
<br>
<br>
<br>
        AuthName CQPweb<br>
<br>
<br>
<br>
<br>
<br>
        AuthType Basic<br>
<br>
<br>
<br>
<br>
<br>
        deny from all<br>
<br>
<br>
<br>
<br>
<br>
        require group superusers<br>
<br>
<br>
<br>
<br>
<br>
        satisfy any<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
My problem is that <a href="http://localhost/spintx-web/adm/" target="_blank">http://localhost/spintx-web/adm/</a> does not<br>
load:<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
CQPweb encountered an error and could not continue.<br>
You do not have permission to use this program.<br>
And in principle all user permissions are set ok for apache2&#39;s user as<br>
well as for mysql user (I created a group called cqpweb, which they all belong too):<br>
/Library/WebServer/Documents/spintx-web/adm<br>
sh-3.2# ls -l<br>
-rw-rw-r--  1 root       cqpweb  181 Oct  6 08:29 .htaccess<br>
-rw-rw-r--  1 spintxweb  cqpweb   51 Jun 11  2009 index.php<br>
-rw-rw-r--  1 spintxweb  cqpweb    9 Jun 11  2009 settings.inc.php<br>
Is there something you can suggest?<br>
Best<br>
mq<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________<br>
????????????andr?s<br>
chand?a<br>
<br>
P No imprima<br>
innecesariamente. ?Cuide el medio ambiente!<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121007/a02c8a30/attachment.html" target="_blank">http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121007/a02c8a30/attachment.html</a>&gt;<br>


<br>
------------------------------<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a><br>
<a href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb" target="_blank">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br>
<br>
End of CWB Digest, Vol 70, Issue 8<br>
**********************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Martí Quixal<div>Computational Linguist &amp; Educational Technologist</div><div><a href="http://www.iqubo.org/quixal" target="_blank">http://www.iqubo.org/quixal</a></div>

<br>
</div>