<div dir="ltr"><div>Hi, Andrew!</div><div><br></div><div>Strange, I don&#39;t see a new commit in the trunk?</div><div>Did you upload it to the server?</div><div><br></div><div>With best regards,</div><div>Mansur<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 15. Feb. 2021 um 13:24 Uhr schrieb &lt;<a href="mailto:cwb-request@sslmit.unibo.it">cwb-request@sslmit.unibo.it</a>&gt;:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send CWB mailing list submissions to<br>
        <a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:cwb-request@sslmit.unibo.it" target="_blank">cwb-request@sslmit.unibo.it</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:cwb-owner@sslmit.unibo.it" target="_blank">cwb-owner@sslmit.unibo.it</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of CWB digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Error in cqpweb autosetup.php (Hardie, Andrew)<br>
   2. Re: CQPweb: php error (Hardie, Andrew)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 15 Feb 2021 11:18:24 +0000<br>
From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] Error in cqpweb autosetup.php<br>
Message-ID:<br>
        &lt;<a href="mailto:CWLP265MB19242A3CBF62FA2FDB07DBB1CB889@CWLP265MB1924.GBRP265.PROD.OUTLOOK.COM" target="_blank">CWLP265MB19242A3CBF62FA2FDB07DBB1CB889@CWLP265MB1924.GBRP265.PROD.OUTLOOK.COM</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Hi Mansur,<br>
<br>
Thanks for the report. Fixed in trunk.<br>
<br>
best<br>
<br>
Andrew.<br>
<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt; On Behalf Of mansur<br>
Sent: 15 February 2021 10:39<br>
To: Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: [CWB] Error in cqpweb autosetup.php<br>
<br>
Hi!<br>
<br>
I found a couple of problems in the most recent version of cqpweb.<br>
The file: cqpweb/lib/sql-definitions.php<br>
<br>
1) The problem is somewhere near &quot;TYPE_DT_DATE, TYPE_DT_TIME&quot;:<br>
        CREATE TABLE `metadata_template_info` (<br>
                        `id`                         int unsigned NOT NULL AUTO_INCREMENT,<br>
                        `description`                varchar(255) CHARSET utf8mb4 collate utf8mb4_unicode_520_nopad_ci default &#39;&#39;,<br>
                        `primary_classification`     varchar(64)      CHARSET ascii COLLATE ascii_bin default NULL,<br>
                        primary key (`id`) TYPE_DT_DATE, TYPE_DT_TIME<br>
                ) ENGINE=InnoDB<br>
        /* from User: ??? | In file: /var/www/html/cqpweb/bin/autosetup.php @ line 104 | 2021-Feb-15 10:26 */&lt;/p&gt;<br>
&lt;p class=&quot;errormessage&quot;&gt;Error # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near &#39; TYPE_DT_TIME<br>
                ) ENGINE=InnoDB<br>
<br>
<br>
2) In this case it seems one comma is missed:<br>
        CREATE TABLE `saved_restrictions` (<br>
                        `id`                         bigint unsigned NOT NULL AUTO_INCREMENT,<br>
                        `corpus_id`                  int unsigned NOT NULL,<br>
                        `cache_time`                 int unsigned NOT NULL default 0,<br>
                        `serialised_restriction`     text CHARSET utf8mb4 collate utf8mb4_nopad_bin,<br>
                        `size_bytes`                 bigint unsigned NOT NULL default 0,<br>
                        `n_ids`                      int unsigned NOT NULL default 0,<br>
                        `n_items`                    int unsigned NOT NULL default 0,<br>
                        `n_tokens`                   bigint unsigned NOT NULL default 0,<br>
                        `data`                       longblob,<br>
                        key (`corpus_id`),<br>
                        key (`serialised_restriction`(191)),<br>
                        key (`cache_time`)<br>
                        primary key (`id`)<br>
                ) ENGINE=InnoDB<br>
        /* from User: ??? | In file: /var/www/html/cqpweb/bin/autosetup.php @ line 104 | 2021-Feb-15 10:32 */&lt;/p&gt;<br>
&lt;p class=&quot;errormessage&quot;&gt;Error # 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near &#39;primary key (`id`)<br>
                ) ENGINE=InnoDB<br>
<br>
<br>
With best wishes,<br>
Mansur<br>
<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20210215/11e0dd4a/attachment-0001.html" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/pipermail/cwb/attachments/20210215/11e0dd4a/attachment-0001.html</a>&gt;<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 15 Feb 2021 11:24:13 +0000<br>
From: &quot;Hardie, Andrew&quot; &lt;<a href="mailto:a.hardie@lancaster.ac.uk" target="_blank">a.hardie@lancaster.ac.uk</a>&gt;<br>
To: Open source development of the Corpus WorkBench<br>
        &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPweb: php error<br>
Message-ID:<br>
        &lt;<a href="mailto:CWLP265MB1924D73CF9147EBD8D6B3542CB889@CWLP265MB1924.GBRP265.PROD.OUTLOOK.COM" target="_blank">CWLP265MB1924D73CF9147EBD8D6B3542CB889@CWLP265MB1924.GBRP265.PROD.OUTLOOK.COM</a>&gt;<br>
<br>
Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
<br>
Hi Simon,<br>
<br>
It sounds like your web server is not processing the PHP scripts are PHP but is instead serving them up as plain text. This is a web server configuration problem not a CQPweb problem I&#39;m afraid. <br>
<br>
If you&#39;re on Apache, the issue may be that mod_php is not enabled. On other webservers, there will be similar things.<br>
<br>
best<br>
<br>
Andrew<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a> &lt;<a href="mailto:cwb-bounces@sslmit.unibo.it" target="_blank">cwb-bounces@sslmit.unibo.it</a>&gt; On Behalf Of Simon Meier-Vieracker<br>
Sent: 15 February 2021 07:33<br>
To: Open source development of the Corpus WorkBench &lt;<a href="mailto:cwb@sslmit.unibo.it" target="_blank">cwb@sslmit.unibo.it</a>&gt;<br>
Subject: Re: [CWB] CQPweb: php error<br>
<br>
<br>
Some more information:<br>
<br>
PHP 8.0.2<br>
Server version: Apache/2.4.25 (Debian)<br>
<br>
I checked the required extensions in the Admin Manual and found that &quot;Extension &#39;intl&#39; not present.&quot;<br>
<br>
But I guess that the problem is more basic, since it does not execute the very simple command &quot;&lt;?php require(&#39;lib/mainhome.php&#39;);&quot;<br>
<br>
Best, Simon<br>
<br>
<br>
&gt; Am 14.02.2021 um 10:18 schrieb Simon Meier-Vieracker &lt;<a href="mailto:simon.meier-vieracker@tu-dresden.de" target="_blank">simon.meier-vieracker@tu-dresden.de</a>&gt;:<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; since today, I get the following error when I try to call CQPweb on my server <a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2F&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=rE%2FqcvUB59QzuZQ6oG1JCPZ2ckrcpWSI%2FKIlfvcJV4g%3D&amp;amp;reserved=0" rel="noreferrer" target="_blank">https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2F&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=rE%2FqcvUB59QzuZQ6oG1JCPZ2ckrcpWSI%2FKIlfvcJV4g%3D&amp;amp;reserved=0</a><br>
&gt;<br>
&gt;&gt; &lt;?php require(&#39;lib/mainhome.php&#39;);<br>
&gt;<br>
&gt; Same thing on other pages:<br>
&gt;<br>
&gt;&gt; &lt;?php require (&#39;../lib/adminhome.php&#39;);<br>
&gt;<br>
&gt; The server is running, I can call pages outside of CQPweb (e.g. <a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2Ftutorial.html&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ANxbnpA%2BJbvubdeRUbLMhMxlSSRkicEYpWDCbfTQU1A%3D&amp;amp;reserved=0" rel="noreferrer" target="_blank">https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fali.gsw.tu-dresden.de%2Ftutorial.html&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ANxbnpA%2BJbvubdeRUbLMhMxlSSRkicEYpWDCbfTQU1A%3D&amp;amp;reserved=0</a>)<br>
&gt;<br>
&gt; And within the lib folder, everything seems to be okay (see attached file) and mainhome.php looks good, too.<br>
&gt;<br>
&gt; Any suggestions what I can check in order to fix this?<br>
&gt;<br>
&gt; Best, Simon<br>
&gt;<br>
&gt; &lt;lib.txt&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CWB mailing list<br>
&gt; <a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
&gt; <a href="https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ICBmNvRtV4z26cKxZR%2FuvtFMimnqLPlZZSC3xQA9IK4%3D&amp;amp;reserved=0" rel="noreferrer" target="_blank">https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fliste.sslmit.unibo.it%2Fmailman%2Flistinfo%2Fcwb&amp;amp;data=04%7C01%7Ca.hardie%40lancaster.ac.uk%7C5e469cc667d347fe67d608d8d184139b%7C9c9bcd11977a4e9ca9a0bc734090164a%7C0%7C0%7C637489712530551010%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;amp;sdata=ICBmNvRtV4z26cKxZR%2FuvtFMimnqLPlZZSC3xQA9IK4%3D&amp;amp;reserved=0</a><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
CWB mailing list<br>
<a href="mailto:CWB@sslmit.unibo.it" target="_blank">CWB@sslmit.unibo.it</a><br>
<a href="http://liste.sslmit.unibo.it/mailman/listinfo/cwb" rel="noreferrer" target="_blank">http://liste.sslmit.unibo.it/mailman/listinfo/cwb</a><br>
<br>
<br>
End of CWB Digest, Vol 168, Issue 4<br>
***********************************<br>
</blockquote></div>