[CWB] upgrade_database fails
Hardie, Andrew
a.hardie at lancaster.ac.uk
Mon Jul 1 05:21:54 CEST 2019
Fixed in next commit,
best
Andrew.
-----Original Message-----
From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On Behalf Of Luigi Talamo
Sent: 29 June 2019 18:56
To: Open source development of the Corpus WorkBench <cwb at sslmit.unibo.it>
Subject: Re: [CWB] upgrade_database fails
Hi,
same error when doing a fresh install:
Installing database structure; please wait.
PHP Fatal error: Uncaught Error: Call to undefined function
print_debug_message() in /var/www/html/CQPweb/lib/sql-lib.php:189
Stack trace:
#0 /var/www/html/CQPweb/lib/sql-lib.php(1066): do_sql_query('show tables lik...')
#1 /var/www/html/CQPweb/bin/autosetup.php(94): do_sql_total_reset()
#2 {main}
thrown in /var/www/html/CQPweb/lib/sql-lib.php on line 18
Thanks,
Luigi
On Fri, Jun 28, 2019 at 1:01 AM Hardie, Andrew <a.hardie at lancaster.ac.uk> wrote:
>
> THanks for bug report – fixed.
>
>
>
> Andrew
>
>
>
> From: cwb-bounces at sslmit.unibo.it <cwb-bounces at sslmit.unibo.it> On
> Behalf Of Uhrig, Peter
> Sent: 27 June 2019 23:51
> To: Open source development of the Corpus WorkBench
> <cwb at sslmit.unibo.it>
> Subject: [CWB] upgrade_database fails
>
>
>
> Dear all,
>
>
>
> I upgraded the code to revision 1257 today, which makes it necessary to run a database upgrade. However, I get the following message:
>
>
>
> pruhrig at DellE6440:/var/www/html/CQPweb/bin$ php upgrade-database.php
>
> PHP Fatal error: Uncaught Error: Call to undefined function
> print_debug_message() in /var/www/html/CQPweb/lib/sql-lib.php:189
>
> Stack trace:
>
> #0 /var/www/html/CQPweb/bin/upgrade-database.php(128):
> do_sql_query('show tables \n\t/...')
>
> #1 {main}
>
> thrown in /var/www/html/CQPweb/lib/sql-lib.php on line 189
>
>
>
> Any ideas?
>
>
>
> Best,
>
> Peter
>
> _______________________________________________
> CWB mailing list
> CWB at sslmit.unibo.it
> http://liste.sslmit.unibo.it/mailman/listinfo/cwb
_______________________________________________
CWB mailing list
CWB at sslmit.unibo.it
http://liste.sslmit.unibo.it/mailman/listinfo/cwb
More information about the CWB
mailing list