[CWB] CQPweb installation issue

Hardie, Andrew a.hardie at lancaster.ac.uk
Wed Sep 20 21:55:53 CEST 2017


Hi Jorge,

Most of that error message is the error printing function itself having trouble (I’ve just committed minor tweaks to the autosetup script to stop these messages occurring).

The actual bit that is producing problems is this:

Could not set database in MySQL connection - critical error!

This is an error consequent on a simple call to the select_db method on the MySQL link. If the call returns false, this error is triggered.

Perhaps the database name is wrong in the config file? (variable $mysql_schema ).

(Another possibility is that it is an error in my handling of the mysqli module, which is the interface used in PHP 7, but not in earlier PHP versions.)

best

Andrew.

PS. NB, v 3.2.27 is still not finished, but I hope it will be in the next day or two.

From: cwb-bounces at sslmit.unibo.it [mailto:cwb-bounces at sslmit.unibo.it] On Behalf Of VIVALDI PALATRESI, JORGE
Sent: 20 September 2017 10:53
To: Open source development of the Corpus WorkBench
Subject: [CWB] CQPweb installation issue

Dear all,
I am encountering a serious problem trying to install an updated version of CQPweb. I have installed the following

  *   CQPweb GUI version (3.3.27 revision 1001)
  *   php v 7.0 (+ php-mysql, php7.0-zip and php7.0-gd). Change php.ini as required. Restart apache after installation.
  *   create a mysql database and cqpweb_user as required. Manually checked for access.
  *   Create the configuration file.
  *   Failed to completing the setup with the following error message:
jvivaldi at vivaldi:/var/www/html/IulaCT/bin$ php autosetup.php

Now finalising setup for this installation of CQPweb....
PHP Notice:  Undefined property: stdClass::$debug_messages_textonly in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php on line 88
PHP Notice:  Undefined property: stdClass::$debug_messages_textonly in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php on line 89
PHP Notice:  Undefined property: stdClass::$debug_messages_textonly in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php on line 91
<tr><td class="concorderror"><p>&nbsp;</p><p class="errormessage">Could not set database in MySQL connection - critical error!</p><p>&nbsp;</p></td></tr>

PHP Notice:  Undefined property: stdClass::$all_users_see_backtrace in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php on line 113
PHP Notice:  Undefined property: stdClass::$debug_messages_textonly in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php on line 140
                </table>
                PHP Fatal error:  Uncaught Error: Call to undefined function print_html_footer() in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php:159
Stack trace:
#0 /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php(202): exiterror_endpage()
#1 /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/library.inc.php(177): exiterror('Could not set d...')
#2 /mnt/vmdata/vivaldi/var/www/html/IulaCT/bin/autosetup.php(71): connect_global_mysql()
#3 {main}
  thrown in /mnt/vmdata/vivaldi/var/www/html/IulaCT/lib/exiterror.inc.php on line 159
jvivaldi at vivaldi:/var/www/html/IulaCT/bin$
Any suggestion is very welcomed
Thank you in advance

Jorge


-


--
Jorge Vivaldi Palatresi
Institut Universitari de Lingüística Aplicada
Universitat Pompeu Fabra
C/ Roc Boronat, 138
08018 Barcelona
Espanya

+34 93 542 2332
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20170920/7d95f890/attachment.html>


More information about the CWB mailing list