[CWB] CQPweb

"Andrés Chandía" andres at chandia.net
Fri Oct 5 16:18:21 CEST 2012



My fault again, sorry


El Vie, 5 de Octubre de 2012, 16:11, Hardie, Andrew
escribió:
 <style type="text/css">-></style>


Is
admin2 declared as a superuser in the config file?




         $superuser_username = 'admin|admin2';


This
is specified under the manual configuration section (adding new superusers must always be done
manually, for security reasons).


best


Andrew.



From:
"Andrés Chandía" [mailto:andres at chandia.net] 

Sent: 05 October 2012 14:59
 To: Hardie, Andrew

Cc: Open source development of the Corpus WorkBench

Subject: RE: [CWB] CQPweb

 
I have now some issues with the users created by htpasswd
 

file .htpasswd
 admin:asjdkalsdkaIDAS
 admin2:asdeAALQ393R
 
 file
.htgroup
 superusers: admin admin2
 
 file : .../cqp/adm/.htaccess
       
 AuthUserFile .../cqp/users/.htpasswd
         AuthGroupFile .../cqp/users/.htgroup

        AuthName CQPweb
         AuthType Basic
         deny from all
        
require group superusers
         satisfy any
 
 
 the user admin has no
problem but the user admin2, when log in it gets this at the web interface:
 

CQPweb encountered an error and could not continue.
 
 You do not have permission to
use this program.
 
 You are logged in as user [admin2]
 
 
 Did I do
something wrong?
 
 
 
 
 El Vie, 5 de Octubre de 2012, 13:45,
Hardie, Andrew escribió:


Hi
Andria,
There
is an additional step to carry out after running the auto config script.
As
it says further down the installation instructions &ndash; under &ldquo;Getting it up and
running&rdquo; &ndash; you need  to first of all go into the Admin interface (http://yourserver.net/path/to/cqpweb/adm)
and use the tool to &ldquo;Reset MySQL Database&rdquo;  via the menu option on the left-hand
side.
best
Andrew.

From: 
cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of
"Andrés Chandía"
 Sent: 05 October
2012 12:24
 To:
cwb at sslmit.unibo.it
 Subject: [CWB]
CQPweb

Hi there


 I'm following. "Some notes on how to set up CQPweb (v 3.0.0 or higher"

(http://cwb.svn.sourceforge.net/viewvc/cwb/gui/cqpweb/trunk/CQPweb-setup-manual.html)


 
 And the problem that I have is about the creation of the database, these are not
being created automatically,
 I did it with the assigned db username and also with the db
admin username but nothing happens, I mean.
 I do create database "cqpwebdb"
 
 on mysql: GRANT ALL ON cqpwebdb.* TO 'userofcqpdb'@'localhost' IDENTIFIED BY
'passwordofcqpdb';
 
 then: php cqpweb-autoconfig.php
 giving
"cqpwebdb" and "passwordofcqpdb";
 
 as this didn't work I did
it wwith the root account of mysql but nothing, should I create manually the tables, or what
should I do.
 
 At the web:
A mySQL query did not run successfully!
Error # 1146: Table 'cqp.corpus_metadata_fixed' doesn't exist 

 


 _______________________
 andrés chandía
 [IMAGE
REMOVED]
 P
No
imprima innecesariamente. ¡Cuide el medio ambiente!



 
 
 _______________________
            
andrés chandía
 
 P No
imprima innecesariamente. ¡Cuide el medio ambiente!


 


_______________________
            andrés
chandía

P No imprima
innecesariamente. ¡Cuide el medio ambiente!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20121005/a13d5889/attachment-0001.html>


More information about the CWB mailing list