[CWB] Stuck with cqpweb installation

Hardie, Andrew a.hardie at lancaster.ac.uk
Sat Nov 10 16:29:09 CET 2012


Hi Jörg,

The error message that explains what is going on is this one:


“PHP Fatal error:  Call to undefined  function printquery_mysqlsystemrestore()”

My memory of 2.12 is hazy but I know for sure this bug does not exist in the current version. If you are unable to upgrade to 3.0.7 (which I do encourage you to do) then you can fix it by making sure the library file which contains this function is include_once()d at the start of adminhome.inc.php and/or admin-execute.inc.php

Sorry I can’t be more specific but I’ve moved the functions around quite a lot since 2.12. If you still have trouble let me know and I’ll start digging through old versions of the code when I get a spare moment.

best

Andrew.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of Ray Wu
Sent: 09 November 2012 16:58
To: Open source development of the Corpus WorkBench
Subject: Re: [CWB] Stuck with cqpweb installation

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<mailto: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<mailto: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/20121110/def78348/attachment-0001.html>


More information about the CWB mailing list