<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi Ellis,</p>
    <p>If you have a user who as a large number of EPrint records
      associated with them (maybe their account ID was used during a
      mass import), then when that user logs in, the first page they
      will be taken to lists their EPrint records, this can be quite
      slow with hundreds and certainly thousands of records.† This is
      often even slower if you are also using the MEPrints plugin, which
      tries to load various stats when it logs you in and takes you to
      your profile page.† Is it just when you login or navigating about
      as well, say editing 1 particular EPrint record?† The only things
      I can think that may cause all pages to be slow to load is either
      if there is something odd in the user record itself or that
      something that calls off to a remote service with the username and
      for some reason it has issues with that particular username.† For
      the former, I have never seen one user being a lot slower than all
      others, so I cannot suggest what to look for in the user record.†
      For the latter, this would have to be some bespoke feature added
      to your repository, as there is nothing like this that EPrints
      does by defaullt.<br>
    </p>
    <p>If an item is not in the live archive it will give a 404 error
      like I can see on the link you provided.† I assume you have
      probably checked this.† If not, check at
<a class="moz-txt-link-freetext" href="https://researcharchive.wintec.ac.nz/cgi/users/home?screen=EPrint%3A%3AView&amp;eprintid=3637">https://researcharchive.wintec.ac.nz/cgi/users/home?screen=EPrint%3A%3AView&amp;eprintid=3637</a>
      and look under the Details tab for the Status field.† By default
      this should show "Published" (or something similar if the phrase
      has been changed) if the item is in the live archive and therefore
      should not give a 404.† There may be other reasons for this not
      being present but it difficult to know what this might be.† One
      thing you could try, is going to the Action tab on the link I
      provided above and moving to review and then moving back to the
      repository, this may clear something that has got wrongly cached.</p>
    <p>For the EPScript error, abstract pages (i.e. the views being
      generated) are static and when the generate_views script is being
      running there is no $current_user.† I would advise removing any
      use of $current_user in citations (i.e. in this case
      cfg/citations/eprint/default.xml from your archive's directory).†
      $current_user is really only intended to be used in workflows
      (e.g. cfg/workflows/eprint/default.xml) where there will be being
      used by a logged in user.† This may also explain why you are
      getting a 404 for the record your reported, as the abstract page
      cannot be generated, due to this EPScript error.<br>
    </p>
    <p>Regards</p>
    <p>David Newman<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 31/01/2018 00:54, Eliseo Gatchalian
      wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|84fada45e9c336b982933c3ab39ef574u0U14H14eprints-tech-bounces|ecs.soton.ac.uk|MEXPR01MB1543247BB3A193B6F2AC1ACCCBFB0@MEXPR01MB1543.ausprd01.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:634333100;
        mso-list-type:hybrid;
        mso-list-template-ids:-763063376 -388625380 336134147 336134149 336134145 336134147 336134149 336134145 336134147 336134149;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:54.0pt;
        text-indent:-18.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:90.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:126.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:198.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:234.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:270.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:306.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:342.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l1
        {mso-list-id:1151140777;
        mso-list-type:hybrid;
        mso-list-template-ids:656200192 336134159 336134169 336134171 336134159 336134169 336134171 336134159 336134169 336134171;}
@list l1:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l1:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l1:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l2
        {mso-list-id:1400444886;
        mso-list-type:hybrid;
        mso-list-template-ids:-554520974 -1182735498 336134147 336134149 336134145 336134147 336134149 336134145 336134147 336134149;}
@list l2:level1
        {mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:54.0pt;
        text-indent:-18.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l2:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:90.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l2:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:126.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l2:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:162.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l2:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:198.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l2:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:234.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
@list l2:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:270.0pt;
        text-indent:-18.0pt;
        font-family:Symbol;}
@list l2:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:306.0pt;
        text-indent:-18.0pt;
        font-family:"Courier New";}
@list l2:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:342.0pt;
        text-indent:-18.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoNormal">Iím hoping if anyone can provide me
          guidance on how to fix the following issues:<o:p></o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l1 level1 lfo1"><!--[if !supportLists]--><span
            style="mso-list:Ignore">1.<span style="font:7.0pt
              &quot;Times New Roman&quot;">††††††
            </span></span><!--[endif]-->Very slow accessing EPrints when
          a particular user is logged in.† Other users are ok.<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:54.0pt;text-indent:-18.0pt;mso-list:l2
          level1 lfo3">
          <!--[if !supportLists]--><span style="mso-list:Ignore">-<span
              style="font:7.0pt &quot;Times New Roman&quot;">†††††††††
            </span></span><!--[endif]-->Iíve checked the following:†
          server space still 3.5GB left, network connections are ok
          since other user login are fast.† Iíve also restarted apache,
          but same issue with the users<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l1 level1 lfo1"><!--[if !supportLists]--><span
            style="mso-list:Ignore">2.<span style="font:7.0pt
              &quot;Times New Roman&quot;">††††††
            </span></span><!--[endif]-->Getting a 404 error for user in
          issue#1 when accessing some of his items.<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="margin-left:54.0pt;text-indent:-18.0pt;mso-list:l2
          level1 lfo3">
          <!--[if !supportLists]--><span style="mso-list:Ignore">-<span
              style="font:7.0pt &quot;Times New Roman&quot;">†††††††††
            </span></span><!--[endif]-->Iíve checked the eprint table
          and I can see the record for eprintid 3637 is there, but when
          we go to
          <a moz-do-not-send="true"
            href="http://researcharchive.wintec.ac.nz/3637/">http://researcharchive.wintec.ac.nz/3637/</a>,
          it is saying 404 File not Found.<o:p></o:p></p>
        <p class="MsoListParagraph"
          style="text-indent:-18.0pt;mso-list:l1 level1 lfo1"><!--[if !supportLists]--><span
            style="mso-list:Ignore">3.<span style="font:7.0pt
              &quot;Times New Roman&quot;">††††††
            </span></span><!--[endif]-->When generating views, Iím
          getting:<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">ďEPScript
          error:† Script in citation eprint/default: canít get a
          property {usertype from undefined value at character 14
          <o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">††$current_user{usertype}
          = Ďeditorí<o:p></o:p></p>
        <p class="MsoNormal" style="margin-left:36.0pt">†††††††††††††††††††††††††††††††
          ^ here at /opt/eprints3/bin/../perl_lib/EPrints/Script.pm line
          162.Ē<o:p></o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoNormal">Iím not sure if the above issues are all
          linked together or they are separate issues on their own.† Any
          help to fix the above issues is greatly appreciated.<o:p></o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoNormal">Thanks!<o:p></o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoNormal"><o:p>†</o:p></p>
        <p class="MsoNormal">Best regards,<o:p></o:p></p>
        <p class="MsoNormal">Ellis<o:p></o:p></p>
      </div>
      <hr>
      <div style="font-size:8pt; font-family: 'Calibri',sans-serif;
        color:#777777">
        <p>This electronic mail transmission is intended for the named
          recipients only. It may contain private and confidential
          information. If this has come to you in error you must take no
          action based upon it, nor must you copy it or show it to
          anyone; please telephone or email the sender at Wintec
          immediately and return the original email. We cannot accept
          any liability for any loss or damage sustained as a result of
          software viruses. It is your responsibility to carry out such
          virus checking as is necessary before opening any attachment
          which may be included with this message.</p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>
    <br>
  </body>
</html>