<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi<br>
    <br>
    It looks like you do not have any advanced search fields set.  Can
    you find a file called eprint_search_advanced.pl either in the same
    directory or in your archive's cfg.d. directory (e.g.
/usr/share/eprints3/archives/ARCHIVE_NAME/cfg/cfg.d/eprints_search_advanced.pl). 
    If not you will want to create this file and add the code that
    follows this email.  If you do not have this file in either of the
    two directories I mention above, I am a little puzzled why, if this
    is an initial install using the Deb package.<br>
    <br>
    Regards<br>
    <br>
    David Newman<br>
    <br>
    $c-&gt;{search}-&gt;{advanced} =<br>
    {<br>
            search_fields =&gt; [<br>
                    { meta_fields =&gt; [ "documents" ] },<br>
                    { meta_fields =&gt; [ "title" ] },<br>
                    { meta_fields =&gt; [ "creators_name" ] },<br>
                    { meta_fields =&gt; [ "abstract" ] },<br>
                    { meta_fields =&gt; [ "date" ] },<br>
                    { meta_fields =&gt; [ "keywords" ] },<br>
                    { meta_fields =&gt; [ "subjects" ] },<br>
                    { meta_fields =&gt; [ "type" ] },<br>
                    { meta_fields =&gt; [ "department" ] },<br>
                    { meta_fields =&gt; [ "editors_name" ] },<br>
                    { meta_fields =&gt; [ "ispublished" ] },<br>
                    { meta_fields =&gt; [ "refereed" ] },<br>
                    { meta_fields =&gt; [ "publication" ] },<br>
                    { meta_fields =&gt; [ "documents.format" ] },<br>
            ],<br>
            preamble_phrase =&gt; "cgi/advsearch:preamble",<br>
            title_phrase =&gt; "cgi/advsearch:adv_search",<br>
            citation =&gt; "result",<br>
            page_size =&gt; 20,<br>
            order_methods =&gt; {<br>
                    "byyear"         =&gt; "-date/creators_name/title",<br>
                    "byyearoldest"   =&gt; "date/creators_name/title",<br>
                    "byname"         =&gt; "creators_name/-date/title",<br>
                    "bytitle"        =&gt; "title/creators_name/-date"<br>
            },<br>
            default_order =&gt; "byyear",<br>
            show_zero_results =&gt; 1,<br>
    };<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 03/04/2017 08:52, Mitocariu Emilian
      wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|738215550929ffd1032fae6dcc4c9160y328sB14eprints-tech-bounces|ecs.soton.ac.uk|CA+rSDaTc1VpjcRCbECGStnga7uTh_d8zYY5PJzi7LPZ9b4t=ng@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hi,<br>
          <br>
        </div>
        This is the content of the /usr/share/eprints3/lib/cfg.d/<a
          moz-do-not-send="true" href="http://eprint_search_staff.pl"
          target="_blank"><wbr>eprint_search_staff.pl:</a><br>
        <br>
        # Any changes made here will be lost!<br>
        #<br>
        # Copy this file to:<br>
        # archives/[archiveid]/cfg/cfg.d/<br>
        #<br>
        # And then make any changes.<br>
        <br>
        $c-&gt;{datasets}-&gt;{eprint}-&gt;{search}-&gt;{staff} =<br>
        {<br>
                search_fields =&gt; [<br>
                        { meta_fields =&gt; [qw( eprintid )] },<br>
                        { meta_fields =&gt; [qw( userid.username )] },<br>
                        { meta_fields =&gt; [qw( <a
          moz-do-not-send="true" href="http://userid.name">userid.name</a>
        )] },<br>
                        { meta_fields =&gt; [qw( eprint_status )],
        default=&gt;"archive buffer" },<br>
                        { meta_fields =&gt; [qw( dir )] },<br>
                        @{$c-&gt;{search}{advanced}{search_fields}},<br>
                ],<br>
                preamble_phrase =&gt;
        "Plugin/Screen/Staff/EPrintSearch:description",<br>
                title_phrase =&gt;
        "Plugin/Screen/Staff/EPrintSearch:title",<br>
                citation =&gt; "result",<br>
                page_size =&gt; 20,<br>
                order_methods =&gt; {<br>
                        "byyear"         =&gt;
        "-date/creators_name/title",<br>
                        "byyearoldest"   =&gt;
        "date/creators_name/title",<br>
                        "byname"         =&gt;
        "creators_name/-date/title",<br>
                        "bytitle"        =&gt;
        "title/creators_name/-date"<br>
                },<br>
                default_order =&gt; "byyear",<br>
                show_zero_results =&gt; 1,<br>
                staff =&gt; 1,<br>
        };<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Apr 3, 2017 at 10:44 AM, David
          R Newman <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:drn@ecs.soton.ac.uk" target="_blank">drn@ecs.soton.ac.uk</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <p>Hi Mitocariu Emilian,</p>
              <p>The way that the admin search for EPrints, (i.e. the
                one linked of "Search Items" on the admin page), changes
                somewhat between earlier and the latest versions of
                EPrints 3.3.  The easiest way for me or others to advise
                would be if you could post a copy of
                /usr/share/eprints3/lib/cfg.d/<a moz-do-not-send="true"
                  href="http://eprint_search_staff.pl" target="_blank"><wbr>eprint_search_staff.pl</a>.</p>
              <p>Regards</p>
              <span class="HOEnZb"><font color="#888888">
                  <p>David Newman<br>
                  </p>
                </font></span>
              <div>
                <div class="h5">
                  <p><br>
                  </p>
                  <br>
                  <div class="m_2071705667780399362moz-cite-prefix">On
                    03/04/2017 08:04, Mitocariu Emilian wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div>Hello,</div>
                        <div><br>
                        </div>
                        I'm trying to migrate the data from an old
                        eprints server (ubuntu 10.04, eprints 3.3.7) to
                        a new one (ubuntu 16.04, eprints 3.3.15). Maybe
                        worth mentioning i had some problems when trying
                        to install eprints and i used the steps from
                        here <a moz-do-not-send="true"
                          href="http://www.eprints.org/tech.php/22140/attachment/message.html"
                          target="_blank">http://www.eprints.org/tech.ph<wbr>p/22140/attachment/message.htm<wbr>l</a>
                        to successfully install it.
                        <div><br>
                        </div>
                        <div>I moved the repository to the new server,
                          but when i use the import script on the XML I
                          exported from the old server, i get this
                          error:<br>
                          <br>
                          <div>eprints@myserver:~/bin$ ./import library
                            --verbose --migration archive XML
                            library.xml</div>
                          <div>\C is deprecated in regex; marked by
                            &lt;-- HERE in m/(\C &lt;-- HERE )/ at
                            /usr/share/eprints3/bin/../per<wbr>l_lib/URI/Escape.pm
                            line 205.</div>
                          <div><br>
                          </div>
                          <div>------------------------------<wbr>------------------------------<wbr>------</div>
                          <div>---------------- EPrints System Error
                            ----------------------------</div>
                          <div>------------------------------<wbr>------------------------------<wbr>------</div>
                          <div>Error in configuration:</div>
                          <div>Can't use an undefined value as an ARRAY
                            reference at /usr/share/eprints3/lib/cfg.d/<a
                              moz-do-not-send="true"
                              href="http://eprint_search_staff.pl"
                              target="_blank"><wbr>eprint_search_staff.pl</a>
                            line 16.</div>
                          <div><br>
                          </div>
                          <div><br>
                          </div>
                          <div>------------------------------<wbr>------------------------------<wbr>------</div>
                          <div>EPrints System Error inducing stack dump</div>
                          <div> at /usr/share/eprints3/bin/../per<wbr>l_lib/EPrints.pm
                            line 147.</div>
                          <div><span class="m_2071705667780399362gmail-m_-8348297568998879873gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>EPrints::abort("EPrints")
                            called at /usr/share/eprints3/bin/../per<wbr>l_lib/EPrints/Config.pm
                            line 281</div>
                          <div><span class="m_2071705667780399362gmail-m_-8348297568998879873gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>EPrints::Config::load_reposito<wbr>ry_config_module("library")
                            called at /usr/share/eprints3/bin/../per<wbr>l_lib/EPrints/Repository.pm
                            line 510</div>
                          <div><span class="m_2071705667780399362gmail-m_-8348297568998879873gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>EPrints::Repository::load_conf<wbr>ig(EPrints::Repository=HASH(<wbr>0x8d06c0))
                            called at /usr/share/eprints3/bin/../per<wbr>l_lib/EPrints/Repository.pm
                            line 153</div>
                          <div><span class="m_2071705667780399362gmail-m_-8348297568998879873gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>EPrints::Repository::new("EPri<wbr>nts::Repository",
                            "library", "cgi", 0, "noise", 2) called at
                            /usr/share/eprints3/bin/../per<wbr>l_lib/EPrints.pm
                            line 555</div>
                          <div><span class="m_2071705667780399362gmail-m_-8348297568998879873gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>EPrints::repository(EPrints=HA<wbr>SH(0x8d0498),
                            "library", "noise", 2, "cgi", 0) called at
                            /usr/share/eprints3/bin/../per<wbr>l_lib/EPrints/BackCompatibilit<wbr><a
                              moz-do-not-send="true" href="http://y.pm">y.pm</a>
                            line 447</div>
                          <div><span class="m_2071705667780399362gmail-m_-8348297568998879873gmail-Apple-tab-span" style="white-space:pre-wrap">        </span>EPrints::Session::new("EPrints<wbr>::Session",
                            1, "library", 2) called at ./import line 208</div>
                        </div>
                        <div><br>
                        </div>
                        <div>I also tried the method on your wiki (<a
                            moz-do-not-send="true"
                            href="https://wiki.eprints.org/w/Moving_a_repository"
                            target="_blank">https://wiki.eprints.org/w/<wbr>Moving_a_repository</a>)
                          with the mysqldump but when i do
                          "./bin/epadmin upgrade library" i get the same
                          error.<br>
                        </div>
                        <div><br>
                        </div>
                        <div>If you have any idea what the problem might
                          be i would be very glad.</div>
                        <div>Thank you.</div>
                      </div>
                    </div>
                    <br>
                    <fieldset
                      class="m_2071705667780399362mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <span class="">
                  <pre>*** Options: <a moz-do-not-send="true" class="m_2071705667780399362moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a>
*** Archive: <a moz-do-not-send="true" class="m_2071705667780399362moz-txt-link-freetext" href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.<wbr>php/</a>
*** EPrints community wiki: <a moz-do-not-send="true" class="m_2071705667780399362moz-txt-link-freetext" href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a moz-do-not-send="true" class="m_2071705667780399362moz-txt-link-freetext" href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a>
</pre>
    </span></blockquote>
    

  </div>


*** Options: <a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/eprints-<wbr>tech</a>

*** Archive: <a moz-do-not-send="true" href="http://www.eprints.org/tech.php/" rel="noreferrer" target="_blank">http://www.eprints.org/tech.<wbr>php/</a>

*** EPrints community wiki: <a moz-do-not-send="true" href="http://wiki.eprints.org/" rel="noreferrer" target="_blank">http://wiki.eprints.org/</a>

*** EPrints developers Forum: <a moz-do-not-send="true" href="http://forum.eprints.org/" rel="noreferrer" target="_blank">http://forum.eprints.org/</a>


</blockquote></div>
</div>


<fieldset class="mimeAttachmentHeader"></fieldset>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>

</blockquote>
</body></html>