<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-forward-container"><br>
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      Hi Andrew,<br>
      <br>
      as the patch worked, we thought we could do wait for a few weeks
      with rebuilding our server and in the meantime use the update on
      the old server installation.<br>
      However, we encountered another problem with our test update. This
      time with the installation of corpora.<br>
      For the test we took a small corpus which was already installed in
      our CQPweb installation - so format problems of the corpora should
      not occur.<br>
      It is a pre-indexed corpus, with the annotations as listed below
      (as output of show cd from the commandline).<br>
      Asside from id, there are three other text attributes two of them
      are used for categorization (lang,reg) in our "old" CQPweb
      installation.<br>
      <br>
      As I find it easier and more effective I usually create the
      Metadata from the XML. When I do this I get the result - and I
      apologize in advance for the number of screenshots, but I think it
      is easiest this way:<br>
      <br>
      <img src="cid:part1.02040708.01060009@mx.uni-saarland.de" alt=""><br>
      <br>
      usually I can choose here the datatype. I then changed the data
      type in the new XML-data menu. Then I get:<br>
      <br>
      <img src="cid:part2.08070406.06020907@mx.uni-saarland.de" alt=""><br>
      <br>
      If I now click on Create metadata I get the following:<br>
      <br>
      <img src="cid:part3.01000202.07010708@mx.uni-saarland.de" alt=""><br>
      which tells me that there is no corpus-level metadata, which
      however there should be.<br>
      Just for a comparison, this is what it looks like (after indexing)
      in the "old" CQPweb installation:<br>
      <br>
      <img src="cid:part4.00020808.04050900@mx.uni-saarland.de" alt=""><br>
      <br>
      Thanks<br>
      Hannah<br>
      <br>
      <b>Attributes of the corpus:</b><b><br>
      </b><br>
      Positional Attributes:  * word<br>
                                pos<br>
                                lemma<br>
      <br>
      Structural Attributes:    praesens<br>
                                term<br>
                                kompositum<br>
                                nominalisierung<br>
                                s<br>
                                praeteritum<br>
                                passiv<br>
                                abkuerzung<br>
                                titel<br>
                                perfekt<br>
                                futur<br>
                                verweis_auf_bild_in_text_direkt<br>
                                erklaerung_gaengiger_term<br>
                                verweis_auf_text_in_text_direkt<br>
                                verweis_auf_bild_in_text_indirekt<br>
                                text<br>
                                text_id              [A]<br>
                                text_lang            [A]<br>
                                text_title           [A]<br>
                                text_reg             [A]<br>
                                verweis_auf_bild_in_klammer_direkt<br>
                                erklaerung_neuer_term<br>
                                verweis_auf_anderen_text_in_text_direkt<br>
                                imperativ<br>
                                verweis_auf_text_in_klammer_direkt<br>
                                verweis_auf_sonstiges_in_klammer_direkt<br>
                                erklaerung<br>
                                verweis_auf_sonstiges_in_fussnote_direkt<br>
                                verweis_auf_sonstiges_in_text_direkt<br>
      <br>
      <br>
      <div class="moz-cite-prefix">Am 18.02.2016 um 10:55 schrieb Jörg
        Knappen:<br>
      </div>
      <blockquote
cite="mid:20160218105558.Horde.UYoq7FfxwJMvN2kY4P40pk6@webmail.uni-saarland.de"
        type="cite">Thank you, Andrew, for the patch. <br>
        <br>
        <br>
        Zitat von "Hardie, Andrew" <a moz-do-not-send="true"
          class="moz-txt-link-rfc2396E"
          href="mailto:a.hardie@lancaster.ac.uk">&lt;a.hardie@lancaster.ac.uk&gt;</a>:
        <br>
        <br>
        <blockquote type="cite">Well, 5.3 is obsolete and unsupported,
          so that's not good. (Note the 2012 data on the copyright line.
          You are running without the last 4 years of security
          fixes....) <br>
        </blockquote>
        <br>
        Somehow there are security fixes in SLES 11 even to very old and
        outdated packages. But we seriously consider re-building our
        servers on a less conservative Linux platform. <br>
        <br>
        <blockquote type="cite">I've amended the code to avoid the
          unsupported syntax. But sometime soon I am going to simply
          bump the minimum PHP requirement up to a still-supported
          version. <br>
        </blockquote>
        <br>
        Thanks for the patch again, it works flawlessly (I have applied
        and tested it). <br>
        <br>
        Greetings, <br>
        <br>
        Jörg <br>
        <br>
        <blockquote type="cite">best <br>
          <br>
          Andrew. <br>
          <br>
          -----Original Message----- <br>
          From: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>
          [<a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>]
          On Behalf Of Jörg Knappen <br>
          Sent: 17 February 2016 10:49 <br>
          To: <a moz-do-not-send="true"
            class="moz-txt-link-abbreviated"
            href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a> <br>
          Subject: Re: [CWB] Bug in CQPweb 3.2.6 Revision 765 <br>
          <br>
          Hallo Andrew, <br>
          <br>
          Zitat von "Hardie, Andrew" <a moz-do-not-send="true"
            class="moz-txt-link-rfc2396E"
            href="mailto:a.hardie@lancaster.ac.uk">&lt;a.hardie@lancaster.ac.uk&gt;</a>:
          <br>
          <br>
          <blockquote type="cite">What version of PHP are you running? <br>
          </blockquote>
          <br>
          I am running <br>
          <br>
          php --version <br>
          PHP 5.3.17 (cli) <br>
          Copyright (c) 1997-2012 The PHP Group <br>
          Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
          <br>
          <br>
          This is the newest php version supported by SLES 11 SP 3 (the
          <br>
          operating system of our server). <br>
          <br>
          --Jörg <br>
          <br>
          <blockquote type="cite"> <br>
            There is a syntax construction on that line that very old
            versions <br>
            do not support (array index applied to function return). <br>
            <br>
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="http://php.net/supported-versions.php">http://php.net/supported-versions.php</a>
            <br>
            <br>
            best <br>
            <br>
            Andrew. <br>
            <br>
            -----Original Message----- <br>
            From: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>
            <br>
            [<a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>]
            On Behalf Of Jörg Knappen <br>
            Sent: 17 February 2016 10:13 <br>
            To: <a moz-do-not-send="true"
              class="moz-txt-link-abbreviated"
              href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a>
            <br>
            Subject: [CWB] Bug in CQPweb 3.2.6 Revision 765 <br>
            <br>
            Hallo, <br>
            <br>
            The following does not work: <br>
            <br>
            Select a corpus <br>
            Query something, e.g. [word="word"] <br>
            Klick on the query string in the KWIC view <br>
            <br>
            The output is nothing (in firefox, I see just a blank page)
            <br>
            <br>
            There is the following error message in error_log of the
            Apache 2.4 <br>
            webserver: <br>
            <br>
            [Wed Feb 17 11:07:00.244465 2016] [fcgid:warn] [pid
            50085:tid <br>
            140514590492416] [ <br>
            client 134.96.90.27:53453] mod_fcgid: stderr: PHP Parse
            error:  syntax <br>
            error, un <br>
            expected '[' in /data2/htdocs/cqpweb/lib/context.inc.php on
            line 185, <br>
            referer: h <br>
            ttp://test.clarin-d.uni-saarland.de/cqpweb/dascitex/concordance.php?theData=%5Bw

            <br>
            ord%3D%22optics%22%5D&amp;qmode=cqp&amp;pp=50&amp;del=begin&amp;t=&amp;del=end&amp;uT=y

            <br>
            <br>
            <br>
            Greetings from Saarbrücken, <br>
            <br>
            Jörg <br>
            <br>
            _______________________________________________ <br>
            CWB mailing list <br>
            <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
              href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
            <br>
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
            <br>
            _______________________________________________ <br>
            CWB mailing list <br>
            <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
              href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a>
            <br>
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
              href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
            <br>
          </blockquote>
          <br>
          <br>
          <br>
          _______________________________________________ <br>
          CWB mailing list <br>
          <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
          <br>
          _______________________________________________ <br>
          CWB mailing list <br>
          <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
            href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
          <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
          <br>
        </blockquote>
        <br>
        <br>
        <br>
        _______________________________________________ <br>
        CWB mailing list <br>
        <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
          href="mailto:CWB@sslmit.unibo.it">CWB@sslmit.unibo.it</a> <br>
        <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="http://devel.sslmit.unibo.it/mailman/listinfo/cwb">http://devel.sslmit.unibo.it/mailman/listinfo/cwb</a>
        <br>
      </blockquote>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>