[CWB] Stuck with cqpweb installation

Hardie, Andrew a.hardie at lancaster.ac.uk
Mon Nov 12 17:38:58 CET 2012


Hi Jörg,

I'll make those changes. Can I ask - did anything in your "minor obstacle" indicate what bit of the Posix extension was required? There might be ways to remove that dependency, if it's going to be problematic for lots of people. But I'm afraid I don't currently remember where that ext might be used...

Thanks

Andrew.

-----Original Message-----
From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Jörg Knappen
Sent: 12 November 2012 16:04
To: cwb at sslmit.unibo.it
Subject: Re: [CWB] Stuck with cqpweb installation

Thanks Ray and Andrew,

with a current version the installation went through (with one minor obstacle).

I suggest the following changes to the download pages and documentation:

* Rewrite http://cwb.sourceforge.net/download.php#gui
   suggesting to do
   svn export https://cwb.svn.sourceforge.net/svnroot/cwb/gui/cqpweb/trunk
   instead of recommending the cqpweb-2.12 tarball. Maybe you want to provide
   a tarball of a more recent "stable" release?

* In
http://cwb.svn.sourceforge.net/viewvc/cwb/gui/cqpweb/trunk/CQPweb-setup-manual.html
   add under "What you will need" in item PHP
    o The posix extension is required
   Posix support is not installed by default in SuSe Linux PHP. (This was the "minor obstacle"
   mentioned above)

Thanks again for you good work,

Jörg Knappen

Zitat von Ray Wu <liangpingwu at 126.com>:

> Hi Jörg,
> I can see that you are using a quite old CQPweb (v 2.12).
> I solved a similar problem by switching to the latest CQPweb (v
> 3.0.7) by pulling it fromt the svn source tree.
> Hope this helps.
>
>
>
> Best,
> Ray
>
>
>
>
> At 2012-11-10 00:38:08,"Jörg Knappen" <j.knappen at mx.uni-saarland.de> wrote:
>>
>> I am in the course of CQPweb installation and I am currently stuck at
>> the following point:
>>
>> I can log in to CQP_WEB/adm and get a web page from there.
>>
>> I can click on "Reset MySQL Database", but I cannot "do it", because
>> the page presented does not change.
>>
>> I can "do it" when clicking on "Mapping tables" and scrolling down;
>> but even after that the database is still empty
>> (I inspected it using mysql from the command line).
>>
>> Can someone give me a hint?
>>
>> --Jörg Knappen
>>
>> The general settings are:
>>
>> Operating system: SLE11-SDK-SP2
>> Apache httpd: 2.4.3
>> PHP: PHP 5.3.8 (cgi-fcgi)
>>      Copyright (c) 1997-2011 The PHP Group
>>      Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
>> mysql:  Ver 14.12 Distrib 5.0.96, for suse-linux-gnu (x86_64) using
>> EditLine wrapper
>> CQPweb: CQPweb-2.12
>> cwb: cwb-3.0.0-linux-x86_64
>>
>> Error on the adm/ page (presented):
>>
>> A mySQL query did not run successfully!
>>
>> Error # 1146:
>> Table 'cqpweb.corpus_metadata_fixed' doesn't exist
>>
>> ... in file /usr/local/apache2/htdocs/cqpweb/lib/adminhome.inc.php line 678.
>>
>> Errors I can read off the log files include:
>>
>> (from access_log)
>> "GET /cqpweb/css/CQPweb-red.css HTTP/1.1" 404 1384
>>
>> (from error_log)
>> (context: calling adm/)
>> [Fri Nov 09 17:29:04.403215 2012] [access_compat:error] [pid 1354:tid
>> 1401192716
>> 51072] [client xxx.xxx.xxx.xxx:xxx] AH01797: client denied by server
>> configuratio
>> n: /usr/local/apache2/htdocs/cqpweb/adm/
>> [Fri Nov 09 17:29:04.412074 2012] [fcgid:warn] [pid 1354:tid
>> 140119271651072] [c
>> lient xxx.xxx.xxx.xxx:xxx] mod_fcgid: stderr: PHP Notice:  Undefined
>> index: admFu
>> nction in /usr/local/apache2/htdocs/cqpweb/lib/admin-execute.inc.php
>> on line 42
>> [Fri Nov 09 17:29:04.412087 2012] [fcgid:warn] [pid 1354:tid
>> 140119271651072] [c
>> lient xxx.xxx.xxx.xxx:xxx] mod_fcgid: stderr: PHP Notice:  Undefined
>> variable: co
>> ntext_scope_is_based_on_s in
>> /usr/local/apache2/htdocs/cqpweb/lib/defaults.inc.p
>> hp on line 149
>>
>> The first error message looks strange to me: The client is denied by
>> Apache httpd,
>> but I do not get a 404 page ... is this related to the missing style sheet?
>>
>> (context: clicking on "Rest MySQL Database")
>>
>> [Fri Nov 09 17:33:27.939153 2012] [access_compat:error] [pid 1354:tid
>> 1401192129
>> 02144] [client xxx.xxx.xxx.xxx:xxx] AH01797: client denied by server
>> configuratio
>> n: /usr/local/apache2/htdocs/cqpweb/adm/index.php, referer:
>> http://fedora.clarin
>> -d.uni-saarland.de/cqpweb/adm/
>> [Fri Nov 09 17:33:27.947257 2012] [fcgid:warn] [pid 1354:tid
>> 140119212902144] [c
>> lientxxx.xxx.xxx.xxx:xxx ] mod_fcgid: stderr: PHP Notice:  Undefined
>> index: admFu
>> nction in /usr/local/apache2/htdocs/cqpweb/lib/admin-execute.inc.php
>> on line 42,
>>  referer: http://fedora.clarin-d.uni-saarland.de/cqpweb/adm/
>> [Fri Nov 09 17:33:27.947293 2012] [fcgid:warn] [pid 1354:tid
>> 140119212902144] [c
>> lient xxx.xxx.xxx.xxx:xxx] mod_fcgid: stderr: PHP Notice:  Undefined
>> variable: co
>> ntext_scope_is_based_on_s in
>> /usr/local/apache2/htdocs/cqpweb/lib/defaults.inc.p
>> hp on line 149, referer: http://fedora.clarin-d.uni-saarland.de/cqpweb/adm/
>> [Fri Nov 09 17:33:27.947304 2012] [fcgid:warn] [pid 1354:tid
>> 140119212902144] [c
>> lient xxx.xxx.xxx.xxx:xxx] mod_fcgid: stderr: PHP Fatal error:  Call
>> to undefined
>>  function printquery_mysqlsystemrestore() in
>> /usr/local/apache2/htdocs/cqpweb/li
>> b/adminhome.inc.php on line 589, referer:
>> http://fedora.clarin-d.uni-saarland.de
>> /cqpweb/adm/
>>
>>
>>
>>
>> _______________________________________________
>> CWB mailing list
>> CWB at sslmit.unibo.it
>> http://devel.sslmit.unibo.it/mailman/listinfo/cwb



_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://devel.sslmit.unibo.it/mailman/listinfo/cwb


More information about the CWB mailing list